将未检测到的 USB 设备传递给 QEMU

将未检测到的 USB 设备传递给 QEMU

我有一个 CP Plus 考勤读卡器,我想将其传递到 Windows 虚拟机。当我连接设备时。我在 dmesg 中收到以下消息

[  372.884498] usb 1-1: new high-speed USB device number 9 using xhci_hcd
[  373.832692] usb 1-1: Using ep0 maxpacket: 8
[  373.868850] usb 1-1: device descriptor read/all, error 8
[  373.996653] usb 1-1: new high-speed USB device number 10 using xhci_hcd
[  374.196667] usb 1-1: Using ep0 maxpacket: 8
[  374.232507] usb 1-1: device descriptor read/all, error 8
[  374.232847] usb usb1-port1: attempt power cycle
[  374.644820] usb 1-1: new high-speed USB device number 11 using xhci_hcd
[  374.665128] usb 1-1: Using ep0 maxpacket: 8
[  374.692258] usb 1-1: device descriptor read/all, error 8
[  374.820735] usb 1-1: new high-speed USB device number 12 using xhci_hcd
[  374.843037] usb 1-1: Using ep0 maxpacket: 8
[  374.870071] usb 1-1: device descriptor read/all, error 8
[  374.870339] usb usb1-port1: unable to enumerate USB device

由于该设备未在 lsusb 中显示,因此我将其重定向到 Qemu。有没有办法重定向它?

相关内容