USB not working at all in guest (solved)

Discussions related to using VirtualBox on Windows hosts.
Post Reply
z00m
Posts: 1
Joined: 10. Sep 2015, 12:51

USB not working at all in guest (solved)

Post by z00m »

Hello all,

after I changed computer, I had problems with passing through USB devices from Windows host to guest, which I used before without problems on old computer. The behaviour was wierd - all devices were visible from guest dropdown menu, but when I tried to connect them, nothing happened, and on second try there was an error:

Code: Select all

Failed to attach the USB device XXXXX to the virtual machine YYYYY.
USB device XXXXX with UUID zzzzzzz is busy with a previous request. Please try again later.
Result Code: E_INVALIDARG (0x80070057)
blah blah
some debug shit
After that, devices are in BUSY or Connected state, but not working in guest. According to ticket #11251, it is 6 years old (if not older) known problem, but looks like Oracle gives a shit about it.

Regarding my research, it happens mostly on machines which have more built-in USB hubs or USB 3.0 ports. I found out that VBoxUSBMon filter driver captures devices but it won't create "VirtualBox USB" device, which is more or less like "connector" between guest and host. So devices on host reports "Captured" or "Busy", but guest can't see them.

After three days of juggling with many VirtualBox builds I do have a solution, at least on my computer (Windows 7 Pro 32bit on Dell Latitude E7440):
1. Turn off USB 3.0 support in BIOS
2. Install VirtualBox 4.2.8.
3. Copy VBoxUSBMon driver from "C:\Program Files\Oracle\VirtualBox\drivers\USB\filter" to some other place
4. Install VirtualBox version you like (e.g. actual 5.0.4)
5. Go to 4.2.8 VBoxUSBMon driver you copied, right click on VBoxUSBMon.inf, then click install and then allow replace of newer file.
6. Reboot

After that USB pass through functionality should work as expected.

Hope it will help.
Post Reply