summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2016-05-09 10:05:09 -0400
committerEric S. Raymond <esr@thyrsus.com>2016-05-09 10:05:09 -0400
commitec6b40fe326f3fc0415fa331468f76b021532e23 (patch)
tree481d92fde16e3c331f9c145831b5183de068c444 /www
parent7585603834667c095fe037f1a98fe38ce73946c6 (diff)
downloadgpsd-ec6b40fe326f3fc0415fa331468f76b021532e23.tar.gz
More troubleshooting advice.
Diffstat (limited to 'www')
-rw-r--r--www/gpsd-time-service-howto.txt13
1 files changed, 8 insertions, 5 deletions
diff --git a/www/gpsd-time-service-howto.txt b/www/gpsd-time-service-howto.txt
index d880fe91..476ea1d1 100644
--- a/www/gpsd-time-service-howto.txt
+++ b/www/gpsd-time-service-howto.txt
@@ -295,7 +295,11 @@ autoconfiguring and requires no special setup.
You can build a version stripped to the mimimum configuration required
for time service. This reduces the size of the binary and may be
helpful on embedded systems or for SBCs like the Raspberry Pi, Odroid,
-or BeagleBone. Do it like this:
+or BeagleBone. Also, when gpsd is built in this way, the -n (nowait)
+option is forced; gpsd opens its command-line devices immediately on
+startup.
+
+Do it like this:
-----------------------------------------------------------------------------
scons timeservice=yes nmea0183=yes fixed_port_speed=9600 fixed_stop_bits=1
@@ -303,12 +307,9 @@ scons timeservice=yes nmea0183=yes fixed_port_speed=9600 fixed_stop_bits=1
You may substitute a different GPS (e.g. "ublox" or "sirf"), You can
also fix the serial parameters to avoid autobauding lag; the code
-assumes 8 bit bytes, so the above locks the daeon to 9600 8N1. Besides
+assumes 8 bit bytes, so the above locks the daemon to 9600 8N1. Besides
the daemon, this also builds gpsmon and ntpshmmon.
-When gpsd is built in this way, the -n (nowait) option is forced;
-gpsd opens its command-line devices immediately on startup.
-
Otherwise, make sure the build is with pps=yes and ntpshm=yes (the
default). The command "gpsd -L" should indicate that time-service
features and PPS are enabled.
@@ -955,6 +956,8 @@ sample NTP0 1461537440.122079148 1461537439.620958240 1461537439.703999996 0 -1
^C
-----------------------------------------------------------------------------
+If you see only "NTP2", instead, you forgot to go root before starting gpsd.
+
Once ntpshmmon shows good time data you can see how chrony is doing by
running 'chronyc sources'. Your output will look like this: