Garmin Forerunner 305 Ubuntu
http://askubuntu.com/questions/250165/how-to-get-the-forerunner-305-to-work-under-ubuntu
https://github.com/cstrelioff/garmin-dev
http://chrisstrelioff.ws/sandbox/2014/08/16/garmin_forerunner_and_ubuntu_14_04.html
Install for Ubuntu 20.04
-
apt install garmin-forerunner-tools
Install for Ubuntu 16.04
- apt-get install libxml2-utils
- garmin-forerunner-tools produced segmentation fault in 16.04. Download for Artful:
https://packages.ubuntu.com/artful/garmin-forerunner-tools
http://de.archive.ubuntu.com/ubuntu/pool/universe/g/garmin-forerunner-tools/garmin-forerunner-tools_0.10repacked-10_amd64.deb - dpkg -i /home/klemens/Download/garmin-forerunner-tools_0.10repacked-10_amd64.deb
- Fix USB access error
- lsusb
- Bus 001 Device 036: ID 091e:0003 Garmin International GPS (various models)
- vi /etc/udev/rules.d/51-garmin.rules
- SYSFS{idVendor}=="091e", SYSFS{idProduct}=="0003", MODE="666", GROUP="plugdev"
- udevadm control --reload
- lsusb
Whatever
- cd ~/garmin
- garmin_save_runs
- cd 2016/05/
- ~/bin/garmin/gmn2tcx 20160520T105541.gmn > 20160520T105541.tcx
Script:
- vi ~/bin/garmin/garmin305.sh
-
#!/bin/bash # # By Klemens Ullmann-Marx 2016-05-23 # # ~/bin/garmin/garmin305.sh # Exit script immediately if a command exits with a nonzero exit value # set -e BASEDIR="home/klemens/Dokumente/Sport/Fahrrad/garmin305" cd $BASEDIR/raw garmin_save_runs FILES=`find $BASEDIR/raw -name "*.gmn"` for f in $FILES; do OUTFILENAME=`basename $f .gmn` echo Converting and saving as $BASEDIR/$OUTFILENAME.tcx: ~/bin/garmin/gmn2tcx $f > $BASEDIR/$OUTFILENAME.tcx done
-
- chmod 700 ~/bin/garmin/garmin305.sh
- ~/bin/garmin/garmin305.sh