From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51666) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ut3Vi-00013z-6M for qemu-devel@nongnu.org; Sat, 29 Jun 2013 18:20:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ut3Vb-00016q-4H for qemu-devel@nongnu.org; Sat, 29 Jun 2013 18:20:50 -0400 Received: from indium.canonical.com ([91.189.90.7]:54935) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ut3Va-00016Y-Pe for qemu-devel@nongnu.org; Sat, 29 Jun 2013 18:20:42 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1Ut3Va-0007U3-DT for ; Sat, 29 Jun 2013 22:20:42 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 5C1C02E807D for ; Sat, 29 Jun 2013 22:20:42 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Sat, 29 Jun 2013 22:14:51 -0000 From: Sascha Krissler Sender: bounces@canonical.com References: <20130629221252.20061.54827.malonedeb@chaenomeles.canonical.com> Message-Id: <20130629221451.23889.12842.malone@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1196145] Re: usb-host: hostaddr=0XX is parsed as octal number Reply-To: Bug 1196145 <1196145@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org ps: when using host-libusb.c and tested on 1.5.1.tgz -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1196145 Title: usb-host: hostaddr=3D0XX is parsed as octal number Status in QEMU: New Bug description: when doing device_add usb-host,hostaddr=3D010 taking 010 in the format of both lsusb or udev, qemu parses an octal numb= er and assumes hostaddr=3D8. (i used a 2.0 device on the ehci.0 bus) at least to me that is confusing. also: when adding a non-existent usb device (bogus hostaddr), the following is created according to 'usb info': Device 1.0, Port 1, Speed 1.5 Mb/s, Product USB Host Device in usb_qdev_init(): usb_claim_port is called but usb_device_init does not report an error and= thus usb_release_port is not called. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1196145/+subscriptions