gpsd-users
[Top][All Lists]
Advanced

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

[gpsd-users] Feeding chrony from GPSD


From: Yakov Shmulevich
Subject: [gpsd-users] Feeding chrony from GPSD
Date: Tue, 1 Apr 2014 11:37:28 +0300

Hi,

I am trying to use chronyd with gpsd for NTP services.
It works perfect then I use the follow definitions in chrony.conf:

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

So, in this case chronyd synchronized with PPS signal:
address@hidden ~]# /usr/local/bin/chronyc sources
210 Number of sources = 3
MS Name/IP address         Stratum Poll Reach LastRx Last sample
===============================================================================
#- GPS                           0   4   377     3    -73ms[  -73ms] +/-  101ms
#* PPS                           0   4   322    23    +67us[  +45ms] +/-   25us
^? mivzakim.net                  2   6    37    56  -2541us[  +69ms] +/-  248ms


But if, I try to use socket method by follow definitions in chrony.conf:

# set larger delay to allow the NMEA source to overlap with
# the other sources and avoid the falseticker status
refclock SHM 0 offset 0.183 delay 0.2 refid GPS
refclock SOCK /var/run/chrony.ttyUSB1.sock refid PPS

it not synchronized with PPS at all.

What I am doing wrong?
Should I add any definition of the socket path in gpsd running parameters?

Thanks,
Yakov


reply via email to

[Prev in Thread] Current Thread [Next in Thread]