qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Sascha Krissler <sascha@srlabs.de>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [Bug 1196145] Re: usb-host: hostaddr=0XX is parsed as octal number
Date: Sat, 29 Jun 2013 22:14:51 -0000	[thread overview]
Message-ID: <20130629221451.23889.12842.malone@soybean.canonical.com> (raw)
In-Reply-To: 20130629221252.20061.54827.malonedeb@chaenomeles.canonical.com

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=0XX is parsed as octal number

Status in QEMU:
  New

Bug description:
  when doing

  device_add usb-host,hostaddr=010

  taking 010 in the format of both lsusb or udev, qemu parses an octal number and assumes hostaddr=8.
  (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

  reply	other threads:[~2013-06-29 22:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-29 22:12 [Qemu-devel] [Bug 1196145] [NEW] usb-host: hostaddr=0XX is parsed as octal number Sascha Krissler
2013-06-29 22:14 ` Sascha Krissler [this message]
2020-08-07  9:27 ` [Bug 1196145] " Thomas Huth
2020-10-07  4:17 ` Launchpad Bug Tracker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130629221451.23889.12842.malone@soybean.canonical.com \
    --to=sascha@srlabs.de \
    --cc=1196145@bugs.launchpad.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).