Re: [chrony-users] Chrony gets out of sync regularly |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Chrony gets out of sync regularly
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Wed, 2 Mar 2022 10:34:30 +0100
- Authentication-results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=mlichvar@xxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1646213674; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=3hGNyHwg9RAQxU4lPJ276mYbxXqQtgb1f/Fh02sTl0c=; b=Ea+hyJuok/tTMkDqfPxXlBDeeeD+3z0C6YIU0/vn8ApB+P+YwTeIp7NDEwUrURtaUvSpTZ bOczFKS66biHJ9LdG+wU9YcDUz8nBLjUG+HdbmNuYjfnPt+GQWdLUb+evNFVkDffDHH5qT QxQacA5K2OHCIi/ItlzCdj3U+ZNvQ8U=
On Tue, Mar 01, 2022 at 03:09:27PM -0600, Steven Sommars wrote:
> I understand the jumps to be gpsd-related. I see identical behavior on
> one of my RPi4+ublox GPS units.
> NMEA sentence timing remains consistent. As an optimization some gpsd
> versions move the GPS into ublox binary mode for the serial data stream.
> The ublox serial binary mode timing is not consistent. The gpsd folks
> apparently believe that the arrival time of serial data is untrustworthy
> and should not be used.
Can you try the following command and compare the output when the
offset jumps?
# gpspipe -T '%s' --usec -r | sed 's|,.*||'
For example, with gpsd 3.23.1 and a ublox unit I have here I get:
1646208470.067774: $GPZDA
1646208470.067792: $GPGGA
1646208470.067806: $GPRMC
1646208470.067811: $GPGSA
1646208470.067814: $GPGBS
1646208470.082703: $GPGSV
1646208470.082721: $GPGSV
1646208470.082726: $GPGSV
The timing of the messages in my case is stable to about 20
milliseconds. In the "super-raw" (gpspipe -R) output I can see it's
using the binary protocol.
--
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.