3.3 Settings for Linux

SportWatcher tries to find out the USB port, where you've connected your GPS device itself and then it accesses this port directly. Unfortunately this is often forbidden for normal users. To grant access to the USB port for SportWatcher, you've to tell the udev system, that it should set the access rights of the USB port in a way, that a normal user is allowed to read and write.

While it's possible to run SportWatcher with root priviledges, what is not recomended, you can add some lines to a configuration file of udev:

3.3.1 For Debian and (K)Ubuntu

Open a shell and become root. Then type in the following commands:

# cd /etc/udev/rules.d
# vi 51-garmin.rules


Instead of vi you can use any other text editor, of course.

Enter the following lines into the new created file:

SYSFS{idVendor}=="091e", SYSFS{idProduct}=="0003", MODE="0666"
ATTRS{idVendor}=="091e", ATTRS{idProduct}=="0003", MODE="0666"

Save the file and restart udev by typing the following command on the command line:

# /etc/init.d/udev restart

From now on, the access to the USB port should be granted.

3.3.2 Still no access

In case of troubles, if the above instruction doesn't work, you should check the vendor and product number of your GPS device. If they differ from the ones above, type in the correct ones. You can find out this numbers with the command:

$ lsusb

3.2 Compile / Install 4. Read data

© 2006 − 2011 by Andreas Theofilu (theosys)