USB-Failed to attach the USB device ...

Discussions related to using VirtualBox on Linux hosts.
Post Reply
msprivat
Posts: 9
Joined: 21. May 2022, 13:47

USB-Failed to attach the USB device ...

Post by msprivat »

Hallo,

Host system: Linux Mint 20.3
Guest system: Windows 10 v.21H2
CPU: AMD Ryzen 7 2700X

Problem:
Failed to attach the USB device Sandisk Extreme [0010] to the virtual machine Windows10_21H2

Details: Failed to create a proxy device for the USB device. (Error: VERR_PDM_NO_USB_PORTS).
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

USB is recognized by the Virtual Box
vbusers is entered
Extension Pack has the same number as the virtual Box

Any idea how to fix the problem? :D

Best regards
Michael
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: USB-Failed to attach the USB device ...

Post by mpack »

Always provide a VM log when asking questions that need us to know something about your PC. Make sure the VM is fully shut down, then right click it in the manager UI. Select "Show Log" and save "VBox.log" (no other file) to a zip file. Attach the zip here.
msprivat
Posts: 9
Joined: 21. May 2022, 13:47

Re: USB-Failed to attach the USB device ...

Post by msprivat »

Hallo,
attached the log.

Best regards
Michael
Attachments
VBox_LOG.zip
Log file VM
(27.6 KiB) Downloaded 68 times
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: USB-Failed to attach the USB device ...

Post by mpack »

Try changing the USB setting to xHCI (aka. USB3). If you plug a USB3 device into a USB3 host port then VirtualBox needs to use the USB3 protocol to talk to it.

While we're here, there are other things wrong with the VM config. First I would give the VM a second CPU core. Then I would enable 3D graphics acceleration - you'll need this if you're going to try larger display sizes.

I hope you've read the USB section of the user manual, i.e. the bit about your host user needing to be joined to the vboxusers group on Linux hosts.
msprivat
Posts: 9
Joined: 21. May 2022, 13:47

Re: USB-Failed to attach the USB device ...

Post by msprivat »

Hallo,

I changed the USB setting to xHCI (aka. USB3) and it works now.
I gave the VM 4 CPU core. and I enabled the 3D graphics acceleration, but still can not resize the screen to a higher resolution.

I had opened another topic regarding this under Windows guest. Therefore the item can be closed here.

Thanks for your support.

Best regards
Michael
Post Reply