Received: from [140.186.70.92] (port=60814 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q8Wr7-0004bj-5T for qemu-devel@nongnu.org; Sat, 09 Apr 2011 08:01:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q8Wr5-0000Hy-SD for qemu-devel@nongnu.org; Sat, 09 Apr 2011 08:01:33 -0400 Received: from adelie.canonical.com ([91.189.90.139]:34416) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q8Wr5-0000Hu-MC for qemu-devel@nongnu.org; Sat, 09 Apr 2011 08:01:31 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1Q8Wr3-0007wb-Nr for ; Sat, 09 Apr 2011 12:01:29 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id E3D2D2E8956 for ; Sat, 9 Apr 2011 12:01:24 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Sat, 09 Apr 2011 11:51:20 -0000 From: Brad Hards Sender: bounces@canonical.com References: <20110219064431.12758.409.malonedeb@potassium.ubuntu.com> Message-Id: <20110409115120.4569.2335.malone@wampee.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 721659] Re: qemu-kvm-0.13.0 doesn't pass USB devices to the VM Reply-To: Bug 721659 <721659@bugs.launchpad.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, Thanks for reporting this problem. Can you tell me a bit more about your configuration? For example: What are the guest and host operating systems? Is it always "need -1"? Do you ever see "need 1"? What is the device you're trying to open? Can you show the USB descriptors (e.g. from lsusb)? Do you have rights to open the device (e.g. are you running qemu with elevated privileges)? Does it help / change things if you do or don't? I'm not sure that the error messages are very accurate in this particular case. I think the problem with those messages comes from use of perror() in the QEMU code and that the underlying operations aren't returning / setting errno in the right way (or perhaps at all). However the fact that we're even getting to the error path indicates a problem. If I had to guess, the device is already bound to a driver on the host and you don't have permissions to unbind it. However I'm pretty fuzzy on this one, and I'm really hoping the additional information might help someone else fix it. Brad -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/721659 Title: qemu-kvm-0.13.0 doesn't pass USB devices to the VM Status in QEMU: New Bug description: I have the bug, similar to this one: https://bugzilla.redhat.com/show_bug.cgi?id=3D583108 but under gentoo When I add parameters -usb -usbdevice host:4348:5584, I see the following lines in console: husb: config #1 need -1 USBDEVFS_DISCONNECT: No route to host husb: open device 2.11 (...many repetitions of three above lines...) All parameters (2.11) are verified with lsusb at host computer - parameters are correct Error description is very confusing - I don't know what to check, what "config #1" mean, which route should be checked and how to check it.