Using the Garmin Edge 305 and VirtualBox

Posted by Scott on May 9th, 2008

The Garmin Edge 305 is a really cool bike computer which includes GPS features to map rides in addition to the typical speed and mileage information. I recently picked one up and am looking into getting it working under Linux.

Before I explore my Linux options, I wanted to see what the Garmin Training Center Software was like under Windows. I run Windows XP within a VirtualBox virtual machine which is running on top of my Ubuntu Gutsy OS. Getting USB devices to work with virtual machine guests is not simple, so I thought I’d share the resources I used to get it working.

First, to set up the USB system requirements that VirtualBox needs on Ubuntu Gutsy, you need to follow this guide. It will walk you through creating a separate group for USB access and enabling the usbfs support which is disabled by default in Gutsy.

Once you’ve done that, follow the remaining steps in that guide to configure your VirtualBox XP guest to access the Garmin’s USB device ID. By this point you will then almost be able to access the device fully within the WinXP guest by right-clicking on the VirtualBox USB icon and checking the Garmin USB device. Unfortunately this isn’t enough to trigger the Garmin gStart daemon.

To resolve this final problem, open up the Windows XP device manager (right-click My Computer->Properties and select the Hardware tab). Within the device manager you need to disable and then re-enable the Garmin USB GPS device, and gStart will properly detect the connection event and allow you to access the device from the Training Center software.

That’s the magic incantation you need to get this device working properly using a VirtualBox VM.

Update 2009-07-25: There is a better way you can automate the restarting of the Garmin device. Check out these instructions for details – they worked great for me. And thanks riaan for the tip!

9 Responses

  1. Marcus Says:

    Great hint!! You made my day. I almost thought I had to boot windows now every time I’d like to download my training data.
    Regards Marcus

  2. adam Says:

    Wow… it seemed like far too much work to get any results worth having with the linux tools for my garmin. Thanks for the great tip!

  3. Kevin Says:

    Awesome.. I had almost given up getting Training Center working in VirtualBox. Thanks for the tip! It’s an odd bug, wonder if it’s a VirtualBox problem or a Training Center problem?

  4. riaan Says:

    There is a way to automate this. See post: http://linux.digitalsp.com/2009/03/garmin-forerunner-301-sync-with.html

  5. Dago Says:

    Oh my god YES! You totally made my day. I’ve been trying to get my 305 work in virtualbox LITERALLY for FIVE hours, I’ve reinstalled and updated virtualbox, the whole guest os, tried EVERYTHING but the softwares couldn’t detect the 305. And the solution is this simple, gah.

  6. Grant Says:

    Thanks for the great ‘how-to’. This is the first usb device that I have battled to connect to since I have been using usb devices on VirtualBox. Your description worked great and thanks for the links to the other great sites too.

  7. hunter Says:

    Thanks a million! It costs me a whole day before I found your how-to.

  8. dave Says:

    Thanks man. My 305 was my last thing to get working in a Linux box. The trick of disable/enable was all I needed.

  9. steven Says:

    Can you update the link to update USB system requirements ?

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

Blog Badges



[FSF Associate Member]

Archives