I'm launching my VM as a GPU passthrough, and it works near perfectly, except I'm having a hell of a time passing my Xbox One gamepad to it.
I'm using qemu-system-x86_64
, and my output from lsusb for the controller is
Bus 003 Device 022: ID 045e:02ea Microsoft Corp.
and my command for the usb is
-usb -usb-host,vendorid=0x045e,productid=0x02ea
The qemu window keeps showing
libusb: error [udev_hotplug_event] ignoring udev action bind
qemu-system-x86_64: libusb_release_interface: -4 [NO_DEVICE]
qemu-system-x86_64: libusb_release_interface: -4 [NO_DEVICE]
qemu-system-x86_64: libusb_release_interface: -4 [NO_DEVICE]
libusb: error [_get_usbfs_fd] File doesn't exist, wait 10 ms and try again
libusb: error [_get_usbfs_fd] libusb couldn't open USB device
/dev/bus/usb/003/016: No such file or directory
Within the Win10 VM itself, I can hear the notification for when a new USB device is connected, but then I hear the one for when it's disconnected almost immediately.
Anybody know how to solve these errors?
Update:
I tried pointing at the exact device bus / addr for bus 3, addr 22 but that didn't work. I'm not certain why libusb is targeting a non-existent device file since lsusb Bus and Device numbers are base 10.
Update 2:
A corded Xbox 360 controller works perfectly. Still am confused about the Xbox One controller. The Xbox One controller is a wireless controller, but it's attached to my computer via USB cable.
-usb -device
. Perhaps this won't happen if the VM isn't tasked with passing individual devices but can instead maintain a continuous connection via PCI-USB riser card