Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-04-2008, 07:39 PM   #1
Registered: Sep 2007
Location: SW, UK
Distribution: Kubuntu 10.10 and Crunchbang
Posts: 46

Rep: Reputation: 18
Question pytrainer - setting up for garmin 305

I have tried to set up pytrainer 1.4.5 to import data from my garmin forerunner 305 so far without success. Below is the doc to explain how to make a plugin. I get lost at executable file. Any ideas, or has someone got a plugin for the FR 305,or is there a better option for linux and sports data?

A decent sports program eg sportstracks on windows keeps my laptop dual fuelled!

Build your own Gps Device Plugin
(pytrainer 1.2.0 and later)

Build your own Pytrainer gps device plugin is very easy.

* Make a dir in the plugins file.
for example: #mkdir /somepath/pytrainer/plugins/yourplugin
* Create a config plugin file.
for example: #touch /somepath/pytrainer/plugins/yourplugin/conf.xml
* Edit the conf plugin file with this code:

<?xml version="1.0" ?>
name="Plugin name (for example: Garmin 301)"
description="Plugin description (for example: Import from your garmin 301)"
plugincode="Internal plugin code without spaces (for example: garmin301)"
pluginbutton="Text to show in the button (for example: Import from Garmin 301)"
executable="The executable plugin script (for example:"
author="The author plugin (for example: Fulano Palotes)"
<conf-values variable="variable conf name (for example: device)"
value="variable conf default value (for example: /dev/ttyUSB0)"/>

* You can add so many conf-values lines in the conf plugin file as you need it.
* create the executable plugin script like you have named it in the conf plugin file.
For example: touch /somepath/pytrainer/plugins/yourplugin/
* Edit the executable plugin script. You can write it in any language. There are only two rules.
o Pytrainer will launch the executable plugin script with too many parameters as conf-values you defined in the plugin file.
For example, if your executable plugin script is and you have inserted one conf-value line in the plugin file (conf-values variable="device") pytriner will launch your executable plugin script in this way:
/path/ --device "value"
o Your script must print the gpx file path
* i wil write some several lenguages example plugins in the future
* Please, if you write a plugin, send me it by email in order to include it in pytrainer package.
Old 02-10-2008, 09:47 AM   #2
LQ Newbie
Registered: Feb 2008
Location: Caronno Pert.
Distribution: SuSE10.2
Posts: 1

Rep: Reputation: 0
Red face Installing PyTrainer...

I'm sorry to borry you by this way.
I have a lot of problems about the GtkEmbedMoz in running the pyTrainer... where you find this library in your distro?
I'm using SuSE10.2

Thanks a lot for your help!
Old 02-13-2009, 04:42 PM   #3
LQ Newbie
Registered: Dec 2008
Location: Gothenburg, Sweden
Distribution: Fedora, CentOS 7, Ubuntu, Arch, Raspbian
Posts: 19

Rep: Reputation: 10
I'm also trying to get this to work (pyTrainer, gpsbabel-1.3.6-1.fc10.i386, Forerunner 305 and Fedora 10).

I've found the config files and edited them (/usr/share/pytrainer/plugins/garmin-hr).
Found a reference to setting device to usb: instead of /dev/ttyUSB0 (which I did).

Now when I start pyTrainer I get another option in the File menu: "Import from Garmin (hr)". However it doesn't do anything... Except ask me if I'm sure I got a Garmin at usb:

It turns out I have to run pyTrainer as root to get it going. The watch beeps and the progressbar moves at a resonable speed. However I don't get any data into pyTrainer. At least it doesn't show anything.

Did you get it going? How did you do it?

Old 02-15-2009, 06:05 AM   #4
Registered: Sep 2007
Location: SW, UK
Distribution: Kubuntu 10.10 and Crunchbang
Posts: 46

Original Poster
Rep: Reputation: 18
No success Yet

i have not dabbled with pyytrainer for a while, it is was of the few reasons i still access a windows xp pc. I have just got another laptop with linux and will have another go in the next couple of weeks


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up pytrainer jonbvgood Linux - Software 0 10-14-2007 05:06 PM
Linux application to access Garmin Forerunner 305 data jonbvgood Linux - Software 1 09-23-2007 04:54 PM
kernel confıguratıon spawnasdf Slackware 2 03-14-2006 05:53 PM
Help with Ezonics EZ-305 Webcam d0ugb Linux - Hardware 0 03-07-2004 01:00 AM
3 D acceleration in sis 305 indradeep Linux - Hardware 0 10-26-2003 07:05 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:58 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration