Re: SatPulse: server-oriented alternative to gpsd for chrony

Miroslav Lichvar <[email protected]> Thu, 7 May 2026 16:27:18 +0200
Newsgroups gmane.comp.time.chrony.user
Message-ID <afyhRow17lPHjdyt@localhost>
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-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org 
with "unsubscribe" in the subject.
For help email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org 
with "help" in the subject.
Trouble?  Email [email protected]