Page 1 of 1

failed to attach the USB device

Posted: 21. Mar 2013, 18:06
by ogg
hi,

I have a problem with usb devices. When i plug my usb device in and try to install it, it says:

Failed to attach the USB device Corsair Flash Voyager [1100] to the virtual machine Ubuntu_1.

USB device 'Corsair Flash Voyager' with UUID {f8cb3ccf-3723-44b5-b728-b244cd276418} is busy with a previous request. Please try again later.

Result Code: E_INVALIDARG (0x80070057)
Component: HostUSBDevice
Interface: IHostUSBDevice {173b4b44-d268-4334-a00d-b6521c9a740a}
Callee: IConsole {db7ab4ca-2a3f-4183-9243-c1208da92392}


Host OS is Win 7 64-bit and virtual machine is Ubuntu 11.10, virtualbox version is 4.2.10 + extension pack.
Usb filter did not solve my problem.

Im looking for solution.
Thank you very much!

Re: failed to attach the USB device

Posted: 21. Mar 2013, 18:17
by mpack
Do everything below that you have not already done. Maybe do it again anyway.
  1. Install the VirtualBox Extension Pack (provides USB 2.0 support: note that the extension pack is NOT the Guest Additions).
  2. With the VM shut down, create a USB filter (in VM settings|USB) to capture your device.
  3. Boot up VM, when boot is finished, plug in device.
  4. A "new hardware found" dialog will appear. This is actually VirtualBox on the HOST, wanting to install a filter driver in the HOST which redirects USB messages. Allow the driver to be installed automatically. You may need admin rights for this, I'm not sure.
  5. Unplug the device, wait a few seconds, plug it in again. The guest should pick it up, as it should from now on.
Basically, always plug the device in after the guest has booted up.

Re: failed to attach the USB device

Posted: 23. Mar 2013, 15:17
by ogg
I followed your instructions and succeeded with integrated web cam installation, but problem with flash memory still remains. Maybe im doing something wrong..

Image
Image
Image

Re: failed to attach the USB device

Posted: 25. Mar 2013, 12:09
by Nicolas C
Same problem here while trying to attach an USB dongle or any USB thumb.

I've tried mpack instruction, but I don't get any new hardward found dialog, and the device is not ticked in the right-click USB menu while the message (when the mouse is over the device) says that the device is captured, but it's not.

I'm struggling with that issue since a couple of days, trying several tips:
  • trying every combination of starting the VM, (un)plugging the device, rebooting, with(out) a filter (in VirtualMachine USB config)
  • killing every processus on the host that may occupy the device
  • using USB1.1 mode
  • changing the filter
  • killing VBoxSVC exe on the host
that I read from many posts (in this forum and elsewhere, even in a bug report discussion, sorry I cannot post links as it's my 1st post here).

The only thing I haven't been able to test is to downgrade the USB support from USB 3 to USB 2 since the BIOS of my computer doesn't seem to offer that feature (Dell Vostro 3560).
Note that I've been able to catpure the Card reader and the webcam Embedded to the laptop (certainly using USB 2 or 1.1) but no device "outside" the laptop.

Re: failed to attach the USB device

Posted: 25. Mar 2013, 13:07
by zephyrus
I faced a similar issue when I upgraded to 4.2.10
Host: win XP
guest: Debian GNU/Linux 32 bits

I had to downgrade to 4.2.8 and associated extension pack to make it work.

So I was convinced that something was amiss with 4.2.10 and looked for others
who may have been affected similarly.

Then I found someone in Japan who posted that he/she found the
GuestAdditions tool included in downloaded win-installation-binary .exe seems to be corrupted.
It was advised that the GuestAdditions tool be downloaded separately.
Don't know if this fixes the USB problem, but the corruption seems to be real.
Others have followed up.

Hope this may help.

Re: failed to attach the USB device

Posted: 25. Mar 2013, 13:33
by mpack
The Guest Additions ISO was indeed corrupted, a problem that was fixed within hours of the new release being available. If you downloaded the 84105 build then you did not get the corrupted ISO.

Of course there is another serious problem with your theory, and it's that the GAs have nothing whatever to do with USB.

Re: failed to attach the USB device

Posted: 26. Mar 2013, 10:21
by ogg
Nicolas C wrote:Same problem here while trying to attach an USB dongle or any USB thumb.

I've tried mpack instruction, but I don't get any new hardward found dialog, and the device is not ticked in the right-click USB menu while the message (when the mouse is over the device) says that the device is captured, but it's not.

I'm struggling with that issue since a couple of days, trying several tips:
  • trying every combination of starting the VM, (un)plugging the device, rebooting, with(out) a filter (in VirtualMachine USB config)
  • killing every processus on the host that may occupy the device
  • using USB1.1 mode
  • changing the filter
  • killing VBoxSVC exe on the host
that I read from many posts (in this forum and elsewhere, even in a bug report discussion, sorry I cannot post links as it's my 1st post here).

The only thing I haven't been able to test is to downgrade the USB support from USB 3 to USB 2 since the BIOS of my computer doesn't seem to offer that feature (Dell Vostro 3560).
Note that I've been able to catpure the Card reader and the webcam Embedded to the laptop (certainly using USB 2 or 1.1) but no device "outside" the laptop.
I've tested both usb versions and it seems the problem is somewhere else.

Re: failed to attach the USB device

Posted: 8. Apr 2013, 16:33
by Nicolas C
I downgraded to version 4.2.8 with no luck.

Re: failed to attach the USB device

Posted: 10. Apr 2013, 11:29
by Nicolas C
I know this is not a solution, but I solved the problem using VMware Player instead (as this was a need for working reason, I have no time to dive into that issue any further).
I can attach and use withouy any trouble my USB dongle.

Good luck to others.

Re: failed to attach the USB device

Posted: 3. May 2013, 18:47
by skywalker_per
Hi all,

I had the same issue with my Vostro 3560. The only workaround I found was to uninstall the Intel USB3 drivers so my computer will use USB2.
The tradeoff is that your USB3 ports will work as USB2 so only do this if you are able to sacrifice USB3 speeds until there is a fix for it.

I did the following:
- Go to Control Panel -> Programs -> Uninstall a program
- Look for "Intel(R) USB3 Software...." (can't recall the exact name) and uninstall it.
- If you are using a USB keyborad or mouse, they may stop working. Just use your notebook's keyboard and touchpad.
- Go into your bios and make sure "USB Emulation" is disabled. (On my bios it was on the "Advance" menu).
- Done.

Re: failed to attach the USB device

Posted: 7. May 2013, 04:08
by gciriani
Thanks mpack, I think it worked.