[chrony-users] Issue with RTC and PPS

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


Hello, 

I am currently using chrony (v4.0.8) on a RPi4. Due to my application, I need to use only GPS, PPS and RTC for time keeping. The RTC is necessary to preserve the time when GPS coverage drops or at boot when the GPS lock is not immediate.

I have this current chrony.conf directives (other that standard ones) 

refclock PPS /dev/pps0 refid PPS trust lock GPS
refclock SHM 0 refid GPS precision 1e-1 offset 0.3 delay 0.2 noselect
rtcsync
rtconutc

where  the first two are defining my sources and the second should take care of the RTC. I would like to use the rtcfile directive to have chrony to take care of everything but it seems that Rasbian Kernel is built without support for RTC_UEI_ON.

Now I have the following problems, when I shutdown/reboot the RPi:

  1. it seems that chrony never selects the PPS source, and given that GPS is marked as noselect, I don't have any GPS timing
  2. any RTC support is outside chrony, but as said I would like to track it with chrony 
I specify that chrony is run as daemon at startup with the -s flag

Any ideas? 



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