set baud rate of usbserial

1 reply [Last post]
iibm
Offline
Joined: 29 Jun 2011

I'm actually using official livebox firmware, and installed the usbserial/pl2303 modules with success

my question is : is it possible to change serial port speed ?

> get speed

# stty -F /tmp/ttyUSB0 speed

9600

> set speed to 19200

# stty -F /tmp/ttyUSB0 19200

> get speed

# stty -F /tmp/ttyUSB0 speed

9600

disapointing ...!

can anybody test on the hah firmware ??

brett
Offline
Providence, United States
Joined: 9 Jan 2010
Its possible

I do it C without any problems :)

http://www.dbzoo.com/livebox/xap_serial this is useful for arbitary serial comms for simple communication.

Also microcom can talk at various baud rates

# microcom -s 19200 /dev/ttyUSB0

Yup not sure about stty I never use it, as its not the "done" thing.

Brett

Hardware Info