gpsd-users
[Top][All Lists]
Advanced

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

Re: NMEA but no PPS in ntp, Ubuntu 18.04.5


From: Gary E. Miller
Subject: Re: NMEA but no PPS in ntp, Ubuntu 18.04.5
Date: Mon, 30 Nov 2020 22:31:28 -0800

Yo Steve!

On Mon, 30 Nov 2020 16:06:22 -0600
Steve Bourland <sbourland@swri.org> wrote:

>    So I am (again) struggling with getting NTPd and GPSd talking
> super well with each other.

Should be easy.

>  I've just build gpsd-3.21, hopefully
> here is enough information for someone to point me in the right
> direction:

3.21 is good.

> # ./gpsd -D 3 -N -b -n /dev/ttyS0
[...]
> 1605636037.000715367 real: 1605636037.000000000: no fix

Can't get time without a fix.

> % ntpq -pn
>       remote           refid      st t when poll reach   delay
> offset jitter
> ==============================================================================
> 127.127.28.0    .NMEA.     0 l    3   16  377    0.000  -258.02 9.660
> 127.127.28.1    .PPS.            0 l    -   16    0    0.000 0.000 0.000

As expected, not fix, not PPS.

> So ntp sees the NMEA, but not the PPS (the ppstest data is from
> today,

Whoa there.  Get gpsd to work befre looking at ntpd.  You do not
even have a fix, of course NTP will fail.


> Does anyone have any suggestions on where I am mis-stepping? 

Yes, get a fix first.  You can use cgps to know when ou have a fix.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        gem@rellim.com  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: pgpaL9qhN9C9O.pgp
Description: OpenPGP digital signature


reply via email to

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