Alexander Karlstad. Blogger hovedsakelig om Linux og sånt.

Arkiv for stikkordet «activesync»

Get HTC Touch Diamond to work in Ubuntu with VirtualBox

ingen kommentarer

I am currently in position of a HTC Touch Diamond, but since I'm using Ubuntu as my native OS I was sort of hoping I didn't have to boot into Windows every time I want to transfer some music or just sync my contacts. So I started wondering how to get my USB devices show up in VirtualBox so that I could use them in my guest OSs, and here's what I managed to figure out.

This "guide" isn't just for getting a HTC Touch Diamond working with VirtualBox, but more like a general "how to get USB devices working in VirtualBox guests".

Getting ActiveSync working inside a guest OS in VirtualBox
First of all, you need to make sure you have set up usbfs correctly. I don't know what "getting usbfs to work" means, but I still got it working. We need to find out what the gid for the vboxusers-group is. The easiest way would be grepping /etc/group for "vboxusers", like this:

foo@bar:~$ grep vboxusers /etc/group

and you'll probably get a result like this:


and you'll se different values separated by colons ( 🙂 where the first (vboxusers) is the groupname, second (x) is the group password (normally jus

t an 'x' saying that no password is needed), third (125) is the group ID (gid) and the fourth (foo,bar) is a list of users that is a member of this group (usernames separated by com

Then we know our gid, which is 125, but this can be different on your computer!

Then we add a line to the /etc/fstab file, but remember to replace 125 in "devgid=125" with the group ID from your OS!

none        /proc/bus/usb   usbfs   devgid=125,devmode=664 0   0

And that's it! All you need to do to make it work now is to right-click on the cable-icon in the VirtualBox window and select your device 🙂

Skrevet av Alexander Karlstad

19. november 2008 klokken 12.35

Optimization WordPress Plugins & Solutions by W3 EDGE