Re: Debugging PPS messages in chrony

Rob Janssen <chrony-users-Cohe+2zZ/ftmR6Xm/[email protected]> Mon, 8 Jul 2024 18:06:26 +0200
Newsgroups gmane.comp.time.chrony.user
Organization PE1CHL
Message-ID <[email protected]>
Morten

You cannot have only a PPS source, because that does not give you absolute time information, only modulo-1-second information.
So when you use PPS you always need to add another source.
That can be a network source (NTP) with server or pool, or you can use a serial port (NMEA) to the GPS device.
When you have internet or the PPS source provides NTP, it is preferable to use that.
It is also possible to use SHM for that, but you need another program that puts the time info into SHM.
Furthermore, when you start things using systemd it is tricky because systemd provides no sequence of starting
daemons, and you have to start the program for SHM and the pps (ldattach) BEFORE starting chrony!

Rob

On 2024-07-08 10:07, Morten Nissov wrote:
> Hi all,
>
> I am looking at setting up a relatively custom thing for timekeeping, which attempts to function as a GPS (in terms of PPS + unix stamp) using an RTC and microcontroller.
>

-- 
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]