Date: Sun, 20 Jul 2003 17:52:49 -0700 From: Ryan Merrick <sandshrimp@comcast.net> To: Troy Settle <troy@psknet.com> Cc: freebsd-questions@freebsd.org Subject: Re: Listening to a serial port Message-ID: <3F1B3961.70801@comcast.net> In-Reply-To: <000901c34f03$de0a9ec0$0100a8c0@tws> References: <000901c34f03$de0a9ec0$0100a8c0@tws>
next in thread | previous in thread | raw e-mail | index | archive | help
Troy Settle wrote: > All, > > How can I configure the serial port to listen at 1200 baud, 8N2, > XON/XOFF? > > I try using stty to set the port speed, but it doesn't take. I also > don't see how to set the stop bits. > > Any help is appreciated. > > -- > Troy Settle > Pulaski Networks > http://www.psknet.com > 540.994.4254 ~ 866.477.5638 > Pulaski Chamber 2002 Small Business Of The Year > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Look and edit the #/etc/gettytab . stty is more for altering the port while running and seeing all the configurations of the serial port. Another testing command for the terminal is #/usr/bin/tset . Using stty to change the stopbits would be: #stty -f /dev/<device> cstopb . for two stopbits. #stty -f /dev/<device> -cstopb . for one stopbits. Ryan Merrick
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F1B3961.70801>