Discussion:
Cannot read Garmin device on Slack15
(too old to reply)
root
2022-05-06 14:58:26 UTC
Permalink
I have been trying to read data from my garmin301
forerunner. I used sbopkg to build gpsbabel.
I then used slackpkg to update all (manY).

With 14.2 and previous I used this command to
access the data:

gpsbabel -t -i garmin -f usb: -o gtrnctr -F /ram/outfile.gpx

This doesn't work with 15.0:nothing is read back



According to an online post, one needs to :
echo -n "1-1:1.0" > /sys/bus/usb/drivers/usb-storage/unbind
which didn't fix the problem.

When the garmin is connected I get the device ttyUSB0 created.
The gpsbabel help shows two garmin entries (garmin and garmin301)

Then I tried this sequences of gpsbabel commands:
gpsbabel -t -i garmin301 -f usb: -o garmin301 -F /ram/outfile.gpx
gpsbabel -t -i garmin301 -f usb: -o gtrnctr -F /ram/outfile.gpx
gpsbabel -t -i garmin301 -f /dev/ttyUSB0 -o gtrnctr -F /ram/outfile.gpx
gpsbabel -t -i garmin -f /dev/ttyUSB0 -o gtrnctr -F /ram/outfile.gpx
gpsbabel -t -i garmin -f /dev/ttyUSB0: -o gtrnctr -F /ram/outfile.gpx

The last command yields a file /ram/outfile.gpx but it
does not contain the data. That file reads:

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<TrainingCenterDatabase xmlns="http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2
http://www.garmin.com/xmlschemas/TrainingCenterDatabasev2.xsd">
<Courses>
</Courses>
</TrainingCenterDatabase>

All this has taken several hours of work just to read the garmin301.

Please, will anyone who has read the Garmin 301 Forerunner under 15.0
give me the trick?

Thanks.
Lew Pitcher
2022-05-06 15:57:29 UTC
Permalink
I have been trying to read data from my garmin301 forerunner. I used
sbopkg to build gpsbabel.
I then used slackpkg to update all (manY).
gpsbabel -t -i garmin -f usb: -o gtrnctr -F /ram/outfile.gpx
This doesn't work with 15.0:nothing is read back
[snip]

Have you read (and followed the directions in)
https://www.gpsbabel.org/os/Linux_Hotplug.html
?

Have you asked on the gpsbabel mail list?
(https://sourceforge.net/p/gpsbabel/mailman/)
--
Lew Pitcher
"In Skills, We Trust"
root
2022-05-06 23:32:01 UTC
Permalink
Post by Lew Pitcher
I have been trying to read data from my garmin301 forerunner. I used
sbopkg to build gpsbabel.
I then used slackpkg to update all (manY).
gpsbabel -t -i garmin -f usb: -o gtrnctr -F /ram/outfile.gpx
This doesn't work with 15.0:nothing is read back
[snip]
Have you read (and followed the directions in)
https://www.gpsbabel.org/os/Linux_Hotplug.html
?
Have you asked on the gpsbabel mail list?
(https://sourceforge.net/p/gpsbabel/mailman/)
Thanks Lew. I got the device to work. Since I don't suppose
anyone without a Garmin is following this thread I
will present the solution in a separate post.

Loading...