Re: [chrony-users] SatPulse: server-oriented alternative to gpsd for chrony

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


On Fri, Apr 24, 2026 at 10:17:15AM +0700, James Clark wrote:
> I created an issue to track remaining work:
> https://github.com/jclark/satpulse/issues/256

In case you have some code ready for testing, the multi-clock MR [1]
now has a "clock" option in the refclock directive to specify the
target clock (by default it's the main system clock).

For a direct synchronization of the PHC on eth0 using a SOCK refclock
chronyd can be configured like this:

clock PHC:eth0 main
refclock SOCK /var/run/refclock.sock clock PHC:eth0 poll 0

It seems to be working nicely with ptp4l as a SOCK source (clock_servo
set to refclock_sock). If you remove the first line, it should
synchronize the system clock with the PHC left running free. This
could be an interesting alternative to phc2sys. 

[1] https://gitlab.com/chrony/chrony/-/merge_requests/33

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