|
From: | BALATON Zoltan |
Subject: | Re: USB Passthrough |
Date: | Fri, 20 Mar 2020 19:52:13 +0100 (CET) |
User-agent: | Alpine 2.22 (BSF 395 2020-01-19) |
On Fri, 20 Mar 2020, Jd Lyons wrote:
I’m trying to passthrough multiple USB devices to qemu-system-powerpc, a USB keyboard and a USB mouse, from a linux host, however I can only get one to work at a time, but not both.Not real sure what the issue is, has anyone tried to passthrough more than one USB device to qemu-systems-ppc?
I haven't but I remember Howard reported some problems with multiple USB devices under MacOS on qemu-system-ppc but I can't find the message now. I wonder if that's related but not sure if passed through devices show up under the same OHCI controller than emulated ones. If so the problem may be in ohci-hcd not in passthrough but not sure how to debug that.
Here is lsusb from the host lsusb Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 003: ID 413c:2113 Dell Computer Corp. Bus 003 Device 002: ID 413c:3016 Dell Computer Corp. Optical 5-Button Wheel Mouse Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 012: ID 05ac:828d Apple, Inc. Bus 001 Device 004: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth) Bus 001 Device 005: ID 413c:2105 Dell Computer Corp. Model L100 Keyboard Bus 001 Device 007: ID 413c:3016 Dell Computer Corp. Optical 5-Button Wheel Mouse Bus 001 Device 003: ID 04b4:6560 Cypress Semiconductor Corp. CY7C65640 USB-2.0 "TetraHub" Bus 001 Device 002: ID 046d:c534 Logitech, Inc. Unifying Receiver Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub And this is how I’m trying to pass it to qemu: -usb -device usb-host,hostbus=1,hostaddr=5 -device usb-host,hostbus=1,hostaddr=7
Maybe info usbhost and info usb from QEMU monitor would also be useful to get what's passed through, also lsusb from the guest?
Regards, BALATON Zoltan
[Prev in Thread] | Current Thread | [Next in Thread] |