Re: [chrony-users] Using radio time signal for syncronization |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Using radio time signal for syncronization
- From: Sviatoslav Feshchenko <sviatoslav.feshchenko@xxxxxxxxx>
- Date: Tue, 07 Jan 2025 14:49:52 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1736261397; x=1736520597; bh=PlilDlF2YGI1GClA1zUZbJsAum/+Zkv6OH/EhD9KeyU=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=I4b4e69iIveGStJ+ZehW2L78Zcwzl2CmHXF21SVThLo7dQaH3X8FFjMbnPH7AGJyl plF/Y9Zm1KHmQ1jw9Z+85+aWogZzYr6VvM3JoqMKNYIlNmrbxJOWuRkNY63SyL1q1V BsdBiANZ3xqhvbMG0ssW3CyRNeAeOJ3S7EEf1thmhO8ok/weyeMraSvP5nSXyoSX0G b+L7FnHI042+QmneHTTC+sLvzYUrs2unmXUmQqN2PTttnB/P+tHCDSOKRxWnNZkWFy qsTc7cvcberJ894QylQ016Uc9w3kvi4LYJUw/1JZJEmB1MOSDo9iSQEeZ5IptO7P62 nEjUXmZ8q/cJg==
- Feedback-id: 45472054:user:proton
Thank you Miroslav (and Gerd) for your responses. Unfortunately we don't have DCF77 in North America, so that's not an option.
I might take Miroslav's suggestion and port the ntpd audio code. This would be a hobby project, so I am not looking for the easiest porting solution. I would also want the code to last and be relevant for the longest amount of time possible, so I would probably write directly for ALSA rather than pipewire, to minimize the risk of obsolescence. I wouldn't use the SOCK wrapper ntp-refclock in this case either, and instead write a standalone application (somewhat along the lines of gpsd), which would provide the SOCK connection. What are your thoughts on this approach? If I am ever successful and it works well, would Miroslav be willing to include a blurb about the existence of this application in chrony documentation for chrony.conf SOCK driver, which currently only mentions gpsd as one application that supports the SOCK protocol?
Many thanks!
Sviatoslav
On Tuesday, January 7th, 2025 at 4:33 AM, Miroslav Lichvar <mlichvar@xxxxxxxxxxx> wrote:
> On Sun, Jan 05, 2025 at 01:22:08AM +0000, Sviatoslav Feshchenko wrote:
>
> > Is there either a software implementation that would allow chrony to synchronize to these time signals, or is there a device that can be purchased or built with certain chips, that would produce 1PPS output and NMEA sentences for example that can then be interpreted by GPSD and chrony?
>
>
> I'm not aware of any. We have DCF77 here, which is supported by the
> ntpd parse driver reading the signal from a serial port.
>
> I guess the easiest solution would be to port the ntpd audio code to alsa or
> pipewire and then use the SOCK wrapper ntp-refclock to feed chrony.
>
> --
> 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.
--
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.