I've been working on this for a number of days and haven't gotten my
jitter down to < 1 ms. I have a Garmin GPS 18 LVC attached to my
Ubuntu 11.10 mini PC (w/ Atom processor). From the logs I appear to be
getting PPS assert and clears. The clock is syncing with the GPS, just
not using the PPS. I compiled the 3.2.8 kernel checking off the PPS
modules under drivers. I didn't compile ntp because the docs say my
version is new enough to have LinuxPPS support. I've tried several
variations for the ntp.conf file. They all do about the same. Any help
would be appreciated.<br>
<br>Thanks,<br><br>Nathan<br><br><br>@nano /etc/ntp.conf<br>....<br>server 127.127.20.0 prefer minpoll 4<br>fudge 127.127.20.0 flag1 1 flag3 0 flag2 0 time1 0.0<br>....<br><br><br>...<br>Feb 28 16:31:54 jack kernel: <a href="tel:%5B%202069.872985" value="+12069872985" target="_blank">[ 2069.872985</a>] pps pps0: PPS event at 1330446714.169615534<br>
Feb 28 16:31:54 jack kernel: <a href="tel:%5B%202069.872992" value="+12069872992" target="_blank">[ 2069.872992</a>] pps pps0: capture clear seq #183<br>Feb 28 16:31:54 jack kernel: <a href="tel:%5B%202069.872998" value="+12069872998" target="_blank">[ 2069.872998</a>] pps pps0: PPS clear at 442468<br>
Feb 28 16:31:54 jack kernel: [ 2070.672979] pps pps0: PPS event at 1330446714.969609831<br>
Feb 28 16:31:54 jack kernel: [ 2070.672986] pps pps0: capture assert seq #183<br>Feb 28 16:31:54 jack kernel: [ 2070.672992] pps pps0: PPS assert at 442668<br>...<br><br><br>@ntpq -c rv -p<br>associd=0 status=0415 leap_none, sync_uhf_radio, 1 event, clock_sync,<br>
version="ntpd 4.2.6p2@1.2194 Fri Sep 2 18:37:15 UTC 2011 (1)",<br>processor="i686", system="Linux/3.2.8-stratum", leap=00, stratum=1,<br>precision=-20, rootdelay=0.000, rootdisp=102.484, refid=GPS,<br>
reftime=d2f96179.d34aa493 Thu, Mar 1 2012 2:46:17.825,<br>clock=d2f9617b.cac9daba Thu, Mar 1 2012 2:46:19.792, peer=19433, tc=4,<br>mintc=3, offset=23.324, frequency=1.726, sys_jitter=32.444,<br>clk_jitter=19.162, clk_wander=5.314<br>
remote refid st t when poll reach delay offset jitter<br>==============================<br>================================================<br>*GPS_NMEA(0) .GPS. 0 l 2 16 377 0.000 23.324 32.444<br>
<br><br>@/dev ls -l *ps*<br>lrwxrwxrwx 1 root root 10 2012-03-01 00:57 gps0 -> /dev/ttyS0<br>lrwxrwxrwx 1 root root 9 2012-03-01 01:58 gpspps0 -> /dev/pps0<br>crwxrwxrwx 1 root dialout 251, 0 2012-03-01 00:57 pps0<br>
<br><br>@ntpdc -c kern<br>pll offset: 0.010596 s<br>pll frequency: -0.125 ppm<br>maximum error: 0.073324 s<br>estimated error: 0.025693 s<br>status: 0001 pll<br>pll time constant: 4<br>
precision: 1e-06 s<br>frequency tolerance: 500 ppm