I am trying to write a ruby script that automatically processes/controls a device thru a USB/Serial adapter. (Keyspan in this case, but I have others as well.) My problem is that I need to change the baud rate from the default 9600 to 115200.
In other systems (FreeBSD) I would execute "stty -f /dev/cu.KeySerial1 115200". But this doesn't seem to actually change the baud rate in Leopard. I know the hardware is working, since "screen /dev/cu.KeySerial1 115200" works fine.
I've search the web, but have come up empty. Any help would be appreciated.
Thanks,
sjf
In other systems (FreeBSD) I would execute "stty -f /dev/cu.KeySerial1 115200". But this doesn't seem to actually change the baud rate in Leopard. I know the hardware is working, since "screen /dev/cu.KeySerial1 115200" works fine.
I've search the web, but have come up empty. Any help would be appreciated.
Thanks,
sjf