Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Apr 2013 19:52:14 -0400
From:      Michael Butler <imb@protected-networks.net>
To:        Igor Mozolevsky <igor@hybrid-lab.co.uk>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: [UART] GPS 18-5Hz LVC and COM1 silence, OK on Linux though...
Message-ID:  <517DB62E.5010007@protected-networks.net>
In-Reply-To: <CADWvR2gUqifxF4562%2BTdBea9h%2BSEk-=7fUk8%2B18B-31Y0rh=wA@mail.gmail.com>
References:  <CADWvR2gUqifxF4562%2BTdBea9h%2BSEk-=7fUk8%2B18B-31Y0rh=wA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?517DB62E.5010007>