This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: How to configure a serial port?



> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]