Hi Winfried,
Actually on OSX the device names are different for each company that makes the USB serial devices, so there is no (good) way to index them.
Actually I suggest that comport be altered so that you can either tell it [comport 0 9600] or you can tell it [comport /dev/USA19H2b2P1.1 9600]
This way would be much cleaner for weird serial device names. (for example a bluetooth serial port)
I guess for windows it would just throw an error if it gets a /dev/* argument.
.b.
Winfried Ritsch wrote:
Hello,
ln -s /dev/tty.USA19H2b2P1.1 /dev/ttyS0 (i just did "ls /dev/tty.*" to find the devicename)
for what i'm doing it's running as well as on linux! the comport source should definitely be updated to include this. although i still have all the source files from martin back then doing this is beyond my expertise. i'd be more than happy to add a sub-patch to the comport help for osx users though
Thanx for the test.
Infact you can set the devicename in PD with the
"devicename /dev/tty.USA19H2b2P1.1" as message within PD.
Since this is a hack the first try to open a comport will fail on load and report an error, just ignore.
If you can send the makefile extnension, I will check it in.
it is welcome, If someone wants to clean the the external so it can figure out the the devicenames (eg. for os-x) at startup and index them, this would be great.
mfg winfried ritsch
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list