gpsd-users
[Top][All Lists]
Advanced

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

Re: Can't get time


From: Gary E. Miller
Subject: Re: Can't get time
Date: Thu, 2 Apr 2020 11:07:20 -0700

Yo Tom!

On Thu, 2 Apr 2020 16:35:11 +1300
Tom Isaacson <address@hidden> wrote:

> I'm having a strange problem with gpsd. We're connecting to a standard
> NMEA0183 serial source which is sending GPGSV, GPGLL, GPRMC, GPVTG,
> GPGGA, and GPGSA. The fix works fine but when I run gpsd-api the
> fields gps_data.online and gps_data.fix.time are always 0. When I run
> gpsd with debug I can see NTP sharing the time:
> gpsd:PROG: NTP: ntpshm_put(/dev/ttyS3,-20)  1585777648.000000000
> @1585777648.569568831
> 
> So why aren't we seeing time being set?

From the ONE line of debug you sent, it look like gpsd is doing what it
should.  So the question is: how is your ntpd configured, and what does
your ntpmon say?

It would also be nice if you provided a lot of information on your
configuration.  Like what GPS is used.  What versions of gpsd and NTPsec.
What config file contents for ntp.cinf.  what command line to start gpsd
and ntpd.  What does ntpshmmon show.   What does ntpmon show.  etc.

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


reply via email to

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