From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55399) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBTGT-0002wO-WA for qemu-devel@nongnu.org; Thu, 06 Feb 2014 13:01:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WBTGP-0002bV-5m for qemu-devel@nongnu.org; Thu, 06 Feb 2014 13:01:29 -0500 Received: from indium.canonical.com ([91.189.90.7]:42562) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBTGP-0002bJ-05 for qemu-devel@nongnu.org; Thu, 06 Feb 2014 13:01:25 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1WBTGO-0003ic-0S for ; Thu, 06 Feb 2014 18:01:24 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 006E82E80AF for ; Thu, 6 Feb 2014 18:01:24 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Thu, 06 Feb 2014 17:52:27 -0000 From: Serge Hallyn <685096@bugs.launchpad.net> Sender: bounces@canonical.com References: <20101204070046.21747.93608.malonedeb@gandwana.canonical.com> <20140201204729.1594.48357.malone@gac.canonical.com> Message-Id: <20140206175227.GF1643@sergelap> Errors-To: bounces@canonical.com Subject: Re: [Qemu-devel] [Bug 685096] Re: USB Passthrough not working for Windows 7 guest Reply-To: Bug 685096 <685096@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Quoting Manuel Baesler (685096@bugs.launchpad.net): > followup: > = > my understanding is there are a bunch of usb interfaces: > = > uhci is usb 1.0 > ehci is usb 2.0 > xhci is usb 3.0 > =E2=80=A6 > = > -device piix3-usb-uhci will create an usb 1.0 interface. I guess usb 1.0 > is insufficent for modern usb devices so windows errors with code 10. > ehci have enough to bring full support for modern usb devices. > = > qemu is like LEGO where you can wire it all together :-) > = > refference: > https://github.com/qemu/qemu/blob/master/docs/usb2.txt > https://en.wikipedia.org/wiki/Host_controller_interface_(USB,_Firewire)#U= SB Thanks - so (this isn't documented in the qemu man page) am I to assume that given " -usbdevice host:0781:5150" as the original bug submitter is doing means "give me usb 1.0" ? Max, does it work for you if you use (...taking a wild guess) : -device usb-ehci,id=3Dusb,bus=3Dpci.0,addr=3D0x4 \ -device usb-host,vendorid=3D0x0781,productid=3D0x5150,id=3Dhostdev0,bus=3D= usb.0 or perhaps -device usb-ehci,id=3Dusb,bus=3Dpci.0,addr=3D0x4 \ -usbdevice tablet \ -device usb-host,vendorid=3D0x0781,productid=3D0x5150,id=3Dhostdev0,bus=3D= usb.0 You also might try xhci in place of ehci. (If this does turn out to be the answer, then the bug title should be changed to include 'usb2.0 and usb3.0 devices', to aid people in finding this gem in the future) status: incomplete ** Changed in: qemu-kvm (Ubuntu) Status: Confirmed =3D> Incomplete -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/685096 Title: USB Passthrough not working for Windows 7 guest Status in QEMU: Confirmed Status in =E2=80=9Cqemu-kvm=E2=80=9D package in Ubuntu: Incomplete Bug description: USB Passthrough from host to guest is not working for a 32-bit Windows 7 guest, while it works perfectly for a 32-bit Windows XP guest. The device appears in the device manager of Windows 7, but with "Error code 10: device cannot start". I have tried this with numerous USB thumbdrives and a USB wireless NIC, all with the same result. The device name and functionality is recognized, so at least some USB negotiation is taking place. I am trying this with the latest git-pull of QEMU-KVM. The command line to launch qemu-kvm for win7 is: sudo /home/user/local_install/bin/qemu-system-x86_64 -cpu core2duo -m 102= 4 -smp 2 -vga std -hda ./disk_images/win7.qcow -vnc :1 -boot c -usb -usbdev= ice tablet -usbdevice host:0781:5150 The command line to launch qemu-kvm for winxp is: sudo /home/user/local_install/bin/qemu-system-x86_64 -cpu core2duo -m 102= 4 -smp 2 -usb -vga std -hda ./winxpsp3.qcow -vnc :0 -boot c -usbdevice tabl= et -usbdevice host:0781:5150 Any help is appreciated. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/685096/+subscriptions