Setting the baud rate on a USB/serial adapter?
Hi again! Long time no post...
I need to hook my PowerBook G4 up to a serial device. For hardware, I'm using a Dynex USB/Serial adapter to connect to my RS-232 serial device; I've installed the driver (actually a Prolific Technology driver -- I guess Dynex uses their stuff), apparently successfully -- it claimed success, and the USB/Serial adapter now shows up as /dev/tty.usbserial. I'm using screen(1) from a Terminal window to talk to the adapter -- as in, 'screen /dev/tty.usbserial'.
When I power up my serial device, I do indeed get something in the Terminal window -- but it looks a whole lot like the kind of serial garbage one gets when using an incorrect baud rate. Using 'stty -g -f /dev/tty.usbserial', I see that the adapter is talking at 9600 baud; my serial device talks at 115200 baud. 'stty -f /dev/tty.usbserial 115200' (and any other documented variant of stty that should set the baud rate) has no effect.
Is this a limitation of the Prolific driver? Or is there some hidden way to change the baud rate the adapter uses to talk to the serial device?
I need to hook my PowerBook G4 up to a serial device. For hardware, I'm using a Dynex USB/Serial adapter to connect to my RS-232 serial device; I've installed the driver (actually a Prolific Technology driver -- I guess Dynex uses their stuff), apparently successfully -- it claimed success, and the USB/Serial adapter now shows up as /dev/tty.usbserial. I'm using screen(1) from a Terminal window to talk to the adapter -- as in, 'screen /dev/tty.usbserial'.
When I power up my serial device, I do indeed get something in the Terminal window -- but it looks a whole lot like the kind of serial garbage one gets when using an incorrect baud rate. Using 'stty -g -f /dev/tty.usbserial', I see that the adapter is talking at 9600 baud; my serial device talks at 115200 baud. 'stty -f /dev/tty.usbserial 115200' (and any other documented variant of stty that should set the baud rate) has no effect.
Is this a limitation of the Prolific driver? Or is there some hidden way to change the baud rate the adapter uses to talk to the serial device?
Powerbook G4 1GHz