jesnow l33t
Joined: 26 Apr 2006 Posts: 856
|
Posted: Sat May 03, 2014 10:24 pm Post subject: Garmin Forerunner 305 with Strava the gentoo way |
|
|
Like many athletes I like to upload my workouts to strava using the garmin plugin to
major browsers. Until recently I had been booting into windows every couple of days
to do this. @#$#@#! But no more.
There is a 3rd party nsplugin that reads the Garmin and works with strava, Hooray!
It's called sci-geosciences/garminplugin. Please read to the end before starting, it gets
a little tricky.
Currently, the highest numbered version I found is sci-geosciences/garminplugin-0.3.22-r1
It depends on stuff in portage (no problem) and app-misc/garmintools-0.10
Google those ebuilds, save them in your local overlay (I had to figure out how to do
this), then digest them, eg:
Code: |
ebuild garminplugin-0.3.22-r1 digest
|
This version of garminplugin knows it's masked, so you have to keyword it, the line in
/etc/portage/package.keyworlds looks like
Code: |
# sci-geosciences/garminplugin **
|
Why the ** and not the usual ~x86? I don't know. I only know it won't install with
~x86 in there.
Here's where it gets tricky: I couldn't get the newest garminplugin to work. The
next most recent one is 0.3.20. BUT it depends on sci-geosciences/garmintools
(notice the different category). SO you have to uninstall garmintools from app-misc
and reinstall it in sci-geosciences. The ebuild is the same file though. I was able to
leave both ebuilds in place, but had to emerge them with the full packagespec, eg:
Code: |
emerge app-misc/garmintools
|
Then emerge garminplugin.
Next test whether the 305 is talking to the plugin:
Code: |
$ garmin_get_info -v
|
This should give you a big glob of XML, if so, all is OK. Strava.com should now "just work".
If you get a permission error, then you need to add a udev rule. Create a file
named /etc/udev/rules.d/51-garmin.rules, and enter in it:
Code: |
ATTRS{idVendor}=="091e", ATTRS{idProduct}=="0003", MODE="666"
|
Then restart udev.
If you are using a different device, then you’ll need the appropriate vendor or
product ids. If anybody knows these for other garmin models, please post here.
CF the following site:
http://lookonmyworks.co.uk/2014/02/01/uploading-data-from-a-garmin-forerunner-305-on-arch-linux/
cheers
jon. |
|