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

Fabian Wenk fabian at wenks.ch
Mon Apr 29 18:01:03 UTC 2013


Hello Adrian

On 29.04.2013 19:51, Adrian Chadd wrote:
> Hm, can you double check the port configuration? is it somehow getting
> the number of stop bits wrong or something? What about flow control?

I did not change anything, I even did not set anything special 
back with FreeBSD 7.4 during the setup of ntpd for the DCF77 
mouseCLOCK.

Here the settings of the serial (sorry for the line wrapping):

root at superman:~ # stty -a -f /dev/refclock-0
speed 50 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
	-dtrflow -mdmbuf
cchars: discard = <undef>; dsusp = <undef>; eof = <undef>; eol = 
<undef>;
	eol2 = <undef>; erase = <undef>; erase2 = <undef>;
	intr = <undef>; kill = <undef>; lnext = <undef>; min = 1;
	quit = <undef>; reprint = <undef>; start = <undef>;
	status = <undef>; stop = <undef>; susp = <undef>; time = 0;
	werase = <undef>;
root at superman:~ # ls -l /dev/refclock-0
lrwxr-xr-x  1 root  wheel  5 Apr 29 17:05 /dev/refclock-0@ -> cuau1
root at superman:~ #


> Are there overflow/underflow counters with the uart driver? I wonder
> if you're hitting issues there.

Is there anything I can do to debug?


PS: No need to use "reply all", reply only to the list is 
perfect, as I do filter e-mails based on the "List-Id" header line.


bye
Fabian


More information about the freebsd-stable mailing list