Hi guys i have a mac book air 2019 and got this error:
Failed to attach the USB device SINOWEALTH Wired Gaming Mouse [0109] to the virtual machine windows.
Failed to create a proxy device for the USB device. (Error: VERR_SHARING_VIOLATION).
Result Code:
NS_ERROR_FAILURE (0X80004005)
Component:
ConsoleWrap
Interface:
IConsole {6ac83d89-6ee7-4e33-8ae6-b257b2e81be8}
Sorry; i dont have the log as i had to post this from a different computer; any tips maybe security or smth?? thanks
failed to connect usb device
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: failed to connect usb device
"SHARING VIOLATION" implies that someone else (the host OS) is already using that USB device. USB devices are not designed for and cannot be shared.
USB Basics and Troubleshooting.
USB Basics and Troubleshooting.
-
- Posts: 6
- Joined: 10. Jun 2023, 10:20
Re: failed to connect usb device
How do i tackle that then?
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: failed to connect usb device
I think that in this case, the error is because Apple enforced a new requirement for third party hypervisors like Virtualbox. The devs and Apple are working on it.
The workaround for now is, Virtualbox on Mac hosts must be run via 'sudo' to use USB devices.
I think the command in a terminal window is:
sudo Virtualbox
The workaround for now is, Virtualbox on Mac hosts must be run via 'sudo' to use USB devices.
I think the command in a terminal window is:
sudo Virtualbox
Re: failed to connect usb device
I had the same problem when upgrading to VirtualBox version 7.x.
Read many posts, tried everything. Never got USB working.
So, I downgraded to VirtualBox 6.1 (with 6.1 extension pack).
USB works again!
Read many posts, tried everything. Never got USB working.
So, I downgraded to VirtualBox 6.1 (with 6.1 extension pack).
USB works again!
Re: failed to connect usb device
It's not so simple... VirtualBox 7.0 can deal with USB devices nicely (our application's provisioning profile contains the necessary capability), but this stopped working with macOS Ventura. We contacted Apple, created a feedback (almost a year ago) but no response, even with multiple reminders. All we know is that the same code which worked nicely up to macOS Monterey now simply doesn't work when VirtualBox tries to grab a USB device.