How to configure a serial port?

The Chazman chaz@devastator.extern.ucsd.edu
Wed Aug 18 08:25:00 GMT 1999


> Hi,filks!How to configure the baud_rate=9600 of com2 on RedHat Linux 6.0?
> If use the command "setserial",how to set up its options?Thanks.

setserial does not set the baud rate; stty does.  Try:

stty 9600 < /dev/ttyS1

Read the stty man page.  I think you'll find it very useful for setting
up a serial port from the command line.

                          Carl Miller
                          chaz@devastator.extern.ucsd.edu

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list