summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-03-14 15:47:24 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-03-14 15:47:24 +0000
commit96872378c7d5507624a5ae7af5331e4ba62878b3 (patch)
tree5b3b76a12533d0047283ae791821e9d76dcb67c8 /TODO
parent8a20d0777468b200f5cb1e5ea8654c3ca4a941d2 (diff)
downloadgpsd-96872378c7d5507624a5ae7af5331e4ba62878b3.tar.gz
NTP interfacing is a todo item.
Diffstat (limited to 'TODO')
-rw-r--r--TODO18
1 files changed, 18 insertions, 0 deletions
diff --git a/TODO b/TODO
index b365c894..aad27af2 100644
--- a/TODO
+++ b/TODO
@@ -339,6 +339,24 @@ Playing nice in the HAL world may require that we replace our hotplug
script with launcher code that lives in the HAL daemon. Does anyone else
here care enough about HAL to own this issue?
+** Include NTP updating?
+
+Rob Jannsen writes:
+
+I include ntpshm.c, an example of how time syncing via ntp can be
+done. The init function should be called sometime during startup, or
+at least when you know you can provide timestamps. The put function
+is called with a timefix and puts the info in the shared memory
+segment for xntpd to read it. xntpd.conf should contain some existing
+timesync configuration (e.g. via Internet) and you can add:
+
+server 127.127.28.0 minpoll 4 maxpoll 4
+fudge 127.127.28.0 refid GPS
+
+(don't make it the preferred clock yet :)
+It will read the info from gpsd every 16 seconds and "ntpq -p" should show the
+time difference when it is not very big.
+
** Do the research to figure out just what is going on with status bits
NMEA actually has *four* kinds of validity bits: Mode, Status, the