<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Christoffer Kjølbæk &#187; Running</title>
	<atom:link href="http://ostehamster.dk/blog/index.php/category/running/feed/" rel="self" type="application/rss+xml" />
	<link>http://ostehamster.dk/blog</link>
	<description>I have a blog, therefore I am…</description>
	<lastBuildDate>Sat, 14 Aug 2010 12:47:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9-rare</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Pytrainer in Ubuntu 8.04 Hardy Heron</title>
		<link>http://ostehamster.dk/blog/index.php/2008/05/03/pytrainer-in-ubuntu-804-hardy-heron/</link>
		<comments>http://ostehamster.dk/blog/index.php/2008/05/03/pytrainer-in-ubuntu-804-hardy-heron/#comments</comments>
		<pubDate>Sat, 03 May 2008 14:02:56 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Hardy]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Running]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/index.php/2008/05/03/pytrainer-in-ubuntu-804-hardy-heron/</guid>
		<description><![CDATA[Pytrainer didn’t work for me under Ubuntu 8.04, because my Garmin Forerunner wasn’t attached to /dev/ttyUSBx something which Pytrainer assumes.
To use gpsbabel and Garmin Forerunner, a command like the one below is used
gpsbabel -t -i garmin -f usb: -o gtrnctr -F /tmp/file.gtrnctr
“usb:” is the input device. The problem is that Pytrainer checks if the device [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://pytrainer.e-oss.net/index.php">Pytrainer</a> didn’t work for me under Ubuntu 8.04, because my Garmin Forerunner wasn’t attached to /dev/ttyUSBx something which Pytrainer assumes.</p>
<p>To use gpsbabel and Garmin Forerunner, a command like the one below is used</p>
<blockquote><p>gpsbabel -t -i garmin -f usb: -o gtrnctr -F /tmp/file.gtrnctr</p></blockquote>
<p>“usb:” is the input device. The problem is that Pytrainer checks if the device exists as a file/directory, which it doesn’t. The workaround is to open <code>/usr/share/pytrainer/plugins/garmin-hr/main.py</code> and change</p>
<blockquote><p>if not os.path.exists(options.device):</p></blockquote>
<p>into</p>
<blockquote><p>if (not os.path.exists(options.device) and not options.device == "usb:"):</p></blockquote>
<p><strong>Updated 04-05-08 12:41:</strong><br />
<a href="http://sourceforge.net/mailarchive/message.php?msg_name=ddc176860805040155k303152d2wda9ab73cd0a33481%40mail.gmail.com">Philippe Piquer</a> just pointed out that the reason it don't work in Ubuntu 8.04, is that the garmin_gps module has been blacklisted. According to /etc/modprobe.d/blacklist because<br />
<blockquote># most apps now use garmin usb driver directly (<a href="https://bugs.launchpad.net/ubuntu/+source/module-init-tools/+bug/114565">Ubuntu: #114565</a>)</p></blockquote>
<p><strong>Updated 04-05-08 21:21:</strong><br />
There must be a file <code>/etc/udev/rules.d/51-garmin.rules</code> containing</p>
<blockquote><p>SYSFS{idVendor}=="091e", SYSFS{idProduct}=="0003", GROUP="plugdev", MODE="660"</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2008/05/03/pytrainer-in-ubuntu-804-hardy-heron/feed/</wfw:commentRss>
		<slash:comments>50</slash:comments>
		</item>
	</channel>
</rss>
