Introduction
This page describes how Suzie can retrieve her training data from her Garmin Forerunner 110 and convert it to GPX format.
Procedure
- Connect the USB cable to the PC and carefully attach the “bulldog-clip”-style USB connector to the watch, ensuring that the 4 spring-loaded contacts are correctly located (this does not seem so easy!).
- Verify the watch displays “GARMIN” and the battery-recharging symbol.
- Run:
dmesg
and verify that the output ends with:
[1802710.948020] usb 2-2: new full speed USB device using uhci_hcd and address 48 ... [1802711.104785] usb-storage: waiting for device to settle before scanning [1802716.106345] usb-storage: device scan complete [1802716.109346] scsi 13:0:0:0: Direct-Access Garmin FR110 Flash 1.00 PQ: 0 ANSI: 5 ... [1802716.134317] sdc: ... [1802716.165330] sd 13:0:0:0: [sdc] Attached SCSI removable disk
- Start Thunar and, in the left-hand panel, select the “GARMIN” device and navigate to the Garmin/Activities directory.
- Copy/move all the FIT files to a suitable location.
- Go to Thunar and, in the left-hand panel, right-click on the “GARMIN” device and select to “Unmount Volume”.
- You can now remove the watch from the bulldog-clip and that USB cable from the PC.
- If not already done then setup the software for converting FIT files to CSV files according to the following sub-procedure:
- Go here and scroll down the last posting entitled:
Re: [Gpsbabel-misc] support for Garmin .fit files From: ibarum <ibarum@gm...> - 2010-10-24 17:57
- Download the fit2csv.pl script which is attached to that post. (As a convenience, that file is saved as an attachment to this wiki page.)
- Go here and scroll down to the section entitled “DESCRIPTION”.
- Download the GarminFIT-0.07.tar.gz file which is linked near there. (As a convenience, that file is saved as an attachment to this wiki page.)
- Examine your $PATH environment variable by running:
echo $PATH
and verify that <your-home>/bin is listed there. If it is not then run:
echo 'PATH=$PATH:$HOME/bin' >> ~/.profile
and then load the adjusted setting by running:
. ~/.profile
- Examine your $PERL5LIB environment variable by running:
echo $PERL5LIB
and verify that <your-home>/lib/perl5 is listed there. If it is not, or if PERL5LIB is not set at all, then run:
echo -e 'PERL5LIB=$PERL5LIB:$HOME/lib/perl5\nexport PERL5LIB' >> ~/.profile
and then load the adjusted setting by running:
. ~/.profile
- Unpack, compile and install the just-downloaded files, by running:
mkdir -p ~/bin cat fit2csv.pl > ~/bin/fit2csv chmod 755 ~/bin/fit2csv mkdir -p ~/lib/perl5 tar xzCf ~/lib/perl5 GarminFIT-0.07.tar.gz
- Verify that fit2csv is now found and that it finds the modules it needs by running the following commands and verifying their output is shown here:
suzie$ cd suzie$ fitcsv Usage: fitcsv <file.fit> suzie$
- Go here and scroll down the last posting entitled:
- To convert a file from FIT format to GPX format run:
fit2csv <fit-file> > <csv-file> gpsbabel -i unicsv -f <csv-file> -x transform,trk=wpt,del -o gpx -F <gpx-file>