[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gpsd losing connection to ublox

From: Gary E. Miller
Subject: Re: gpsd losing connection to ublox
Date: Thu, 11 Nov 2021 12:44:02 -0800

Yo Niall!

On Wed, 10 Nov 2021 21:04:55 -0800
Niall Parker <> wrote:

> On 2021-11-10 2:07 p.m., Gary E. Miller wrote:
> > Can you be more specific on "latest"?  Latest is:
> >
> > # gpsd -V
> > gpsd: 3.23.2~dev (revision release-3.23.1-122-g3d860d8d1)  
> I didn't recognize gpsd was so active !

Sctually, been a slow month.

> ... must pull more often, now 
> trying release-3.23.1-124-g17aa9ebce

Whatever works for you, but for bug reporting best to know the bug
not already fixed.

> > gpsmon is not a tool to debug NTP.  What does ntpshmmon show?  

It shows the output from gpsd that is going into ntpd.  It is
the only way gpsd talks to ntpd.

> ntpshmmon: version 3.23.2~dev
> #      Name  Seen@                 Clock Real                 L Prc
> sample NTP2  1636605083.112353126  1636605083.000066187 
> 1636605083.000000000 0 -20
> sample NTP0  1636605083.147133927  1636605083.146458406 
> 1636605083.000116578 0  -1

And it shows gpsd is sending on NTP0 and NTP2, which is odd considering
what I though was you configuration.

How exactly are you running gpsd?  Put another way, what is
the output of this, run as root:

# pstree -paul | fgrep gpsd

> ... this gave me the clue it wasn't NTP1 I needed but rather NTP2, 
> adjusting that in ntp.conf and finally it was able to reach the PPS
> signal.

Good, but fishy.  What is you full ntp.conf now?

> Found a note in this
> might be the case for some GPS HATs, should have read it more
> carefully ! ;)

But that is not what I would expect from MAGIC_HAT option.

> Now that PPS is getting through I can follow the tuning procedure in
> the howto, give it some time get some stats.

Patience, and ntpviz, are required to tune it.  Ad tuning depends on
what you want to optimize.

Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin

Attachment: pgpU8EljJ_asi.pgp
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]