Page 1 of 1

Can't get USB to work in Windows XP Guest OS

Posted: 6. Apr 2009, 13:52
by eightbits
I have Ubuntu 8.10 and VirtulBox 2.1.4.

I have tried all sorts of things but I cannot get USB devices to be detected by the guest OS.

Virtual box detects them and I am able to make filters for them. Once I select the device in Virtual Box though, windows never detects it.

I have gone into fstab and added the following line but that also didn't fix the issue:

none /sys/bus/usb/drivers usbfs devgid=501,devmode=664 0 0
(I put the VboxUsers ID for devgid).

Can anyone help me out?

Thanks

Re: Can't get USB to work in Windows XP Guest OS

Posted: 6. Apr 2009, 14:17
by Sasquatch
Check VirtualBox FAQ. It's /proc/bus/usb.

Re: Can't get USB to work in Windows XP Guest OS

Posted: 6. Apr 2009, 14:35
by pricesully
have you let windows update?

I did that and usb came on-line after the restart

good luck

Re: Can't get USB to work in Windows XP Guest OS

Posted: 6. Apr 2009, 23:41
by eightbits
Sasquatch wrote:Check VirtualBox FAQ. It's /proc/bus/usb.
I went through the manual and found the follwing:
VirtualBox can only proxy to virtual machines USB
devices which are not claimed by a Linux host USB driver. Please refer to the Driver=
entry in /proc/bus/usb/devices to see which devices are claimed.
I opened the devices file in vim and didn't see any mention of the "Drivers =" line. It is definitely being picked up by VirtualBox because Ubuntu wont detect it as long as it is checked off in VirtualBox.

I am currently doing the Windows updates to see if that helps, but is there something else that I am missing?

Thanks

Re: Can't get USB to work in Windows XP Guest OS

Posted: 6. Apr 2009, 23:47
by Sasquatch
You need to change your fstab entry to match that of the FAQ. Of course the GID is different.

Re: Can't get USB to work in Windows XP Guest OS

Posted: 7. Apr 2009, 00:35
by eightbits
Sasquatch wrote:You need to change your fstab entry to match that of the FAQ. Of course the GID is different.
Here is how my fstab looks:

Code: Select all

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/sda1
UUID=619bad25-aa3b-4217-b54c-79b3c6e1d6ec /               ext3    relatime,errors=remount-ro 0       1
# /dev/sda5
UUID=20992cd4-7f25-40e7-9c5c-3fa24d70ddd3 none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
#
none /proc/bus/usb usbfs devgid=125,devmode=664 0 0
I found the devgid for vboxusers in group management.

Updating windows to SP3 did nothing. I also found an article saying to change permissions on /etc/udev to 777, but that didn't work either.