Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
howtos:hardware:gps_devices [2012/11/08 13:30 (UTC)]
markush created
howtos:hardware:gps_devices [2013/01/29 21:35 (UTC)]
hazel [GPS-devices]
Line 1: Line 1:
 <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). -->
-====== ​Using GPS-Devices on a Slackwarecomputer ​======+<-- Reviewed 2012-01-09 by Hazel --> 
 +====== GPS-devices ​======
  
-I'm using a Garmin Etrex Legend HCx, my expriences in this howto refer to this device, but should also work at least for any Garmin-GPS-receiver.+===== Overview =====
  
-=====The appropriate Module =====+GPS stands for **G**lobal **P**ositioning **S**ystem. GPS devices (also referred to as GPS receivers) provide the user with his/her geographic coordinates. 
 +I'm using a Garmin Etrex Legend HCx; my experiences in this HOWTO refer to this device, but it should also work at least for any Garmin GPS receiver.
  
-When the GPS-device is connected to the computer, it becomes recognized as an USB-device by udev and the module garmin_gps is loaded. In most cases the module will not work for us+===== Software ===== 
 + 
 +I'm mostly using gpsbabel; this command line tool can retrieve and send data from/to a GPS device. \\ 
 +There'​s also qlandkartegt which can deal with the data provided by the GPS receiver. ​ \\ 
 +Both are available via [[http://​www.slackbuilds.org|SlackBuilds.org]] 
 + 
 +===== Connecting the Device ===== 
 + 
 +When a GPS device is connected to the computer, it becomes recognized as USB device by udev and the module garmin_gps is loaded. In most cases the module will not work for us. Fortunately gpsbabel comes with its own drivers so the module garmin_gps is not needed. On my computer I've blacklisted it in /​etc/​modprobe.d/​blacklist.conf
  
 ===== udev-rules ===== ===== udev-rules =====
  
-If you want to access the device as a non-root user, you can add the plugdev-group via an udev-rule +If you want to access the device as a non-root user, the following ​udev rule allows users who are members of the //plugdev// group to access the GPS device. 
-I have the following rule in a file /​etc/​udev/​rules.d/​51-garmin.rules +<​code># ​/​etc/​udev/​rules.d/​51-garmin.rules 
-<​code>​ATTR{idVendor}=="​091e",​ ATTR{idProduct}=="​0003",​ MODE="​666",​ GROUP="​plugdev"</​code> ​which allows the users of the plugdev-group to access the device.+ATTR{idVendor}=="​091e",​ ATTR{idProduct}=="​0003",​ MODE="​666",​ GROUP="​plugdev"</​code>​
  
-===== Software ​=====+===== Sending Data to the Device ​=====
  
-The software which allows us to access such devices from Linux is gpsbabel which is available at slackbuilds.org. +As an example here is the code which transfers a gpx waypoint file to a Garmin GPS device.
-As an example here the code which transfers a gpx waypoint-file to a Garmin-GPS-device.+
 <​code>​gpsbabel -i gpx -f $file -o garmin -F usb:</​code>​ <​code>​gpsbabel -i gpx -f $file -o garmin -F usb:</​code>​
  
 ===== Further Reading ===== ===== Further Reading =====
  
 +The website for [[http://​www.gpsbabel.org/​|gpsbabel]] \\
 +The website for [[http://​www.qlandkarte.org/​|qlandkartegt]] \\
 +The [[http://​www.openstreetmap.org/​|openstreetmap project]]
  
  
Line 28: Line 40:
 <!-- * Original source: [[http://​some.website.org/​some/​page.html]] --> <!-- * Original source: [[http://​some.website.org/​some/​page.html]] -->
 <!-- Authors are allowed to give credit to themselves! --> <!-- Authors are allowed to give credit to themselves! -->
-* Originally written by [[wiki:​user:​markush | User Markus Hutmacher]] ​+* Originally written by [[wiki:​user:​markush | Markus Hutmacher]] ​
 <!-- * Contributions by [[wiki:​user:​yyy | User Y]] --> <!-- * Contributions by [[wiki:​user:​yyy | User Y]] -->
  
 <!-- Please do not modify anything below, except adding new tags.--> <!-- Please do not modify anything below, except adding new tags.-->
 <!-- You must remove the tag-word "​template"​ below before saving your new page --> <!-- You must remove the tag-word "​template"​ below before saving your new page -->
-{{tag>​howtos ​template}}+{{tag>​howtos ​gps, gpsd}}

In Other Languages
QR Code
QR Code howtos:hardware:gps_devices (generated for current page)