Re: [chrony-users] Using radio time signal for syncronization |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: "chrony-users@xxxxxxxxxxxxxxxxxxxx" <chrony-users@xxxxxxxxxxxxxxxxxxxx>
- Subject: Re: [chrony-users] Using radio time signal for syncronization
- From: Sviatoslav Feshchenko <sviatoslav.feshchenko@xxxxxxxxx>
- Date: Wed, 08 Jan 2025 13:07:41 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1736341665; x=1736600865; bh=sMmH561nLpvLBBXd6ZyWBH6VDJUfwXPdK+L2mg6L0xg=; 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=iOkehPSBZNWxtvs11hRGwAcNUN/XZXmWE1CIUwbU1uTu+bPGozfsVWE9Pv2HIVdL2 6G4o+UKSs/NgbK3BHls5lyCsy59xdT3jaZ60YwVNAcvCtDt8Gr7S1cgnn2wY4znZre ysM5YAq4tpiDzA+agGQkzKDoZUrVLbQRRfzqMNjfUPSjF+UgMPEeXvJBkJnnGbrk1p 8f02odjFSoejKw5B21ZxJRPimzc8zZyy6/YpDBlpO+AiA04aKZKxI5GcXNtrQDGSp6 DVfY4P5gd9y6G5p3i6yqAzTjOO+Uh3YUgZ7tl9msE0DQ93CyEoScJBmAqt82kEvdKe jYN22P5w0gkcg==
- Feedback-id: 45472054:user:proton
Thank you Miroslav. I haven’t tried the alsa-oss package yet. Admittedly I much prefer using Chrony over ntpd :)
I will let you know if and when I have a good application. It may take a long while!
Sviatoslav
On Wed, Jan 8, 2025 at 03:21, Miroslav Lichvar <[mlichvar@xxxxxxxxxx](mailto:On Wed, Jan 8, 2025 at 03:21, Miroslav Lichvar <<a href=)> wrote:
> On Tue, Jan 07, 2025 at 02:49:52PM +0000, Sviatoslav Feshchenko wrote:
>> 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?
>
> That sounds like a lot of work, but of course it's your time :). I'd
> just submit a patch adding support for alsa to the ntp project.
> Looking at the ./libntp/audio.c file, it shouldn't be that difficult.
>
> alsa provides an alsa-oss package providing some OSS compatibility.
> You could start ntpd/ntp-refclock with the aoss utility. Have you
> tried that?
>
>> 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?
>
> I'd certainly add it to the "Useful links" page on the chrony website.
>
> --
> 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.