Re: [chrony-users] Setting up Chrony with PPS

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


Tom,


refclock SHM 0 refid GPS precision 1e-1 offset 0.9999 delay 0.2 noselect
refclock SOCK /var/run/chrony.ttyAMA0.sock refid PPS lock GPS


I made the above changes, restarted chrony, waited 10 minutes and:

pi@gps ~/SystemFiles $ chronyc sources
210 Number of sources = 6
MS Name/IP address           Stratum Poll LastRx Last sample
============================================================================
^~ 1.time.dbsinet.com            2    6     25  +2169ms[+2169ms] +/-80ms
^~ nist.netservicesgroup.com     1    6      7  +2168ms[+2168ms] +/-50ms
^~ pacific.latt.net              3    6      5  +2169ms[+2169ms] +/-77ms
^~ clock.trit.net                2    6      3  +2163ms[+2163ms] +/-28ms
#? GPS                           0    4    10y     +0ns[   +0ns] +/- 0ns
#? PPS                           0    4    10y     +0ns[   +0ns] +/- 0ns

This did fix PPS in that it now appears as 'PPS' and not 'PP'.

I'm beginning to think that the reference to chrony.ttyAMA0.sock may not work for three reasons: isn't that serial access and I need GPIO?; LastRx indicates no connection; and this looks like it may be messing up gpsd as it uses ttyAMA0 as a source.

Deven


--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject. For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/