Opened 8 years ago
Last modified 7 years ago
#15588 new defect
USB device passthrough does not work
| Reported by: | filipposironi | Owned by: | |
|---|---|---|---|
| Component: | USB | Version: | VirtualBox 5.0.24 |
| Keywords: | hp-probook-6560b | Cc: | renato.sironi@… |
| Guest type: | Windows | Host type: | Windows |
Description
Hello,
Since a couple of months, I'm having trouble passing through USB devices to virtual machine. My host operating system is Windows 7 x64 Professional with all the updates and I'm running the latest version of VirtualBox (this happens with all the latest version and since I've had the problem reverting doesn't seem to do anything).
In the VirtualBox log I've found this line, which is added twice every time I try to assign a USB device:
USBPROXY usbLibDevCfgDrGet: DeviceIoControl 1 fail winEr (31)
At the very beginning of each log file I also see the following:
usbLibDevCfgDrGet: DeviceIoControl 1 fail winEr (31)
which I've seen in a lot of log files (not related to this problem) on the internet. I'm not really sure if this is an issue o maybe a mis-initialization.
If I re-try assigning the same USB device a second time I see the following message:
Connessione del dispositivo USB USB Flash Disk [1100] alla macchina virtuale VmXP_Temp non riuscita.
USB device 'USB Flash Disk' with UUID {a416ea81-cffc-4c89-8ce1-80a66a1aedcd} is busy with a previous request. Please try again later.
Codice 'uscita: E_INVALIDARG (0x80070057)
Componente: HostUSBDeviceWrap
Interfaccia: IHostUSBDevice {c19073dd-cc7b-431b-98b2-951fda8eab89}
Chiamante: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
which might mean something is "stuck" in VirtualBox and this may not be an host issue.
The host logs don't contain anything suspicious and the guest logs too (it doesn't seem I reach a point in which the guest sees anything).
I didn't try with a Linux guest but I'm pretty sure that won't make any difference.
Thanks, Filippo
Attachments (1)
Change History (3)
by , 7 years ago
comment:1 by , 7 years ago
As said on irc:
Host: Windows 8.1 64 bit Guest: Ubuntu Xenial 16.04.1 vbox 5.1.20, vbox-ext-pack 5.1.20, vbox-guest-additions-iso 5.1.20
everything upgraded to 5.1.20 (from 5.1.14, not working too), but clicking to bind an usb key into the guest, is not working and the second time you click it returns "the device id is busy with a previous request" a normal usb 16GB key, nothing special
Linux host works, with windows guest: $ lsusb |grep Lexar Bus 003 Device 093: ID 05dc:a838 Lexar Media, Inc.
I tried usb 3 (the default), automatic binding, manual binding and now I switched back to usb2 controller (just to avoid usb3 implementation issues)
when I try to bind the USB key, I see the VirtualBox USB device appearing and the original one disappearing, so I would say this seems really a vbox issue and I can reproduce with another pc and windows 7, same usb key
the guest is linux, and dmesg returns null.
comment:2 by , 7 years ago
(I grepped only the relevant device id)
C:\Program Files\Oracle\VirtualBox>VBoxManage list usbhost
Host USB Devices:
UUID: 0b61c376-83b4-4c56-8429-42f6bcf66b07
VendorId: 0x05dc (05DC)
ProductId: 0xa838 (A838)
Revision: 17.0 (1700)
Port: 0
USB version/speed: 2/High
Manufacturer: Lexar
Product: USB Flash Drive
SerialNumber: AA12ZKBNFE21QR1XOLVN
Address: {36fc9e60-c465-11cf-8056-444553540000}\0016
Current State: Busy


error message