Garmin Forerunner 305 with GPSBabel and MyTourbook in Linux Ubuntu 19.04

Garmin Forerunner 305 on Linux UbuntuAfter many years we had to say Goodby to pyTrainer, which was a perfect and simple tool at the same time, but did not work anymore on our Ubuntu machine after the last update. A couple of hours solved the situation and lead us to GPSBabel and MyTourBook. Both are phantastic tools with long history. The workflow needs to be adapted but looks fine, too.
This article will guide through the installation and how to load the tracks from your Garmin 305 device to the Linux Ubuntu PC.  A workflow which is unfortunatelly not covered anymore by most recent sportwatches, since allmost all of them load all your data to some server in USA.

  1. Install GPSBabel
  2. Install Java
  3. Install mytourbook
  4. Load Tracks from Garmin Forerunner 305 with GPSBabel

Install GPSBabel

Quite simple from Linux Ubuntu Synaptic Package Manager as version gpsbable 1.5.4-2. There is nothig to explain …

Install OpenJDK 8

Open the terminal window to get the latest OpenJDK . It’s the runtime environment for Mytourbook:

sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk
sudo update-alternatives --config java
sudo update-alternatives --config javac

Install and start MyTourbook

  1. Download the latest MyTourbook.
  2. Unzip it and copy it to a directory you want to execute it from.
  3. Run mytourbook file in mytourbook directory as application

Load Tracks from Garmin Forerunner 305

Open the commandwindow and use this command to get all the tracks stored on your Garmin device in TCX format (Training Center XML):

gpsbabel -t -i garmin -f usb:0 -o gtrnctr -F my_runs.tcx

Once you have stored the tcx file on your machine you have to import it into MyTourbook and save it to the local(!) database of Mytourbook 🙂
MyTourbook in Linux Ubuntu

Posted in tutorial
Tags: , , , , ,
One comment on “Garmin Forerunner 305 with GPSBabel and MyTourbook in Linux Ubuntu 19.04
  1. Crishu says:

    Hi! Thanks for the blog post, still using the Forerunner 305 in 2019, almost 2020, a well made machine, great precision and battery life.
    After few updates in Windows, it was not recognized by Garmin Express anymore and didn’t want to launch that windows vm just for importing data from the device so I stumbled upon your blog post.
    I did every step and when I tried gpsbabel command I received this: “Claim interfaced failed: Device or resource busy”
    It is a known bug that the kernel module ‘garmin_gps’ is claiming the device, so I did ‘sudo rmmod garmin_gps’ and everything worked perfectly after that.
    Thought that maybe there are still users of Garmin 305 that have this problem.

Leave a Reply

Your email address will not be published. Required fields are marked *


By continuing to use the site, you agree to the use of cookies and load data from third parties. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.