Need to Manually set baud rate for USB-Serial

Discussion in 'macOS' started by sjf-control, Feb 22, 2009.

  1. sjf-control macrumors newbie

    Feb 22, 2009
    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.

  2. sjf-control thread starter macrumors newbie

    Feb 22, 2009

Share This Page