[ntp:questions] Maximum time2 fudge value for NMEA refclock?

Hal Murray hal-usenet at ip-64-139-1-69.sjc.megapath.net
Sat Jul 17 02:14:46 UTC 2010


>I created a symlink called gps0 to my serial port ttyS0, because it
>told me that in the logs when I tried to start up ntpd without it.
>
>Can somebody who uses the NMEA driver in linux tell me if there is
>something else that I should have compiled in? gpsd works fine, but
>every time I switch to the NMEA type 20 driver, it doesn't work. It
>doesn't seem to write anything to the system logs, or clockstats
>either.

You also need a bit more magic.  There should be good documentation
someplace, but I don't know where it is.  Try man ldattach


I'm using this in /etc/sysconfig/ntpd on Fedora

if [ ! -e /dev/gps12 ]; then  # GPS 18x LVC
  ln -s /dev/ttyS0 /dev/gps12
  setserial /dev/ttyS0 low_latency
  ldattach 18 /dev/gps12
  ln -s /dev/pps0 /dev/gpspps12
fi



-- 
These are my opinions, not necessarily my employer's.  I hate spam.




More information about the questions mailing list