[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-dev] new 'timeservice' build option
From: |
Eric S. Raymond |
Subject: |
[gpsd-dev] new 'timeservice' build option |
Date: |
Sat, 7 May 2016 08:34:49 -0400 (EDT) |
New section in the GPSD Time Service HOWTO:
...............................................................................
=== Building gpsd ==
A normal gpsd build includes support for interpreting 1PPS pulses that is mostly
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
like this:
-----------------------------------------------------------------------------
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
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.
...............................................................................
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
To stay young requires the unceasing cultivation of the ability to
unlearn old falsehoods.
-- Lazarus Long
- [gpsd-dev] new 'timeservice' build option,
Eric S. Raymond <=