On 2014/11/11 1:52, MikeFrysinger wrote:

> i've attached the `lsusb -v` output for the device.  it is USB 2.0.  the
> sysfs speed file shows 480.
> 

You should add an ehci controller or xhci for USB2.0 device.
Please use such below cmdline:
-device usb-ehci,id=ehci \
-device usb-host,bus=ehci.0,vendorid=1307,productid=0163

BTW, This is a really bug, and Gerd had posted a patch:
 [PATCH] usb-host: fix usb_host_speed_compat tyops
http://lists.gnu.org/archive/html/qemu-devel/2014-11/msg01441.html

After applying this patch, you will get a warning:
 "Warning: speed mismatch trying to attach..." if you use the cmdline as your 
showing.

Thanks,
-Gonglei

> the qemu cmdline:
> qemu-system-x86_64 \
>         -hda images/root \
>         -hdb images/var \
>         -hdc images/usr \
>         -append "root=/dev/hda console=ttyS0 panic=3 init=/ginit" \
>         -kernel images/bzImage \
>         -nographic \
>         -no-reboot \
>         -m 512 \
>         -enable-kvm \
>         -usbdevice host:1307:0163
> 
> ** Attachment added: "lsusb.txt"
>    
> https://bugs.launchpad.net/qemu/+bug/1385934/+attachment/4257409/+files/lsusb.txt
> 




Reply via email to