host system:
Linux 6.12.38+deb13-amd64
Debian 6.12.38-1
guest system:
windows 10
host requirement:
you must have read/write access to the corresponding linux usb-device-file.
plug in the usb-device, check last dmesg
output and read the corresponding USB bus and device number./dev/bus/usb/001/011
(e.g. device-file for USB-device connected to bus 001 as device 011)
QEMU:
1) read the vendorid and productid of your usb-device:lsusb
Bus 001 Device 011: ID 10c4:82cd Silicon Labs HOBBYWING LINK
(e.g. vendor id = 10c4 and the product ID = 82cd)
2) connect the usb-device to QEMU via the QEMU-monitor command:device_add usb-host,vendorid=0x10c4,productid=0x82cd
3) Now the windows-guest should automatically recognize the usb-device.