[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Help with usb-host hostdevice property
From: |
Diego Viola |
Subject: |
Help with usb-host hostdevice property |
Date: |
Wed, 26 Aug 2020 17:00:09 -0300 |
Hi,
I'm trying to use the new usb-host hostdevice property that was added here:
https://git.qemu.org/?p=qemu.git;a=commit;h=9f815e83e983d247a3cd67579d2d9c1765adc644
This is the command line that I am using:
qemu-system-x86_64 -enable-kvm -hda arch-zoom.qcow2 -m 4G -device
qemu-xhci,id=xhci -device
usb-host,bus=xhci.0,hostdevice=/dev/bus/usb/002/004 -device intel-hda
-device hda-duplex -vga virtio
My user has permissions to access /dev/bus/usb/002/004 -- I am trying
to pass-through this device:
Bus 002 Device 004: ID 04f2:b449 Chicony Electronics Co., Ltd Integrated Camera
When I boot up the guest I get this:
usb 1-1: Invalid ep0 maxpacket: 64
usb usb1-port1: unable to enumerate USB device
This works though:
qemu-system-x86_64 -enable-kvm -hda arch-zoom.qcow2 -m 4G -device
qemu-xhci,id=xhci -device
usb-host,bus=xhci.0,vendorid=0x04f2,productid=0xb449 -device intel-hda
-device hda-duplex -vga virtio
I am using QEMU 5.1.0 on Arch Linux.
Arch Linux is running on the guest as well as on the host.
Any ideas what I'm doing wrong here please?
Thanks,
Diego
- Help with usb-host hostdevice property,
Diego Viola <=