Sunday, March 1, 2009

GARMIN Forerunner 301 sync with Virtualbox and Ubuntu 9.04

Step 1: (Edit fstab)

Edit /etc/fstab and add the following at the bottom (it is all on one line):

usbfs /proc/bus/usb usbfs auto,busgid=1000,busmode=0775,devgid=1000,devmode=0664 0 0 boot.local: mount usbfs

Reboot.

I've found that if I do not change the fstab, I end up with Windows not showing the Garmin device in the control panel.

Step 2: (Add filter - may be optional)

Add a USB filter in virtualbox to add the Garmin entry. For me it says unknown device.

Step 3: (Test via Control Panel)

Start virtualbox and your copy of windows where you have installed the Garmin Training Centre software. Open the Device Manager under the control panel. Disable the Garmin Driver and then re-able the Driver. The Training software should now start syncing with the watch.You have to do this everytime you start windows.

Step 4: (Install Devcon)

Re-enabling the driver each time you start Windows gets old real quick, so lets see if we can automate the procedure. This tip comes from the Occasional Reporter.

Download the Devcon utility from Microsoft at: http://support.microsoft.com/kb/311272

This will allow you to manipulate the device drivers similar to what the control panel is doing. The file that you download is a self extracting archive. Extract it to the C:\devcon folder inside the Windows vitual machine. The actual executable sits in C:\devcon\i386.

Step 5: (Create Shortcut)

Create/Copy the Garmin Training software shortcut and place it on the desktop. Right click on the shortcut and select 'properties'. Change the 'target' field to C:\Devcon\i386\devcon.exe restart @usb\VID_091E*. Change the 'start in' field to C:\devcon\i386\

The properties should look like this:

We are done ! Everytime you click on the shortcut, devcon will reset your garmin device driver and automatically start the Training Center Software.

blog comments powered by Disqus