VirtualBox

Opened 12 years ago

Last modified 4 years ago

#10844 new defect

Failed to attach the USB device to virtual machine

Reported by: Rony Shapiro Owned by:
Component: USB Version: VirtualBox 4.1.18
Keywords: USB E_INVALIDARG Cc:
Guest type: Linux Host type: Windows

Description

64bit Windows 7 host, various 32 and 64 bit Linux guest distributions, 4.1.18r78361 extensions package installed.

Cannot get USB device to be recognized by guest (check via lsusb). Sometimes, selecting the device in the Devices->USB Devices menu just has no effect (entry doesn't get checked), and sometimes I get the following:

Failed to attach the USB device Yubico Yubikey II [0224] to the virtual machine pws-deb6.

USB device 'Yubico Yubico Yubikey II' with UUID {3c66074d-0580-47fd-921e-81da094dd391} 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 {1968b7d3-e3bf-4ceb-99e0-cb7c913317bb} ---

Notes:

  • Other USB devices can be successfully attached.
  • Playing with the USB filter settings has no effect.
  • On another 64bit Windows 7 host, running the same versions of VirtualBox and guest, the same (physical) device is successfully passed through to the guest. (Unfortunately, I need this working on the machine that fails...).

Please advise.

P.S. The device vendor has offered to provide assistance, including device samples.

Change History (7)

comment:1 by Rony Shapiro, 12 years ago

Same issue with 4.1.20.

comment:2 by Raffaele, 12 years ago

same issue with 4.1.18 and 4.1.20 on OS X Lion, with different guest OSs (Windows 2008 R2 64, Windows 7 64, Ubuntu 12, Debian) and different USB mass storage devices (WD MyPassport, Samsung Galaxy S2 phone in USB mass storage mode, etc.)

Version 0, edited 12 years ago by Raffaele (next)

comment:3 by GK64, 11 years ago

Same issue here with a Nexus 7. Trying to use Oracle Mobile development but can't deploy to a tablet.

comment:4 by Sam_, 10 years ago

Same issue here but the problem is not specific to one device. Meaning sometimes a device works and sometimes it doesn't, the problem is not related the device but more likely seems related to the state VirtualBox is in. I don't know the exact steps to reproduce but it is related to either how many devices are attached or attaching and un-attaching devices. Windows 7 Professional 64 bit host all Windows updates are up-to-date (3/20/2014), VirtualBox 4.3.8 r92456, Ubuntu 12.04 Guest (also all packages are up-to-date in guest). Very annoying. I've tried different USB ports but with no luck. I've also tried other devices when in this state but I can't attach any devices. I usually have to re-start to work around which costs me a lot of time because I have to re-initialize my environment to get back to where I was.

The [approximate] steps to reproduce this error for me are:

  • Attach a Bluetooth USB dongle by going to Devices -> USB Devices and checking [My Device]
  • Attached another Bluetooth USB dongle in the same way.
  • Use the dongles for an arbitrary amount of time.
  • Detach both dongles by going to Devices -> USB Devices and un-checking the device.
  • Unplug both dongles from the computer.
  • Insert a new USB Bluetooth dongle to the computer.
  • Re-attach the new USB Bluetooth dongle by going to Devices -> USB Devices and checking [My Device 3]
  • Insert another USB Bluetooth dongle to the computer.
  • Then re-attach the USB Bluetooth dongle to the VM.
  • Here's where things go wrong, after going back in to the Devices -> USB Devices I see that my device does not have a check mark beside it even though I just attached it. I try to re-attach the device again by going to Devices -> USB Devices and checking [My Device 4], but that's when I get the error reported by this ticket (the error in my case is posted below).

Useful link for others having this problem (some of the suggested work arounds in this forum don't apply to my system, and the ones that do apply don't work for me):

https://forums.virtualbox.org/viewtopic.php?t=10276

The exact error message:

Failed to attach the USB device CSR8510 Nanosira M2272 [7558] to the virtual machine Ubuntu_12_04_75_GB_Dynamic. USB device 'CSR8510 Nanosira M2272' with UUID {74ef7689-6a06-4c15-8a5c-80f26c5ba818} 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 {8ab7c520-2442-4b66-8d74-4ff1e195d2b6}

comment:5 by silverbody, 9 years ago

I am having the same issue on 4.3.30. My host machine is Windows 7 x64 professional the guest is Solaris 11.2. Every time I attempt to attach this usb device I either get this error or the guest shell completely hangs. I have tried it with and without the usb extension. The device says it's captured but I am unable to get the check mark to show next to the device. First click on the devices captures it without the check mark second click cause the following error.

Failed to attach the USB device MobileMate SD+ [9404] to the virtual machine Solaris.

USB device 'MobileMate SD+' with UUID {d669ec5c-a313-4410-a42b-d4b7f67f78a3} 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 {8ab7c520-2442-4b66-8d74-4ff1e195d2b6}

comment:6 by rajeev0047, 8 years ago

Solved by the uninstalling device from Host machine. I faced with a bio-matric device with Vbox- 5.0.16. Might helpful for someone.

Last edited 8 years ago by rajeev0047 (previous) (diff)
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use