Package: gpsbabel
Version: 1.4.2-2
Severity: normal

Hi,

I tried to get gpsbabel to read the data from my Garmin EDGE 305 unit. This
only worked after removing the "garmin_gps" kernel module and running gpsbabel
as root (or manually adding a udev rule).

Please see http://www.gpsbabel.org/os/Linux_Hotplug.html for details. It'd be
great if wheezy would support using the edge305 out-of-the-box.


Here some tries when trying to access the edge with the module loaded:


david@debian:~$ sudo gpsbabel -i garmin -f usb:-1
Claim interfaced failed: could not claim interface 0: Device or resource busy

david@debian:~$ sudo su - david -c 'gpsbabel -t -i garmin -f /dev/ttyUSB0 -o gpx -F /home/david/out.gpx'
[ERROR] GPS_Packet_Read: Timeout.  No data received.
[ERROR] A301_Get: Error transferring tracks


1.3.5 from lenny at least gave a sensible error message:

david@debian:~$ sudo dpkg -i Downloads/gpsbabel_1.3.5-1.1_amd64.deb
dpkg: warning: downgrading gpsbabel from 1.4.2-2 to 1.3.5-1.1.
(Reading database ... 148152 files and directories currently installed.)
Preparing to replace gpsbabel 1.4.2-2 (using .../gpsbabel_1.3.5-1.1_amd64.deb)
...
Unpacking replacement gpsbabel ...
Setting up gpsbabel (1.3.5-1.1) ...
Processing triggers for man-db ...
david@debian:~$ sudo strace -o /tmp/trace gpsbabel -i garmin -f usb:-1
usb_set_configuration failed, probably because kernel driver 'garmin_gps'
 is blocking our access to the USB device.
For more information see http://www.gpsbabel.org/os/Linux_Hotplug.html

And thus it works:


david@debian:~$ sudo rmmod garmin_gps
david@debian:~$ sudo strace -o /tmp/trace gpsbabel -i garmin -f usb:-1
0 3349441043 450 EDGE305 Software Version 3.20
david@debian:~$ sudo aptitude full-upgrade
[...]
Preparing to replace gpsbabel 1.3.5-1.1 (using .../gpsbabel_1.4.2-2_amd64.deb)
...
Unpacking replacement gpsbabel ...
Processing triggers for man-db ...
Setting up gpsbabel (1.4.2-2) ...

Current status: 0 broken [-1], 0 updates [-1].
david@debian:~$ sudo strace -o /tmp/trace gpsbabel -i garmin -f usb:-1
0 3349441043 450 EDGE305 Software Version 3.20
david@debian:~$ sudo gpsbabel -w -r -t -i garmin -f usb: -o gpx -F
/home/david/out.gpx
david@debian:~$ wc -l out.gpx
32518 out.gpx
david@debian:~$



Thanks for your time and work!

Best Regards, David




-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-rc4-amd64 (SMP w/4 CPU cores) ## from experimental
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gpsbabel depends on:
ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib ii libexpat1 2.0.1-7 XML parsing C library - runtime li ii libusb-0.1-4 2:0.1.12-17 userspace USB programming library
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages gpsbabel recommends:
ii gpsbabel-doc 1.4.2-2 GPS file conversion plus transfer

gpsbabel suggests no packages.

-- no debconf information



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to