Port-sparc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Sun IPX and PPS via serial port



Additional information:

The wiring appears fine, I do have a signal right at the DCD pin entering the IPX.

I compiled the latest release version of ntpd 4.2.6p3 and configured it for GPS and PPS refclocks again plus set the flags to use the kernel PPS code.

When the NMEA data settled down and reduced the offset, ntpd attempted to enable PPS but quickly output this message in the debug log:

event at 323 0.0.0.0 045d 0d kern PPS no signal.

Here is the output of ntpq -p after a few hours have passed. The GPS refclock was set as the preferred clock but it has since been marked as a false ticker and the system has aligned with the external servers.

     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*72.14.179.211   209.51.161.238   2 u   24   64  377   60.003    6.126   0.174
+173.230.144.109 207.171.7.152    3 u   16   64  377   35.539    4.813   0.136
x127.127.20.1    .GPS.            0 l    1   16  377    0.000  -264.14   4.023
 127.127.22.1    .PPS.            0 l    -   16    0    0.000    0.000   0.000




On 8/18/2011 21:17, AGC wrote:
Hi everyone,

I've searched the archives but haven't seen my question.

I'm trying to use my IPX as a time keeper for my network using ntpd fed
with a GPS. I have a commercial GPS receiver with PPS output attached to
/dev/ttyb (PPS signal on DCD) and symlinks set up for /dev/gps1 and
/dev/pps1. I've recompiled the kernel for -current to include PPS_SYNC
and configured ntpd as:

#enable GPS refclock 20 and accept only $GPRMC
server 127.127.20.1 minpoll 4 maxpoll 4 mode 1

#establish offset and enable PPS
fudge 127.127.20.1 time1 0.270 flag1 1 flag3 0 refid GPS


After setting all that up ntpd does find the gps and reads in the NMEA
sentence properly and syncs to the clock. However, it never shows that
it has discovered and moved to PPS.

I'm going to triple check the wiring after having double checked it but
am I missing something else?

As a test, I had also configured the ntpd PPS refclock 22 but it never
saw anything:

server 127.127.22.1
fudge 127.127.22.1 time1 0.600 flag3 1 refid PPS

I also compiled the latest version of gpsd and tried to run it but it
would only read the serial data and made no indication of finding the
PPS signal.

I'd be very grateful for any information you may have.

Thanks




Home | Main Index | Thread Index | Old Index