From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36476) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xo0SA-0002qD-7s for qemu-devel@nongnu.org; Mon, 10 Nov 2014 20:41:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xo0S5-00086S-O3 for qemu-devel@nongnu.org; Mon, 10 Nov 2014 20:41:06 -0500 Received: from szxga03-in.huawei.com ([119.145.14.66]:36212) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xo0S5-00085V-54 for qemu-devel@nongnu.org; Mon, 10 Nov 2014 20:41:01 -0500 Message-ID: <5461691C.5050504@huawei.com> Date: Tue, 11 Nov 2014 09:40:44 +0800 From: Gonglei MIME-Version: 1.0 References: <20141026182810.4047.56419.malonedeb@soybean.canonical.com> <20141110175246.13477.10696.malone@soybean.canonical.com> In-Reply-To: <20141110175246.13477.10696.malone@soybean.canonical.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Bug 1385934] Re: USB with passthrougth guest cannot enumerate USB host List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Bug 1385934 <1385934@bugs.launchpad.net> Cc: MikeFrysinger , qemu-devel@nongnu.org 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 >