diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2006-11-07 19:16:40 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2006-11-07 19:16:40 +0000 |
commit | 726579d1b204451348cf9a74c24790b1f5b43f7a (patch) | |
tree | 5f3bc09303ffa9951c30b69f69ffdb2f4769106d /gpsctl.xml | |
parent | 61f227dc11df8a90fba16a03e70f90f5ad1ecdad (diff) | |
download | gpsd-726579d1b204451348cf9a74c24790b1f5b43f7a.tar.gz |
Change the name of gpsctrl to gpsctl.
Diffstat (limited to 'gpsctl.xml')
-rw-r--r-- | gpsctl.xml | 114 |
1 files changed, 114 insertions, 0 deletions
diff --git a/gpsctl.xml b/gpsctl.xml new file mode 100644 index 00000000..af6f2e02 --- /dev/null +++ b/gpsctl.xml @@ -0,0 +1,114 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE refentry PUBLIC + "-//OASIS//DTD DocBook XML V4.1.2//EN" + "docbook/docbookx.dtd"> +<refentry id='gpsctl.1'> +<refmeta> +<refentrytitle>gpsctl</refentrytitle> +<manvolnum>1</manvolnum> +<refmiscinfo class='date'>29 Oct 2006</refmiscinfo> +</refmeta> +<refnamediv id='name'> +<refname>gpsctl</refname> +<refpurpose>control the modes of a Gps GPS</refpurpose> +</refnamediv> +<refsynopsisdiv id='synopsis'> + +<cmdsynopsis> + <command>gpsctl</command> + <arg choice='opt'>-h </arg> + <arg choice='opt'>-n </arg> + <arg choice='opt'>-b </arg> + <arg choice='opt'>-f </arg> + <arg choice='opt'>-D <replaceable>debuglevel</replaceable></arg> + <arg choice='opt'>-V </arg> + <arg choice='opt'><replaceable>serial-port</replaceable></arg> +</cmdsynopsis> +</refsynopsisdiv> + +<refsect1 id='description'><title>DESCRIPTION</title> + +<para><application>gpsctl</application> can switch a dual-mode GPS +between NMEA and vendor-binary modes. It can also be used to set the +device baudrate. Note: Not all devices have these capabilities.</para> + +<para>If you have only one GPS attached to your machine, and gpsd is +running, it is not necessary to specify the device; +<application>gpsctl</application> does its work through +<application>gpsd</application>, which will locate it for you.</para> + +<para>When <application>gpsd</application> is not running, the device +specification is required, and you will almost certainly need to be +running as root in order to have write access to the device.</para> + +<para>The program accepts the following options:</para> +<variablelist remap='TP'> + +<varlistentry> +<term>-b</term> +<listitem> +<para>Put GPS into binary mode. After the GPS resets itself autobaud to +the new speed.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term>-n</term> +<listitem> +<para>Put GPS into NMEA mode. After the GPS resets itself autobaud to +its new speed.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term>-f</term> +<listitem> +<para>Force low-level access (not through the daemon).</para> +</listitem> +</varlistentry> + +<varlistentry> +<term>-h</term> +<listitem> +<para>Display program usage and exit.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term>-D</term> +<listitem> +<para>Set level of debug messages.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term>-V</term> +<listitem> +<para>Display program version and exit.</para> +</listitem> +</varlistentry> +</variablelist> + +<para>If no options are given, the program will display a message +identifying the GPS type of the selected device and exit.</para> + +</refsect1> + +<refsect1 id='see_also'><title>SEE ALSO</title> +<para> +<citerefentry><refentrytitle>gpsd</refentrytitle><manvolnum>8</manvolnum></citerefentry>, +<citerefentry><refentrytitle>gps</refentrytitle><manvolnum>1</manvolnum></citerefentry>, +<citerefentry><refentrytitle>libgps</refentrytitle><manvolnum>3</manvolnum></citerefentry>, +<citerefentry><refentrytitle>libgpsd</refentrytitle><manvolnum>3</manvolnum></citerefentry>, +<citerefentry><refentrytitle>gpsprof</refentrytitle><manvolnum>1</manvolnum></citerefentry>, +<citerefentry><refentrytitle>gpsfake</refentrytitle><manvolnum>1</manvolnum></citerefentry>. +</para> +</refsect1> + +<refsect1 id='maintainer'><title>AUTHOR</title> + +<para>Eric S. Raymond <email>esr@thyrsus.com</email>. There is a +project page for <application>gpsd</application> <ulink +url="http://gpsd.berlios.de/">here</ulink>.</para> +</refsect1> +</refentry> |