Re: [chrony-users] getting chrony to work with gpsd on raspbian jessie with gps hat

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


#####chrony.conf
driftfile /var/lib/chrony/chrony.drift

log tracking measurements statistics
logdir /var/log/chrony

# Stop bad estimates upsetting machine clock.
maxupdateskew 100.0

dumponexit
dumpdir /var/lib/chrony

local stratum 8
manual
smoothtime 400 0.01
makestep .1 -1

allow
logchange 0.5
rtcsync

# set larger delay to allow the NMEA source to overlap with
# the other sources and avoid the falseticker status
refclock SHM 0 refid GPS precision 1e-1 offset 0.9999 delay 0.2
refclock SHM 1 refid PPS precision 1e-9

#####chronyc sources
210 Number of sources = 2
MS Name/IP address         Stratum Poll Reach LastRx Last sample               
===============================================================================
#* GPS                           0   4   377    17  -6540us[  -11ms] +/-  200ms
#? PPS                           0   4     0     -     +0ns[   +0ns] +/-    0ns

#####chronyc tracking
Reference ID    : 47505300 (GPS)
Stratum         : 1
Ref time (UTC)  : Fri Feb 02 22:19:35 2018
System time     : 0.003947824 seconds slow of NTP time
Last offset     : -0.004957667 seconds
RMS offset      : 0.010333695 seconds
Frequency       : 19.195 ppm slow
Residual freq   : -1.445 ppm
Skew            : 25.232 ppm
Root delay      : 0.200000003 seconds
Root dispersion : 0.100304745 seconds
Update interval : 16.0 seconds
Leap status     : Normal

I made a change to my /boot/config.txt
I had to add a line that says
    dtoverlay=pps-gpio,gpio=4
This points the PPS server to pin 4 of the GPS HAT.

hmmm, maybe the thing is working... but should the PPS show an asterisk "*"?

-- 
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/