summaryrefslogtreecommitdiff
path: root/gpsd.xml
diff options
context:
space:
mode:
authorLarry Boyd <lbdroidman@gmail.com>2017-06-30 16:21:51 -0700
committerGary E. Miller <gem@rellim.com>2017-06-30 16:21:51 -0700
commit3e3e09cfc9e07160b58a62f13137fe579f3f8623 (patch)
tree9e7e69bfef9c404bec31919032107ca4c58621d9 /gpsd.xml
parent241b2f0cb08ac00ce6c2751d8aab75ad20681f38 (diff)
downloadgpsd-3e3e09cfc9e07160b58a62f13137fe579f3f8623.tar.gz
Add the -r option to gpsd.
-r allows gpsd to use the time from a GPS even if the GPS has no valid fix. This is useful on devices like the Raspberry Pi that have not battery backed RTC, but have a GPS with a battery backed RTC. Signed-off-by: Gary E. Miller <gem@rellim.com>
Diffstat (limited to 'gpsd.xml')
-rw-r--r--gpsd.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/gpsd.xml b/gpsd.xml
index 2d5fd490..fa2592f5 100644
--- a/gpsd.xml
+++ b/gpsd.xml
@@ -33,6 +33,7 @@ BSD terms apply: see the file COPYING in the distribution root for details.
<arg choice='opt'>-n </arg>
<arg choice='opt'>-N </arg>
<arg choice='opt'>-h </arg>
+ <arg choice='opt'>-r </arg>
<arg choice='opt'>-P <replaceable>pidfile</replaceable></arg>
<arg choice='opt'>-D <replaceable>debuglevel</replaceable></arg>
<arg choice='opt'>-V </arg>
@@ -203,6 +204,14 @@ This switch is mainly useful for debugging.</para>
<listitem><para>Display help message and terminate.</para></listitem>
</varlistentry>
<varlistentry>
+<term>-r</term>
+<listitem><para>Use GPS time even with no current fix. Some GPS's have
+battery powered Real Time Clocks (RTC's) built in, makeing them a valid time
+source even before a fix is acquired. This can be useful on a Raspberry Pi,
+or other device that has no battery powered RTC, and thus has no valid
+time at startup.</para></listitem>
+</varlistentry>
+<varlistentry>
<term>-P</term>
<listitem>
<para>Specify the name and path to record the daemon's process ID.</para>