Re: [chrony-users] Debugging PPS messages in chrony |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Debugging PPS messages in chrony
- From: Rob Janssen <chrony-users@xxxxxxxxx>
- Date: Mon, 8 Jul 2024 18:06:26 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=pe1chl.nl; s=pe1chl; t=1720454786; bh=iEfl63p10O6ng83atadxI4o+8dmF/ec/GZfkZc53ZXA=; h=Date:Subject:To:References:From:In-Reply-To:From; b=DHj+mBtPeBTTnXFIBiCt5YEYEWhB4SQ7U07bVLwRlAujUrAut+ZoDxbs/5xQ2Ork1 wJxXY7C8n1DNmvl3GWdGVA+w7/QXh4CNKAftUrCjyNbqncF0Rq+vBUtoVGyC0/N23C aQQkfh3tG2uP78ODjJ1gY5Q9YwcbBKNMjyuRpxTRXZ9oxMjMluiucPtYRwY411EHVA XWQ6Y+HGBu2WpK4RcTie7F9t7BTEVSXpJ60W5wJgmKxWwWplccBqBmkI3704JZLPiz /z1ErGY1I0vLOAGkrVNb0aavpkXxX42NYmHFc1vhXvjdXmOrCPAHP+GhXAeCy1svxf aR1626S+AoFew==
- Organization: PE1CHL
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@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.