| Re: [chrony-users] Question about adding custom serial time source with PPS to chrony |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: Awais Muhammad <awaismumtaz302@xxxxxxxxx>
- Subject: Re: [chrony-users] Question about adding custom serial time source with PPS to chrony
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Thu, 27 Nov 2025 09:00:20 +0100
- Cc: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1764230427; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Vf0WI/sGpNA99utf+1naZgbpB3+DW9rNdzAruGy0Szc=; b=V7NZN5jrAhVa0wtUSCLYL3RlikM36c27LeIc8fVy2pLsqrN+6aBRBXOp25+lcr1yRNYafK wBxdTVX+2NnHpcMAJOW8IABHyyLArHTtdmIjAcD7e0H3yx/tTVRjMkhh2992b5lFxMsLwO UQJm31zUWfTaRRp+Xb7s7R1fMRQmv/g=
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 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.