[ntp:questions] Problem with Z3801A ASII data
Philip Leonard
leolists at seidkr.com
Fri Jul 29 21:58:44 UTC 2005
I have a Z3801A that I can't seem to get the proper ASCII data stream
out of. I'm using a Sun Ultra 5 running FreeBSD 5.3 and ntp-4.2.0 which
has been patched for the 19200 7o1 serial settings the Z3801A wants.
When I start ntpd I get the following type of stuff in clockstats and,
of course, ntp will never sync to the Z3801A.
53580 43495.034 127.127.26.0 E-361> E-361>
53580 43495.050 127.127.26.0 E-361> E-361>
53580 43495.066 127.127.26.0 E-361> E-361>
53580 43495.077 127.127.26.0 E-361>
53580 43495.088 127.127.26.0 E-361> E-361>
53580 43495.100 127.127.26.0 E-361> E-361>
53580 43495.111 127.127.26.0 E-361> E-361>
53580 43495.124 127.127.26.0 E-361>
53580 43495.131 127.127.26.0 scpi >
53580 43495.138 127.127.26.0 E-361>
53580 43495.144 127.127.26.0 scpi >
53580 43495.156 127.127.26.0 E-361> scpi > sc
53580 43495.161 127.127.26.0 pi >
If I connect it to a Windows box it will talk to HP's SatStat program
just fine.
Here is the output from stty for the serial port:
speed 19200 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 -oxtabs -onocr -onlret
cflags: cread cs7 parenb parodd -hupcl clocal -cstopb -crtscts -dsrflow
-dtrflow -mdmbuf
cchars: discard = ^@; dsusp = ^@; eof = ^@; eol = ^@; eol2 = ^@;
erase = ^@; erase2 = ^@; intr = ^@; kill = ^@; lnext = ^@;
min = 0; quit = ^@; reprint = ^@; start = ^@; status = ^@;
stop = ^@; susp = ^@; time = 0; werase = ^@;
Any ideas?
thanks, Philip
More information about the questions
mailing list