From: Gonglei <arei.gonglei@huawei.com>
To: Bug 1385934 <1385934@bugs.launchpad.net>
Cc: MikeFrysinger <vapier@gentoo.org>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Bug 1385934] Re: USB with passthrougth guest cannot enumerate USB host
Date: Tue, 11 Nov 2014 09:40:44 +0800 [thread overview]
Message-ID: <5461691C.5050504@huawei.com> (raw)
In-Reply-To: <20141110175246.13477.10696.malone@soybean.canonical.com>
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
>
next prev parent reply other threads:[~2014-11-11 1:41 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-26 18:28 [Qemu-devel] [Bug 1385934] [NEW] USB with passthrougth guest cannot enumerate USB host montjoie
2014-10-27 14:44 ` [Qemu-devel] [Bug 1385934] " Iggy
2014-11-08 18:47 ` MikeFrysinger
2014-11-10 6:04 ` Gonglei
2014-11-10 17:52 ` MikeFrysinger
2014-11-11 1:40 ` Gonglei [this message]
2014-12-10 9:54 ` Leen Keus
2014-12-31 2:52 ` Mike Frysinger
2015-03-25 8:20 ` montjoie
2018-01-18 15:17 ` Thomas Huth
2018-03-20 4:17 ` Launchpad Bug Tracker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5461691C.5050504@huawei.com \
--to=arei.gonglei@huawei.com \
--cc=1385934@bugs.launchpad.net \
--cc=qemu-devel@nongnu.org \
--cc=vapier@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).