Garmin USB Access In Fedora 19
From steamWiki
There is are a lot of blog posts, forum threads, and mailing list message out there related to getting your Garmin GPS device to interface successfully with GPS programs in Linux. I had the same problem but found some of the information out-dated. I attempt to clear some of that up here.
The Information below has been tested in Fedora 19.
Blacklist garmin_gps Drivers
This is the same as I've read everywhere else, correct, and fairly straight forward.
- navigate to /etc/modprobe.d/
- open or create blacklist.conf and add the following lines to the bottom:
- #prevent garmin_gps from being loaded
- blacklist garmin_gps
- remove the current instantiation of the garmin_gps driver by running sudo rmmod garmin_gps
Allows unprivileged access to Garmin devices
This is where I couldn't find much accurate info (regarding new versions of Fedora). The "old" info is struck-through.
- navigate to /etc/udev/rules.d/
- create 51-garmin.rules and add the following lines to the bottom:
SYSFS{idVendor}=="091e", SYSFS{idProduct}=="0003", MODE="666"- ATTRS{idVendor}=="091e", ATTRS{idProduct}=="0003", MODE="666"
- reload the udev rules with sudo udevadm control --reload-rules
- unplug and reinsert your Garmin GPS USB Cable.
At this point you should be able to use your Garmin GPS from various programs (such as gpsbabel and Qlandkarte GT) and you should be able to do it without running as root.
Sources
- http://stackoverflow.com/questions/7504707/linux-udev-rule-does-not-appear-to-work
- http://www.gpsbabel.org/os/Linux_Hotplug.html
- https://linuxindetails.wordpress.com/2009/12/30/udevd-sysfs-will-be-removed-in-a-future-udev-version-please-use-attr-to-match-the-event-device/
- http://abarry.org/reload-udev-rules-without-restarting-udev/