<?xml version="1.0" encoding="iso-8859-1"?>
<rdf:RDF xmlns="http://purl.org/rss/1.0/"
         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
         xmlns:dc="http://purl.org/dc/elements/1.1/"
         xmlns:content="http://purl.org/rss/1.0/modules/content/">

<channel rdf:about="http://home.zyrianes.net/blog/Articles/158/">
<description>&lt;p&gt;I recently buy an USB GPS, also called GPS Mouse, &lt;a class="reference" href="http://www.navibe.com/product/gps_mouse/gm720/gm720.htm"&gt;Navibe GM720&lt;/a&gt; on eBay. I'll use it with Linux on my Apple iBook G4.&lt;/p&gt;
&lt;div class="contents topic" id="contents"&gt;
&lt;p class="topic-title first"&gt;&lt;a name="contents"&gt;Contents&lt;/a&gt;&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;a class="reference" href="#hardware" id="id4" name="id4"&gt;Hardware&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a class="reference" href="#gps" id="id5" name="id5"&gt;GPS&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="reference" href="#computer" id="id6" name="id6"&gt;Computer&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a class="reference" href="#setting" id="id7" name="id7"&gt;Setting&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a class="reference" href="#hardware-id" id="id8" name="id8"&gt;Hardware ID&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="reference" href="#setting-an-usb-gps-with-linux" id="id9" name="id9"&gt;Setting an USB GPS with Linux&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a class="reference" href="#using" id="id10" name="id10"&gt;Using&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a class="reference" href="#verify-you-can-access-your-gps" id="id11" name="id11"&gt;Verify you can access your GPS&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="reference" href="#gpsd" id="id12" name="id12"&gt;GPSd&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="reference" href="#gpsd-tools-sirfmon" id="id13" name="id13"&gt;Gpsd tools : sirfmon&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="reference" href="#gpsd-tools-cgps" id="id14" name="id14"&gt;Gpsd tools : cgps&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="reference" href="#gpsd-tools-xgps" id="id15" name="id15"&gt;Gpsd tools : xgps&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="reference" href="#gpsd-tools-cgpxlogger" id="id16" name="id16"&gt;Gpsd tools : cgpxlogger&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="reference" href="#gpsdrive" id="id17" name="id17"&gt;GpsDrive&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="reference" href="#navit" id="id18" name="id18"&gt;Navit&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="reference" href="#openstreetmap" id="id19" name="id19"&gt;OpenStreetMap&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a class="reference" href="#ibook-with-gentoo-and-gps-use" id="id20" name="id20"&gt;iBook with Gentoo and GPS use&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="reference" href="#thanks" id="id21" name="id21"&gt;Thanks&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div class="section" id="hardware"&gt;
&lt;h1&gt;&lt;a class="toc-backref" href="#id4" name="hardware"&gt;Hardware&lt;/a&gt;&lt;/h1&gt;
&lt;div class="section" id="gps"&gt;
&lt;h2&gt;&lt;a class="toc-backref" href="#id5" name="gps"&gt;GPS&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;The &lt;a class="reference" href="http://www.navibe.com/product/gps_mouse/gm720/gm720.htm"&gt;Navibe GM720&lt;/a&gt; uses a USB-to-Serial converter from Prolific. The GPS chipset is the &lt;a class="reference" href="http://en.wikipedia.org/wiki/SiRFstar_III"&gt;SiRF Star III&lt;/a&gt;, a recent and famous chipset used in numerous current GPS receivers.&lt;/p&gt;
&lt;div class="image"&gt;&lt;img alt="http://home.zyrianes.net/blog/static/includes/NGM720Pen.png" src="http://home.zyrianes.net/blog/static/includes/NGM720Pen.png" /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="section" id="computer"&gt;
&lt;h2&gt;&lt;a class="toc-backref" href="#id6" name="computer"&gt;Computer&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;I use an Apple iBook G4 with Gnu/Linux Gentoo PPC distribution. This 12&amp;quot; iBook is small enough, I can put it in a back bag and the battery allows 3-4 endurance hours.&lt;/p&gt;
&lt;div class="image"&gt;&lt;img alt="http://home.zyrianes.net/blog/static/includes/iBook.png" src="http://home.zyrianes.net/blog/static/includes/iBook.png" /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="section" id="setting"&gt;
&lt;h1&gt;&lt;a class="toc-backref" href="#id7" name="setting"&gt;Setting&lt;/a&gt;&lt;/h1&gt;
&lt;div class="section" id="hardware-id"&gt;
&lt;h2&gt;&lt;a class="toc-backref" href="#id8" name="hardware-id"&gt;Hardware ID&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;lsusb only shows the USB-to-Serial converter:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
# lsusb 
Bus 003 Device 002: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
&lt;/pre&gt;
&lt;p&gt;cgps reports: &lt;tt class="docutils literal"&gt;&lt;span class="pre"&gt;SiRF&lt;/span&gt; &lt;span class="pre"&gt;binary&lt;/span&gt; &lt;span class="pre"&gt;GSW3.2.0PAT_3&lt;/span&gt;&lt;/tt&gt;.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="section" id="setting-an-usb-gps-with-linux"&gt;
&lt;h2&gt;&lt;a class="toc-backref" href="#id9" name="setting-an-usb-gps-with-linux"&gt;Setting an USB GPS with Linux&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;A lot of these (all?) USB GPS use the Prolific USB-to-Serial converter. So your kernel needs the pl2303 driver.&lt;/p&gt;
&lt;p&gt;Linux kernel setting (here v2.6.23-rc1):&lt;/p&gt;
&lt;pre class="literal-block"&gt;
Device Drivers  ---&amp;gt;
 [*] USB support  ---&amp;gt;
  USB Serial Converter support  ---&amp;gt;
   &amp;lt;M&amp;gt; USB Serial Converter support
   &amp;lt;M&amp;gt;   USB Prolific 2303 Single Port Serial Driver
&lt;/pre&gt;
&lt;p&gt;When you plug your USB GPS, you see in /var/log/messages:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
Jul 29 17:23:40 iyn usb 3-1: new full speed USB device using ohci_hcd and address 3
Jul 29 17:23:40 iyn usb 3-1: configuration #1 chosen from 1 choice
Jul 29 17:23:40 iyn pl2303 3-1:1.0: pl2303 converter detected
Jul 29 17:23:40 iyn usb 3-1: pl2303 converter now attached to ttyUSB0
&lt;/pre&gt;
&lt;p&gt;If none, verify if the pl2303 module is loaded, with the command lsmod:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
# lsmod | grep pl2303
pl2303                 21956  0
&lt;/pre&gt;
&lt;p&gt;If none, the command:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
insmod pl2303
&lt;/pre&gt;
&lt;p&gt;loads the module.&lt;/p&gt;
&lt;p&gt;You see that the GPS can be accessed with the &lt;tt class="docutils literal"&gt;&lt;span class="pre"&gt;ttyUSB0&lt;/span&gt;&lt;/tt&gt; serial device, so I'll use the &lt;tt class="docutils literal"&gt;&lt;span class="pre"&gt;/dev/ttyUSB0&lt;/span&gt;&lt;/tt&gt; device name.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="section" id="using"&gt;
&lt;h1&gt;&lt;a class="toc-backref" href="#id10" name="using"&gt;Using&lt;/a&gt;&lt;/h1&gt;
&lt;div class="section" id="verify-you-can-access-your-gps"&gt;
&lt;h2&gt;&lt;a class="toc-backref" href="#id11" name="verify-you-can-access-your-gps"&gt;Verify you can access your GPS&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;The &lt;a class="reference" href="http://gpsd.berlios.de/"&gt;gpsd&lt;/a&gt; suite has the &lt;a class="reference" href="http://gpsd.berlios.de/sirfmon.html"&gt;sirfmon&lt;/a&gt; utility which communicates with the GPS through the serial port (or through gpsd, see below).&lt;/p&gt;
&lt;p&gt;Starts it with:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
sirfmon /dev/ttyUSB0
&lt;/pre&gt;
&lt;p&gt;This software displays on top the informations received from the GPS and on bottom the raw communication with the GPS.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="section" id="gpsd"&gt;
&lt;h2&gt;&lt;a class="toc-backref" href="#id12" name="gpsd"&gt;GPSd&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;The &lt;a class="reference" href="http://gpsd.berlios.de/"&gt;gpsd&lt;/a&gt; daemon is an abstraction layer. It communicates through the physical serial port GPS and offers services (lat, long, ...) to its clients (cgps, sirfmon, gpsdrive, navit, ...).&lt;/p&gt;
&lt;p&gt;A lot of Linux applications use it, and it is ported to Open/Free/NetBSD and Mac OS X.&lt;/p&gt;
&lt;p&gt;It's very simple, just start the daemon with&lt;/p&gt;
&lt;pre class="literal-block"&gt;
gpsd /dev/ttyUSB0
&lt;/pre&gt;
&lt;p&gt;If you want to kill it, use the &lt;tt class="docutils literal"&gt;&lt;span class="pre"&gt;killall&lt;/span&gt; &lt;span class="pre"&gt;gpsd&lt;/span&gt;&lt;/tt&gt; command.&lt;/p&gt;
&lt;p&gt;FYI: gpsd installs the usb hotplug rules.&lt;/p&gt;
&lt;p&gt;The &lt;a class="reference" href="http://gpsd.berlios.de/"&gt;gpsd&lt;/a&gt; suite has a lot of very usefull tools.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="section" id="gpsd-tools-sirfmon"&gt;
&lt;h2&gt;&lt;a class="toc-backref" href="#id13" name="gpsd-tools-sirfmon"&gt;Gpsd tools : sirfmon&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;&lt;a class="reference" href="http://gpsd.berlios.de/sirfmon.html"&gt;sirfmon&lt;/a&gt; is a &lt;a class="reference" href="http://en.wikipedia.org/wiki/SiRFstar_III"&gt;SiRF Star III&lt;/a&gt; chipset specific tool, it displays a lot of advanced information from this specific chipset class GPS. It'a a textual tool.&lt;/p&gt;
&lt;p&gt;Start gpsd if not yet done, and just:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
sirfmon
&lt;/pre&gt;
&lt;p&gt;and sirfmon will use gpsd to get geographic informations, see this Sirfmon screenshot:&lt;/p&gt;
&lt;div class="image"&gt;&lt;img alt="http://home.zyrianes.net/blog/static/includes/sirfmon.png" src="http://home.zyrianes.net/blog/static/includes/sirfmon.png" /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="section" id="gpsd-tools-cgps"&gt;
&lt;h2&gt;&lt;a class="toc-backref" href="#id14" name="gpsd-tools-cgps"&gt;Gpsd tools : cgps&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;&lt;a class="reference" href="http://gpsd.berlios.de/xgps.html"&gt;cgps&lt;/a&gt; is also a text tool which displays useful geographic informations, but it isn't specific to one chipset class GPS. See this cgps screenshot:&lt;/p&gt;
&lt;div class="image"&gt;&lt;img alt="http://home.zyrianes.net/blog/static/includes/cgps.png" src="http://home.zyrianes.net/blog/static/includes/cgps.png" /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="section" id="gpsd-tools-xgps"&gt;
&lt;h2&gt;&lt;a class="toc-backref" href="#id15" name="gpsd-tools-xgps"&gt;Gpsd tools : xgps&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;It's same as cgps but with a graphic interface.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="section" id="gpsd-tools-cgpxlogger"&gt;
&lt;h2&gt;&lt;a class="toc-backref" href="#id16" name="gpsd-tools-cgpxlogger"&gt;Gpsd tools : cgpxlogger&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;&lt;a class="reference" href="http://gpsd.berlios.de/xgps.html"&gt;cgpxlogger&lt;/a&gt; is a gps data logger, it displays GPS informations, in GPX format.&lt;/p&gt;
&lt;p&gt;Use example:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
# cgpxlogger &amp;gt; 2007-07-29_20h08.gpx
&lt;/pre&gt;
&lt;p&gt;and &lt;tt class="docutils literal"&gt;&lt;span class="pre"&gt;Ctrl-c&lt;/span&gt;&lt;/tt&gt; stop it.&lt;/p&gt;
&lt;p&gt;GPX is one of the most known gps data logger format, a lot of applications use it. It's a good solution if you want trace your way or help the &lt;a class="reference" href="http://wiki.openstreetmap.org/index.php/OpenStreetMap:About"&gt;OSM&lt;/a&gt; project.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="section" id="gpsdrive"&gt;
&lt;h2&gt;&lt;a class="toc-backref" href="#id17" name="gpsdrive"&gt;GpsDrive&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;&lt;a class="reference" href="http://www.gpsdrive.de/"&gt;gpsdrive&lt;/a&gt; is a car navigation system for laptops. It can download maps from Expedia or TopoZone. See this Gps Drive screenshot:&lt;/p&gt;
&lt;div class="image"&gt;&lt;img alt="http://home.zyrianes.net/blog/static/includes/GpsDrive.png" src="http://home.zyrianes.net/blog/static/includes/GpsDrive.png" /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="section" id="navit"&gt;
&lt;h2&gt;&lt;a class="toc-backref" href="#id18" name="navit"&gt;Navit&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;&lt;a class="reference" href="http://navit.sourceforge.net/"&gt;navit&lt;/a&gt; is a car navigation system for laptops and embedded touch screen displays.
For the installation, you need some specific libraries: &lt;a class="reference" href="http://www.cegui.org.uk/"&gt;cegui&lt;/a&gt; with openGL support and quesoglc. See this &lt;a class="reference" href="http://navit.wiki.sourceforge.net/Getting+started"&gt;Navit installation page&lt;/a&gt; from the project.
This is a promising project.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="section" id="openstreetmap"&gt;
&lt;h2&gt;&lt;a class="toc-backref" href="#id19" name="openstreetmap"&gt;OpenStreetMap&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;&lt;a class="reference" href="http://wiki.openstreetmap.org/index.php/OpenStreetMap:About"&gt;OSM&lt;/a&gt; is a collaborative editable map. Most of the current maps have restrictive rights, this project allows each person with a GPS to upgrade the &lt;a class="reference" href="http://wiki.openstreetmap.org/index.php/OpenStreetMap:About"&gt;OSM&lt;/a&gt; map. Some softwares (like Navit) can use this non-commercial Map.
See the current &lt;a class="reference" href="http://www.openstreetmap.org/index.html"&gt;OSM Map&lt;/a&gt;.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="section" id="ibook-with-gentoo-and-gps-use"&gt;
&lt;h1&gt;&lt;a class="toc-backref" href="#id20" name="ibook-with-gentoo-and-gps-use"&gt;iBook with Gentoo and GPS use&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;&lt;tt class="docutils literal"&gt;&lt;span class="pre"&gt;/etc/init.d/pbbuttonsd&lt;/span&gt; &lt;span class="pre"&gt;stop&lt;/span&gt;&lt;/tt&gt; deactivates the suspend to ram process, when you close your laptop or after 5mn of inactivity, so you can log your GPS way with cgpxlogger, and import it to &lt;a class="reference" href="http://wiki.openstreetmap.org/index.php/OpenStreetMap:About"&gt;OSM&lt;/a&gt;.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="section" id="thanks"&gt;
&lt;h1&gt;&lt;a class="toc-backref" href="#id21" name="thanks"&gt;Thanks&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;gpsd developers, Gwenn, Jkx.&lt;/p&gt;
&lt;/div&gt;
</description>
<link>http://home.zyrianes.net/blog/Articles/158/</link>
<title>Comments on article "Navibe GM720 :  setting and using with Linux"</title>



<items />


</channel>



</rdf:RDF>
