can not connect usb in guest

Discussions related to using VirtualBox on Windows hosts.
Post Reply
hasse
Posts: 11
Joined: 10. Feb 2015, 17:56

can not connect usb in guest

Post by hasse »

i have read tons off postings on this, tried several things . but still not able to get usb to work on guest. 4.3 10 r93012 with the extension pack installed
the usb shows up on host disappears when i start vm get the error faild to attach the usb device xxxxxxxx to the virtual machine
usb device xxxxxx is busy with a previous request please try again

Result Code:
E_INVALIDARG (0x80070057)
Component:
HostUSBDevice
Interface:
IHostUSBDevice {173b4b44-d268-4334-a00d-b6521c9a740a}
Callee:
IConsole {8ab7c520-2442-4b66-8d74-4ff1e195d2b6}
tried several usb devices running out of ideas
hasse
Posts: 11
Joined: 10. Feb 2015, 17:56

Re: can not connect usb in guest

Post by hasse »

host is win 8, guest win xp.
hasse
Posts: 11
Joined: 10. Feb 2015, 17:56

Re: can not connect usb in guest

Post by hasse »

hers the log file
Attachments
VBox.log
log file
(78.77 KiB) Downloaded 127 times
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: can not connect usb in guest

Post by socratis »

hasse wrote:i have read tons off postings on this, tried several things
OK, I'd like to know what you tried. Exactly. Also, if you have any filters, if your USB ports are 2.0 or 3.0 and the information about the USB devices. You should know from your reading that I need the output of 1) 'VBoxManage list usbhost' and 2) 'VBoxManage showvminfo hans'.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
hasse
Posts: 11
Joined: 10. Feb 2015, 17:56

Re: can not connect usb in guest

Post by hasse »

I have usb 3 ports the usb devise I really need to get working is this Kingston data traveler 2.0 vendor id 0930 p id 6545 rev 0100 , it has software licens keys I need to activate the software on my vm so I have done this

General advice for connecting any USB device to a Windows guest

The steps I use to connect any USB device to a VM are as follows.
(Note: if it's a USB3 device then it will only be supported on Windows hosts in a USB2 port - other hosts won't support it at all).

1.Install the extension pack. This is not the same as the Guest Additions! The extension pack is installed on the host and adds a number of closed source special features to the otherwise open source VirtualBox software. The closed source features include support for a virtual USB 2.0 host controller, which allows connection of most current USB devices (at the time of writing, USB 3.0 exists but is still "high end" and not yet supported by VirtualBox).


2.Enable the "USB Controller" and "USB 2.0 (EHCI) Controller" options in the VM settings. If these were previously disabled then I like to boot up the VM at this point so that the guest OS can auto-detect the USB controller and install drivers for it. I then shut the guest down again. At this point the guest has only seen the controller - no actual USB devices were connected. This step ensures that when I later get the "New hardware found" dialog then I will not get confused over what hardware has been found.


3.In the VM settings USB | filters panel, add a filter to match the USB dongle. A blank filter will match anything, which is good if the device appears as a composite, i.e. presents as a number of different devices all connected at once. However the danger of a blank filter is the potential to grab the wrong device, e.g. you do not want to grab the hosts USB keyboard and assign it to the guest! (the host must have a keyboard, so it can't just be rudely grabbed and assigned to the guest: the host must own the keyboard and sends keystrokes to the guest as needed). If you have a problem with the wrong device being grabbed then you'll need to add information to the filter so that it matches the dongle only. In the case of my Huawei dongle I created a filter in which only the vendor ID field (Huawei) was filled in. This prevents most problems provided I continue to only use one Huawei device on my PC.


4.Now with the USB device unplugged, start up the VM. Wait until the guest OS is finished booting up (e.g. you reach the desktop in a Windows guest, and disk activity has stopped), then plug the USB device into a host port. On Windows hosts a "New hardware found" dialog box will appear. Don't let this fool you: this dialog is not the guest detecting your USB device, this prompt actually comes from VirtualBox on your host, and it's asking if it can install the USB filter driver, i.e. the driver that intercepts USB messages from this device and redirects them to the VM. You need to allow this to happen, so click "Not at this time" to the internet search question, then "Install the software automatically" to the driver location choice.
WARNING: on some hosts the protection level will be set so high that attempts to install the USB filter driver are automatically blocked without even prompting you. You'll never get USB working on such a host; you must have the host configured to at least prompt you when asked to install a device driver.


5.Once the host filter driver has been installed, I like to unplug the USB device and plug it back in again. Now the guest should grab the device smoothly and you should be ready to rock 'n roll.
The procedure outlined above works best with generic USB mass storage devices, because the Windows guest (XP and later) has native support for these and hence doesn't need you to install any further drivers. I suggest that you practice these steps with a USB thumb drive, and get the procedure down pat before you tackle devices that need additional drivers, such as the Huawei E3131.mpack Site Moderator Posts: 16173Joined: 4. Sep 2008, 17:09Primary OS: MS Windows XPVBox Version: PUELGuest OSses: Mostly XP

I have tied with or with out filters .I have modified the filters so it only has vendor names .
I have enabled /disabled usb 2.0 controller
I have disconnected the usb, reconnected it rebooted the vm rebooted the host after changes to filters and other settings
I did go to register editor and deleted a file called upperfilters did not help so I put it back in I can not find 1) 'VBoxManage list usbhost' and 2) 'VBoxManage showvminfo hans'. so you might have to tell me were to look. there is a file called vboxmanage.exe but im not able to open it
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: can not connect usb in guest

Post by socratis »

I didn't ask you to copy-paste someone else's comment. I asked what you did, not somebody else. Anyway, I will assume that you followed these steps.

Open a Command Prompt window. Navigate to the VBox installation directory (typically "C:\Program Files\Oracle\VirtualBox\"). Run "VBoxManage ...". Post the output.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
hasse
Posts: 11
Joined: 10. Feb 2015, 17:56

Re: can not connect usb in guest

Post by hasse »

infovm.txt
(3.71 KiB) Downloaded 163 times
hasse
Posts: 11
Joined: 10. Feb 2015, 17:56

Re: can not connect usb in guest

Post by hasse »

usb host.txt
(787 Bytes) Downloaded 171 times
samtweet
Posts: 35
Joined: 30. Oct 2013, 19:47
Primary OS: MS Windows other
VBox Version: OSE other
Guest OSses: Win 7, Ubuntu

Re: can not connect usb in guest

Post by samtweet »

I had a similar problem with Windows 7 64 bit Ult. host. The solution was that a Registry entry in the Win 7 host was blocking USB connections to the Guest.
It could be that the same problem exists in Win 8.1.

This is how my USB problem was solved:

I deleted the "upperfilters" entry at this location:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{36FC9E60-C465-11CF-8056-444553540000}

Use this with caution and make sure to export/backup the registry before making any changes.

This worked in Win 7 Ult, I do not have Win 8.1 so cannot be sure that this solution is applicable
hasse
Posts: 11
Joined: 10. Feb 2015, 17:56

Re: can not connect usb in guest

Post by hasse »

Thanks for the reply i have already done that and it dident work

i will give it another shoot and see if it will works, all i did whas change the name on the file, maybe i need to delet it
hasse
Posts: 11
Joined: 10. Feb 2015, 17:56

Re: can not connect usb in guest

Post by hasse »

my cpu has usb 3.0 ports after doing a lot of reading it seams that you can not conect usb to vrtualbox through 3.0 ports

somewhere i read that if i use a 2.0 hub/switch it might work as it then apears as i 2.0 can somebody confirm if thats the case??
Post Reply