[UART] GPS 18-5Hz LVC and COM1 silence, OK on Linux though...

Michael Butler imb at protected-networks.net
Sun Apr 28 23:52:38 UTC 2013


On 04/28/13 13:48, Igor Mozolevsky wrote:

> On Linux, I get:

 [ .. ]

Just a thought - Linux is not using flow-control ..

> $ sudo stty -F /dev/ttyS0 -a
> speed 4800 baud; rows 0; columns 0; line = 0;
> intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
> eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
> werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
> -parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts
                                          ^^^^^^

BSD does ..

> With FreeBSD, the story is different:
> # stty -f /dev/cuau0.init -a
> speed 4800 baud; 0 rows; 0 columns;
> lflags: -icanon -isig -iexten -echo -echoe -echok echoke -echonl echoctl
> 	-echoprt -altwerase -noflsh -tostop -flusho -pendin -nokerninfo
> 	-extproc
> iflags: -istrip -icrnl -inlcr -igncr -ixon -ixoff ixany -imaxbel ignbrk
> 	-brkint -inpck -ignpar -parmrk
> oflags: -opost onlcr -ocrnl tab0 -onocr -onlret
> cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -dsrflow
                                          ^^^^^^^

	imb



More information about the freebsd-stable mailing list