Announcement

Collapse
No announcement yet.

Getting The Garmin Forerunner 410 to work in UBUNTU

Collapse
X
  • Time
  • Show
Clear All
new posts

  • Getting The Garmin Forerunner 410 to work in UBUNTU

    Thought I would post this up in here as I would probably look here first if I had this problem...

    I recently purchased the Forerunner 410 and soley use ubuntu at home.. I struggled like mad to get it to work however managed in the end with the following...

    I’ve got a Forerunner 410
    Got it working with the following ( I have basically cobbled together the below from various individual websites I have located that piece together the issues I have been experiencing)

    1. Make ubuntu “see the usb stick” and create the /dev/ttyUSB0

    sudo modprobe usbserial vendor=0x0fcf product=0×1008

    This created the /dev/ttyUSB0

    To make the change permanent, you can do

    echo “options usbserial vendor=0x0fcf product=0×1008″ >
    /etc/modprobe.d/ant-usb2.conf
    (do it as root, sudo -s makes you root)

    2.I was then able to use (this paired the computer/ant+ stick with the garmin watch)

    Open a Terminal for the installation [2]

    cd $HOME
    wget http://cgit.get-open.com/cgit.cgi/ga...master.tar.bz2
    tar -xjf gant-master.tar.bz2
    cd gant-master
    make clean

    make

    3. First make sure the watch was set to pairing set to yes and enabled set to yes
    set your wristwatch in Pairing mode as shown below

    Menu > Settings > ANT+Sport > Computer > Pairing > set to On

    The wristwatch will ask you whether you want to pair it or not. Also check that,

    Menu > Settings > ANT+Sport > Computer > Force send > set to Yes
    Menu > Settings > ANT+Sport > Computer > Enabled > set to Yes

    4. Pair the ant stick with the watch

    Then you have to make you are using the correct version of gant (i.e the one you have downloaded and compiled – make sure you put the ./ infront of the command else you may pickup any other version in your path)

    (where name_of_device is a name you give it.. i.e 410 etc the file “auth410″ is the shared key created by the command)

    This seemed to be wanted to be done as a “non-root” user…

    ./gant -f name_of_device -a auth410

    If you get the error gant: JAVA_HOME not set and cannot find javac to deduce location, please set JAVA_HOME it’s because you are picking the gant in your path not the one you have just downloaded.

    5. I could then use gant to download the contents of the watch

    ./gant -nza auth410 > output

    This downloaded the .TCX files into my $HOME

    here is one of the websites i used also has a cool way of setting up short cuts etc

    http://www.littleowl.net/2009/12/09/...405-on-ubuntu/


    Read more: http://www.thefloatingfrog.co.uk/gee...#ixzz18H4QQBz5

  • #2
    HUGE thanks for this!!!

    One note: I was cutting and pasting your commands from this post. The modprobe command 'sudo modprobe usbserial vendor=0x0fcf product=0×1008' has a problem that stumped me for quite a while. In this command string the 'x' in the product code (the '0x' means hexadecimal) is not really an 'x' it is a multiplication sign, and this causes the modprobe command to fail. It took me a long time to figure out the problem because the 'x' and the multiplication symbol are nearly identical.

    The command to make the modprobe addition permanent has the same problem.

    Thanks again!
    Last edited by dlotton; 11-12-2011, 01:12 PM. Reason: typo

    Comment


    • #3
      Note: I had to create a udev rule to automatically detect the ANT stick.

      Create the file (as root) '/etc/udev/rules.d/90-ant.rules' with the following contents:
      SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idProduct}=="1008", \
      ATTRS{idVendor}=="0fcf", MODE="0664", GROUP="plugdev", \
      RUN += "/sbin/modprobe usbserial"

      Comment


      • #4
        Thanks for the guide! This is exactly what I've been looking for. The link for the driver software doesn't appear to be valid anymore though. Anyone have an alternative?

        Comment


        • #5
          Originally posted by CHONEZONE View Post
          Thanks for the guide! This is exactly what I've been looking for. The link for the driver software doesn't appear to be valid anymore though. Anyone have an alternative?

          It looks like this has been adopted in the Debian/Ubuntu community. I believe the Debian package is available in the Ubuntu 11+ repos as 'garmin-ant-downloader'.

          See the following link. You can download the source from this location. See the 'Download Source Package garmin-ant-downloader' section on the right side of the page. Download the original source tar.gz.

          http://packages.debian.org/unstable/...ant-downloader

          Comment


          • #6
            Just an FYI,

            I've created a Python script for uploading files to Garmin Connect. You still need gant-master (now named garmin-ant-downloader) to get files off your device.

            Garmin Connect Python Uploader:
            https://sourceforge.net/projects/gcpuploader/

            Comment

            Working...
            X