Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Apr 2013 20:00:57 +0200
From:      Fabian Wenk <fabian@wenks.ch>
To:        freebsd-stable@freebsd.org
Subject:   Re: [Solved] [UART] GPS 18-5Hz LVC and COM1 silence, OK on Linux though...
Message-ID:  <517EB559.3060200@wenks.ch>
In-Reply-To: <CAJ-Vmo=50vH0zQwq4fc_mo-57ong32QZS2Z2XtZP6T3EkkWPSg@mail.gmail.com>
References:  <CADWvR2gUqifxF4562%2BTdBea9h%2BSEk-=7fUk8%2B18B-31Y0rh=wA@mail.gmail.com> <517DB738.4060902@restecp.com> <CADWvR2jTF4wFjCf2MvKuQWq-gWXmsKwfx73gjTcdq7Hvk_0N_w@mail.gmail.com> <CADWvR2jUCu64Kh0jStQHj1Jhe59btSoYEMG5QKBanuz=Eaaciw@mail.gmail.com> <CADWvR2gQug_vvp6URn5_mi74GBAEph0nqWmRNgfeLn=cCqAj0g@mail.gmail.com> <517E9782.2050701@wenks.ch> <CAJ-Vmo=50vH0zQwq4fc_mo-57ong32QZS2Z2XtZP6T3EkkWPSg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@superman:~ # ls -l /dev/refclock-0
lrwxr-xr-x  1 root  wheel  5 Apr 29 17:05 /dev/refclock-0@ -> cuau1
root@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



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