Re: Using GPS as a reference clock for NTP?



In article <1127940389.193662.28030@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
jchludzinski@xxxxxxxxx writes:
>I have a GPS device on my box and would like to use its PPS (I believe
>it's the $GPRMC message) as a reference clock for ntpd? I assume it's
>possible? Currently, there is no driver for the GPS device, I'm
>getting position updates by opening the ttyS0 comm port and reading
>$GPGLL messages.

What type of GPS device do you have?

Look at the NMEA driver, #20

If you can setup your box to send $GPRMC messages every second
or few, the rest should be easy.

The $GPGLL messages do have a time time stamp. It should work if you
say something like "ttl 4" on your server line. (The documentation
needs updating.)

The PPS signal is a separate wire, usually connected to DCD,
maybe requiring some external level shifting.

--
The suespammers.org mail server is located in California. So are all my
other mailboxes. Please do not send unsolicited bulk e-mail or unsolicited
commercial e-mail to my suespammers.org address or any of my other addresses.
These are my opinions, not necessarily my employer's. I hate spam.

.



Relevant Pages

  • Using GPS as a reference clock for NTP?
    ... it's the $GPRMC message) as a reference clock for ntpd? ... Currently, there is no driver for the GPS device, I'm ...
    (comp.protocols.time.ntp)
  • Using GPS as a reference clock for NTP?
    ... it's the $GPRMC message) as a reference clock for ntpd? ... Currently, there is no driver for the GPS device, I'm ...
    (comp.os.linux.hardware)
  • Re: Using GPS as a reference clock for NTP?
    ... > it's the $GPRMC message) as a reference clock for ntpd? ... Currently, there is no driver for the GPS device, I'm ... A PPS can't be a message, it has to be a pulse. ...
    (comp.protocols.time.ntp)
  • Re: Using GPS as a reference clock for NTP?
    ... > I have a GPS device on my box and would like to use its PPS (I believe ... > it's the $GPRMC message) as a reference clock for ntpd? ... Currently, there is no driver for the GPS device, I'm ... There is a generic NMEA driver that probably ...
    (comp.os.linux.hardware)
  • Re: Using GPS as a reference clock for NTP?
    ... > it's the $GPRMC message) as a reference clock for ntpd? ... Currently, there is no driver for the GPS device, I'm ...
    (comp.os.linux.hardware)