Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sjf-control

macrumors newbie
Original poster
Feb 22, 2009
2
0
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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.