On Tue, Mar 25, 2025 at 12:54:50AM +0500, Vitaly Shevtsov wrote: > I'm sorry, but it still doesn't work :) > > Do you run QEMU as root to be able to pass USB devices or as a non-root user? > > I use the following to run VM in QEMU: > qemu-system-x86_64 -m 4G -cpu host -smp 4 -M q35 -accel nvmm -usb > -device usb-host -drive file=vm.qcow2 -nic user,model=e1000 -rtc > base=localtime > And I get the this error: > qemu-system-x86_64: libusb_kernel_driver_active: -12 [NOT_SUPPORTED] > > Whichever bus/port I try, it always ends up with this error? What did I miss?
What device do you try to pass though ? It needs to show up as ugen, and the user running qemu needs read/write access to /dev/ugen* I used something like: -usb -device usb-host,bus=usb-bus.0,port=1,vendorid=0x1d50,productid=0x606f I think I also got the error -12, but that's not the problem. -- Manuel Bouyer <bou...@antioche.eu.org> NetBSD: 26 ans d'experience feront toujours la difference --