Page 2 of 2

Re: "Failed to attach the USB device" "USB device busy.."

Posted: 16. Nov 2011, 17:02
by ElQuia
Perryg wrote:@ElQuia,

You can eliminate the mouse and keyboard as they are shared resources. For the most part you can eliminate pen drives and just about anything USB that does not have a driver. Like I said it will be a conflict with a driver. I know first hand that the HP printers that have memory card slots driver is a major cause of problems. HP likes to take total control and does not play well with others. Another issue is being caused by an AMD USB driver (search for it) all hypervisors have issue with that one.
OK my only problem may be the amd driver then, I got all my systems on amd (athlon or phenom) and asus with nvidia chipsets ... which driver may be the conflicting one !?!?!?!? and how is a system supposed to work without a basic or important driver...

Re: "Failed to attach the USB device" "USB device busy.."

Posted: 16. Nov 2011, 17:44
by Perryg
This is not just a VirtualBox problem. Here is the VMware suggestion as well. http://kb.vmware.com/selfservice/micros ... Id=1016809

Yes it can be tricky, yes it is an issue, but seriously have you even tried to see if this fixes your problem? Make a restore point and follow the instructions. It will either fix your issue or you will know for a fact that you and USB are just not going to play together in a Virtual machine.

Re: "Failed to attach the USB device" "USB device busy.."

Posted: 1. Dec 2011, 19:34
by type11
mpack wrote:The message means that the host OS is grabbing the device when you plug it in, preempting the VM.

Create a blank filter in your USB settings. Wait until VM is running before plugging in the external drive. The "New hardware found" wizard should pop up, this is VirtualBox wanting to install a USB filter driver on your host for that device - allow it to do so. Then unplug the device and plug it in again. This time the filter driver should grab the device and it should work in the VM.

The same procedure may work with a non-blank USB filter. I.e. with VM not running, go to VM settings, create a blank USB filter, plug in device, then edit the filter, selecting the correct device details from the list of active USB connections shown.

This worked perfectly for me. Thank you, thank you!

Re: "Failed to attach the USB device" "USB device busy.."

Posted: 24. Apr 2013, 02:28
by pogo
mpack wrote:The message means that the host OS is grabbing the device when you plug it in, preempting the VM.

Create a blank filter in your USB settings. Wait until VM is running before plugging in the external drive. The "New hardware found" wizard should pop up, this is VirtualBox wanting to install a USB filter driver on your host for that device - allow it to do so. Then unplug the device and plug it in again. This time the filter driver should grab the device and it should work in the VM.

The same procedure may work with a non-blank USB filter. I.e. with VM not running, go to VM settings, create a blank USB filter, plug in device, then edit the filter, selecting the correct device details from the list of active USB connections shown.
Thought I ought to create an account here to say thanks. It worked for me, however -- the guest OS now grabs any usb device that I plug in so that they aren't available to the host OS. This is sort of minor, but my primary operating mode is to leave the guest open in seamless mode, so anything that I plug in that I want to use in the host OS has to be first disattached from Vbox. Any ideas for this?

Re: "Failed to attach the USB device" "USB device busy.."

Posted: 24. Apr 2013, 08:49
by noteirak
Set specific filters instead of a blank one.

Re: "Failed to attach the USB device" "USB device busy.."

Posted: 24. Apr 2013, 10:22
by mpack
The blank filter is a "nuclear option" designed to guarantee that the procedure works for newbies. A more elegant solution is to tailor a non-blank filter so that it matches just one device. A separate such filter would be needed for each specific device you want the VM to grab. I alluded to this in the final paragraph of my previous answer.

Re: "Failed to attach the USB device" "USB device busy.."

Posted: 21. Nov 2013, 07:10
by dwestberry
I had this issue. I have not resolved it as of yet, but I believe I have found the solution. I was getting this same error. When I checked some of the settings for my virtual machine, I noticed that there is an option under USB to Enable USB 2.0 which requires installing the extension pack for VirtualBox. I have just downloaded it and will see if that fixes the problem. I will post back with the results. It might be something you want to look into if you have not already.

Re: "Failed to attach the USB device" "USB device busy.."

Posted: 14. Dec 2017, 05:56
by MOV EAX
I know this topic is old, but it still happens in the new version.

I found one solution was to remove any USB filters.

For example I had installed Wireshark and it installed USBPcap. After uninstalling that, my usb devices attached.

Re: "Failed to attach the USB device" "USB device busy.."

Posted: 14. Dec 2017, 09:49
by mpack
Thanks for the tip, however just to be clear, what most users will understand by the term "filters" in the above discussion will be config items created in the <VM settings> | USB config panel for a VirtualBox VM. This does indirectly configure a host USB driver (at least on Windows hosts), but I'm not sure most would understand that.

But, point taken: USB filter drivers installed by other apps can be a cause of USB failures in VirtualBox.

Re: "Failed to attach the USB device" "USB device busy.."

Posted: 14. Dec 2017, 11:42
by socratis
A couple of notes: