gpsd-users
[Top][All Lists]
Advanced

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

Re: GPS and NTPD.


From: Joseph Beissel
Subject: Re: GPS and NTPD.
Date: Sun, 17 Mar 2024 17:39:12 -0500

Which segment does NTPD use?  Does it use both segments to determine/set the time?  I was not aware that there are two ways that the time can be set.  Thanks for passing that information on.  My best guess is that it would be SHMO(0).  I don't think we have access to PPS from the device.  

What I am thinking about doing is leveraging our existing implementation that configures the device and reads the messages and add to it the ability to forward all messages to another tty (i.e. /dev/gps0).   Then start gpsd up using this tty.  I prototyped something along these lines to test it out but I didn't see anything when I ran ntpshmmon and the time was not getting set.  I did see that gpsd was reading messages correctly using the gpspipe tool.  

I know this is probably a convoluted way to do this but time and money do not allow us to do more.  In our next release I plan to go full gpsd.

Thank you,

Joe B.

On Sun, Mar 17, 2024 at 5:15 PM Gary E. Miller <gem@rellim.com> wrote:
Yo Joseph!

On Sun, 17 Mar 2024 16:47:36 -0500
Joseph Beissel <joebeis64@gmail.com> wrote:

> We have a UBLX M8 device on our board.  What messages does gpsd use to
> populate the shared memory segment that ntpd uses?

Whish segment?  SHM(0) is time from the serial.  SHM(1) is time from the
PPS pine.

Any message that has a valid fix time an be used for serial (SHM(0)) time.
So maybe $GPRMC, maybe UBX-MON-PVT.  The list is very long.

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

reply via email to

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