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

Discussions related to using VirtualBox on Linux hosts.
Post Reply
eightbits
Posts: 3
Joined: 6. Apr 2009, 13:47
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP Pro

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

Post 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
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

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

Post by Sasquatch »

Check VirtualBox FAQ. It's /proc/bus/usb.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
pricesully
Posts: 2
Joined: 16. Mar 2009, 16:48

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

Post by pricesully »

have you let windows update?

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

good luck
eightbits
Posts: 3
Joined: 6. Apr 2009, 13:47
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP Pro

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

Post 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
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

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

Post by Sasquatch »

You need to change your fstab entry to match that of the FAQ. Of course the GID is different.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
eightbits
Posts: 3
Joined: 6. Apr 2009, 13:47
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP Pro

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

Post 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.
Post Reply