[PD-dev] [comport] port numbers on Mac OS X
Winfried Ritsch
ritsch at iem.at
Mon Mar 6 09:59:13 CET 2006
Hallo,
yes I think this is a good solution.
Has someone tried with more than one usb serial if the numbering can be
extend ?
anyway please commit.
mfg winfried
> I figured out a scheme to make [comport] port numbers (i.e. [comport
> 1]) work on Mac OS X. I want to run it by you to see if you think
> it'll work in [comport], and ask whether I should send you a patch or
> just commit it to CVS.
>
> Mac OS X labels serial port devices like /dev/tty.*, for example:
>
> /dev/tty.modem (built-in modem on my laptop)
> /dev/tty.serial (serial port on an Xserve server)
> /dev/tty.usbserial-191 (my USBserial adapter)
>
> So basically, it could number these devices based on alphabetical
> order of the /dev/tty.* devices. Like this:
>
> [comport 1] = /dev/tty.modem
> [comport 2] = /dev/tty.serial
> [comport 3] = /dev/tty.usbserial-191
>
> Or on my laptop:
>
> [comport 1] = /dev/tty.modem
> [comport 2] = /dev/tty.usbserial-191
>
> or on the XServe (with one built-in serial port):
>
> [comport 1] = /dev/tty.serial
>
> .hc
>
> ________________________________________________________________________
> ____
>
> "[W]e have invented the technology to eliminate scarcity, but we are
> deliberately throwing it away to benefit those who profit from
> scarcity."
> -John Gilmore
>
>
>
> _______________________________________________
> PD-dev mailing list
> PD-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev
More information about the Pd-dev
mailing list