iPod Touch 5G 在 qemu Windows 7 VM 中无法识别

ipa*_*tch 4 windows-7 ipod-touch qemu

我有一个 iPod Touch 5G 和一个 Windows 7 VM。我试图将 iPod Touch 传递到 VM,以便 Windows 可以识别它,但我在 qemu 监视器中收到以下错误。

(qemu) usb_add host:05ac:12aa Warning: speed mismatch trying to attach usb device "iPod" (high speed) to bus "usb-bus.0", port "2.1" (full speed) (qemu) qemu-system-x86_64: Warning: speed mismatch trying to attach usb device "iPod" (high speed) to bus "usb-bus.0", port "2.1" (full speed) qemu-system-x86_64: Warning: speed mismatch trying to attach usb device "iPod" (high speed) to bus "usb-bus.0", port "2.1" (full speed) (qemu)
Run Code Online (Sandbox Code Playgroud)

小智 6

在花了 2-3 天的时间之后,我找到了解决方案。真正的开源软件需要开发更好的软件使用文档!!

上面的usb速度不匹配警告是因为我们正在加载旧的usb主机控制器驱动程序(usb-bus = usb1.x),而设备是usb2.x/usb-ehci或usb3.x/usb-xhci。因此发生 USB 速度不匹配。

  1. 使用 qemu 命令加载 USB 主机控制器。

    qemu-system-x86_64 --enable-kvm -m 4G -monitor stdio -usb -device nec-usb-xhci,id=xhci -device usb-ehci,id=ehci /pathtovirtdiskfile.vmdk

  2. 通过运行以下命令查看 qemu 终端中的 USB 主机设备。

    info usbhost

    苹果设备将在此处列出,如下所示:

    Bus 3, Addr 8, Port 3, Speed 480 Mb/s Class 00: USB device, iPhone

  3. 将上述命令返回的 USB 主机设备添加到访客系统。

    device_add usb-host,hostbus=3,hostaddr=8,id=usb2.0,bus=ehci.0,port=3

现在苹果设备将出现在访客系统上。