> On Thu, 16 Dec 2004 12:07:10 +0530, vcarecrc <[EMAIL PROTECTED]> wrote:
> > I would like to change certain parameters of Serial port such as
> > baud rate 9600
> > parity n
> > stop bit 2
> > data length 7
> > dtr 1 ( i don't know what these parameters are)
> > rts 0
> > how to set these using stty or setserial command , there are lot of

You can check your current settings using
"stty -F /dev/ttyS0 " OR "stty -F /dev/ttyS0 -a"  in more readable format.

For setting the parameters use following commands :
"stty -F /dev/ttyS0 speed 9600"
-----this will set the baud rate.
"stty -F /dev/ttyS0 stop 2"

And so on ...

Regards
Vinayak
--
______________________________________________________________________
Pune GNU/Linux Users Group Mailing List:      ([email protected])
List Information:  http://plug.org.in/mailing-list/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.

Reply via email to