Archive

Author Archive

Garmin Forerunner 405 (ANT USB2) in Linux

Today is my birthday… wahey!

Having reached that point in life where you either have to “get fat or get fit”, a few months ago I started running again… on sunny days where I feel vitalised.

My wife kindly has bought me a Garmin Forerunner 405, which comes with a Garmin “ANT+” dongle and per normal no windows support. After pouring over much of google, I finally got it working in Linux Fedora and here is how.

Making the device be recognised to the system

My device reported (via lsusb) as follows

Bus 003 Device 005: ID 0fcf:1008 Dynastream Innovations, Inc.

Which apparently is a Version 2 Garmin device, and on plugging did not get a /dev/ttyUSB0 as most articles expected. A bit more digging in posts found this valuable snippet

sudo modprobe usbserial vendor=0x0fcf product=0x1008

This finally gave me a device in the form of /dev/ttyUSB0

Connecting and Downloading Software

To do this you need a piece of software called gant and be warned there are two pieces of software out there with the same name. The one you need is http://cgit.get-open.com/cgit.cgi/gant/….. BUT I found on x86_64 that is was causing segmentation faults. Luckily I found this one https://forums.garmin.com/attachment.php?attachmentid=2744&d=1277845163

So download it, unpack it and build it

gunzip gant-wbell-20100629.tar.gz
tar-xvf gant-wbell-20100629.tar
cd gant-wbell-20100629
make

You can now pair the device. On the Forerunner ensure under settings > computer that pairing is on, force send is on and enabled is on. Issue the following command. This will pair the device

./gant -f mydevname -a auth405

Once done you can either use the command line as follows

./gant -nza auth405 > output

Which will create a tcx v2 file which can be imported for instance into Garmin Connect or as follows something more Linux native.

I much prefered the program

./GantMonitor.py

Which Gave a nice icon on my Gnome taskbar

pytrainer

I will skip howto install pytrainer. There is enough out there, but to concentrate on how to import your file.

In pytrainer select File > Import. Select the plugins tab. It will appear as follows

Click the “Garmin Training Center File (v2)” configure button. Select Enabled. Once done you can click run and pick the file you want to import.

References

http://groups.google.com/group/golden-cheetah-users/browse_thread/thread/341ff35f231ee7b2

https://forums.garmin.com/showthread.php?t=9799

Advertisements
Categories: Computer Techie Stuff