diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-03-24 04:49:18 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-03-24 04:49:18 +0000 |
commit | edf47af77817393bc0f610a0090edce4426546bd (patch) | |
tree | 91532fed247418c9fa00d11b2a1a3717480cee0c /sirfmon.xml | |
parent | 22b90e3ab70846b0ca613edd64911d149f243c44 (diff) | |
download | gpsd-edf47af77817393bc0f610a0090edce4426546bd.tar.gz |
sirfmon is now distributed.
Diffstat (limited to 'sirfmon.xml')
-rw-r--r-- | sirfmon.xml | 128 |
1 files changed, 128 insertions, 0 deletions
diff --git a/sirfmon.xml b/sirfmon.xml new file mode 100644 index 00000000..c84a5871 --- /dev/null +++ b/sirfmon.xml @@ -0,0 +1,128 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE refentry PUBLIC + "-//OASIS//DTD DocBook XML V4.1.2//EN" + "docbook/docbookx.dtd"> +<refentry id='sirfmon.1'> +<refmeta> +<refentrytitle>sirfmon</refentrytitle> +<manvolnum>1</manvolnum> +<refmiscinfo class='date'>23 Mar 2005</refmiscinfo> +</refmeta> +<refnamediv id='name'> +<refname>sirfmon</refname> +<refpurpose>monitor a SiRF GPS</refpurpose> +</refnamediv> +<refsynopsisdiv id='synopsis'> + +<cmdsynopsis> + <command>sirfmon</command> + <arg choice='opt'><replaceable>device</replaceable></arg> +</cmdsynopsis> +</refsynopsisdiv> + +<refsect1 id='description'><title>DESCRIPTION</title> + +<para><application>sirfmon</application> is a monitor that watches +packets coming from a SiRF GPS (the SiRF chipset is the one by far the +most commonly used in GPS mice and other consumer-grade GPSes, about +80% of them and rising in early 2005). This program is primarily +useful as a diagnostic aid for troubleshooting +<application>gpsd</application> problems; it deliberately uses decoder +logic that different from the decoder in the +<application>gpsd</application> SiRF driver, so behaviors that show up +in both are unlikely to be due to logic bugs in either.</para> + +<para>The device argument should be the serial devicename associated +with the GPS; <application>sirfmon</application> will search for a +correct baud rate and lock on to it automatically.</para> + +<para>Note that <application>sirfmon</application> will fail if +<application>gpsd</application> is running, and vice-versa. You will +probably need to be root to run this program.</para> + +<para>After startup, the top part of the screen reports the contents +of several especially interesting packet types. The bottom half of +the screen is a scrolling hex dump of all packets the GPS is issuing. +Dump lines beginning >>> represent control packets sent to the +GPS.</para> + +</refsect1> +<refsect1 id='commands'><title>COMMANDS</title> + +<para>The following comands are available while +<application>sirfmon</application> is running:</para> + +<variablelist> +<varlistentry> +<term>n</term> +<listitem> +<para>Switch device to NMEA mode at current speed and exit.</para> +<para></para> +</listitem> +</varlistentry> +<varlistentry> +<term>b</term> +<listitem> +<para>Change baud rate.</para> +</listitem> +</varlistentry> +<varlistentry> +<term>l</term> +<listitem> +<para>Start logging of packets to specified file. If logging is +enabled, turn it off.</para> +</listitem> +</varlistentry> +<varlistentry> +<term>s</term> +<listitem> +<para>Send hex bytes to device. Following the 's' you may type hex +digit pairs; end with a newline. These will become the payload of a +SiRF control packet shipped to the device.</para> +</listitem> +</varlistentry> +<varlistentry> +<term>Ctrl-S</term> +<listitem> +<para>Freeze display, suspend scrolling in debug window.</para> +</listitem> +</varlistentry> +<varlistentry> +<term>Ctrl-Q</term> +<listitem> +<para>Unfreeze display, resume normal operation.</para> +</listitem> +</varlistentry> +</variablelist> + +</refsect1> +<refsect1 id='bugs'><title>BUGS AND LIMITAIONS</title> + +<para>The logic for hunting the GPS's baud rate is vulnerable to +various sorts of RS232 flakiness. If it hangs for longer than a few +seconds, kill the program and restart.</para> + +</refsect1> +<refsect1 id='see_also'><title>SEE ALSO</title> +<para> +<citerefentry><refentrytitle>gpsd</refentrytitle><manvolnum>8</manvolnum></citerefentry>, +<citerefentry><refentrytitle>xgps</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>gpsprobe</refentrytitle><manvolnum>1</manvolnum></citerefentry>, +<citerefentry><refentrytitle>gpsfake</refentrytitle><manvolnum>1</manvolnum></citerefentry>, +<citerefentry><refentrytitle>gnuplot</refentrytitle><manvolnum>1</manvolnum></citerefentry>. +</para> +</refsect1> + +<refsect1 id='maintainer'><title>AUTHOR</title> + +<para>Eric S. Raymond <email>esr@thyrsus.com</email>, based on code +originally by Rob Janssen, PE1CHL. This code is part of the gpsd +toolset; there is a project page for <application>gpsd</application> +<ulink url="http://gpsd.berlios.de/">here</ulink>.</para> +</refsect1> + +</refentry> + |