homebrew-virt-manager icon indicating copy to clipboard operation
homebrew-virt-manager copied to clipboard

USB redirection error

Open marpes opened this issue 6 years ago • 1 comments

I have tried to redirect an USB device but I get the error:

spice-client-error-quark: Could not redirect USB device: could not claim interface 0 (configuration 1): LIBUSB_ERROR_ACCESS (0)

screenshot 2018-07-27 13 53 57

It was an USB memory stick which I have unmounted first. I was not able to redirect any USB device from my Mac.

marpes avatar Jul 27 '18 11:07 marpes

When running virt-manager --debug, I see the same message, and also see the following on stdout/stderr:

libusb: error [darwin_claim_interface] USBInterfaceOpen: another process has device opened for exclusive access
[Sun, 18 Aug 2019 20:42:22 virt-manager 1162] DEBUG (error:84) error dialog message:
summary=USB redirection error

I think this is at play here: https://github.com/libusb/libusb/wiki/FAQ#how-can-i-run-libusb-applications-under-mac-os-x-if-there-is-already-a-kernel-extension-installed-for-the-device

jeffreywildman avatar Aug 19 '19 00:08 jeffreywildman