From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3FTl-00086q-Hz for qemu-devel@nongnu.org; Tue, 14 Jan 2014 20:41:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3FTa-0001d2-Vr for qemu-devel@nongnu.org; Tue, 14 Jan 2014 20:41:13 -0500 Received: from indium.canonical.com ([91.189.90.7]:37931) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3FTa-0001cs-QU for qemu-devel@nongnu.org; Tue, 14 Jan 2014 20:41:02 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1W3FTZ-0006QX-Ui for ; Wed, 15 Jan 2014 01:41:01 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id DDB122E8081 for ; Wed, 15 Jan 2014 01:41:01 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 15 Jan 2014 01:32:11 -0000 From: Gonglei Sender: bounces@canonical.com References: <20101204070046.21747.93608.malonedeb@gandwana.canonical.com> Message-Id: <20140115013211.1050.23588.malone@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [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 I think you should appoint the usb bus which according to your usb type, su= ch as: -device piix3-usb-uhci,id=3Dusb,bus=3Dpci.0,addr=3D0x1.0x2 = -device usb-ehci,id=3Dusb1,bus=3Dpci.0,addr=3D0x4 = -device usb-hub,id=3Dhub0,bus=3Dusb.0,port=3D2 = -device usb-tablet,id=3Dinput0,bus=3Dusb.0,port=3D1 = -device usb-host,hostbus=3D2,hostport=3D2,id=3Dhostdev0,bus=3Dusb1.0 -- = 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: Confirmed 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