Re: [chrony-users] trying to get Chrony to work with gpsd/PPS GPS

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


On Thu, Sep 07, 2017 at 06:49:42PM -0400, Bryan Seitz wrote:
> # Garmin GPS 18 LVC
> server  127.127.20.0    mode 0 minpoll 4 maxpoll 4 prefer
> fudge   127.127.20.0    time2 0.600 flag1 1 flag2 0 flag3 1 refid PPS

flag3 enables the kernel PPS discipline, which uses a 1-second update
interval. If you wanted to have something similar with chronyd, you
would need to shorten the polling by adding "poll 0" to the refclock
directive. I think in most cases with a serial PPS input that is too
short, so I'd suggest to try "poll 2" first.

> refclock SHM 0 offset -0.6 delay 0.5 refid NEMA noselect
> refclock SHM 1 offset -0.6 precision 1e-9 lock NEMA refid PPS

The second "offset -0.6" should be removed. Unless a wrong edge of the
PPS signal is used, the offset is typically just a few microseconds.

-- 
Miroslav Lichvar

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