root
2022-05-06 14:58:26 UTC
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.
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.