On Thu, Nov 27, 2025 at 07:16:22AM +0100, Awais Muhammad wrote: > I’m trying to understand whether a new refclock driver (similar to SHM, > SOCK, or NMEA) would be the right approach, and what the minimal set of > functions/structures would be for integrating such a driver into chrony’s > refclock framework.
Adding a custom HW-specific driver to chrony is a possibility, but I'd not recommend it or accept it in the repository. To see some examples how to work with serial devices and parse messages, you can check the gpsd code or the ntpd drivers. -- Miroslav Lichvar -- To unsubscribe email [email protected] with "unsubscribe" in the subject. For help email [email protected] with "help" in the subject. Trouble? Email [email protected].
