VirtualBox

Ticket #10844 (new defect)

Opened 20 months ago

Last modified 4 weeks ago

Failed to attach the USB device to virtual machine

Reported by: ronys Owned by:
Priority: major 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

comment:1 Changed 20 months ago by ronys

Same issue with 4.1.20.

comment:2 Changed 20 months ago by lordzoster

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 20 months ago by lordzoster (next)

comment:3 Changed 15 months ago by GK64

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

comment:4 Changed 4 weeks ago by Sam_

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}

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use