Get data off of an Edge 500 with Linux

If you want to use a site like Strava or Ride With GPS to track your rides you’ll need to upload fit files from your Edge.  Luckily it is a quick and easy to do so.  First use `sudo blkid` to get the volume label so you can make an entry in /etc/fstab to easily mount the device. You’ll see something like this:

/dev/sdc: SEC_TYPE="msdos" LABEL="GARMIN" UUID="BF82-4CA9" TYPE="vfat"

You’ll want to use either the label or UUID values to point to your Garmin device, especially if you have several USB drives.  If you use /dev/sdc the next time you plug in your Edge it might be /dev/sdb or /dev/sdd instead.  If your only Garmin device is your Edge 500 go ahead and use the label, if you have more than one the unique ID in the UUID field will work best for you.  Below is the entry I made to my /etc/fstab file.

LABEL="GARMIN" /mnt/garmin vfat noauto,user 0 0

You can put the mount point, in my case /mnt/garmin, where ever you like. You’ll need root permissions to create a directory in /mnt, but the options in the above fstab entry will give ordinary users permission to mount the device there and read-write to the files on the device. The vfat option tells your computer the device is using a fat32 formatted filesystem, noauto prevents the device from being mounted automatically, and the user option was covered above. Since noauto is being used to mount the Garmin you have to use

mount /mnt/garmin

to be able to see the files stored onboard. When you are done use

umount /mnt/garmin

so that you don’t corrupt any files when you unplug the USB cable.

Once you’ve mounted your Edge navigate to Garmin/Activities.  In this directory you’ll find .fit files for each of your rides.  You can upload them directly from here or copy or move them to your hard drive for safe keeping.  You’ll want to clear the Activities folder from time to time, the Edge doesn’t have much storage space.

Advertisements
    • Frank
    • May 27th, 2014

    thank you!

  1. Thanks for this. I thought using a Garmin Edge would be hellish trying to get files off it. I wondered why Garmin didn’t allow USB Mass Storage mode…it seems they do!

    Are there only fit files, or gpx files too?
    And you need to hold down the Menu button when plugging in?

    • The Edge only creates FIT files, but you can use GPSBabel to convert those to gpx, csv, etc.

      If you’re just looking to copy files off of or on to your Edge you don’t need to hold down any buttons, just plug it in and you should see it as a mass storage device (in Windows anyway, not sure how it is handled on a Mac.)

  2. I am surprised it doesn’t create GPX or TCX files.

    Ummm on Windows? This post is about getting data off an Edge 500 on Linux right?

    • Oops, yeah! It’s been a while since I wrote this, and I’ve been mostly using Windows since. I should have read the post title!

      • “..I’ve been mostly using Windows since.”

        I feel for you.

  3. “..I’ve been mostly using Windows since.”

    I feel for you.

  1. June 20th, 2012
    Trackback from : My Homepage

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: