All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1196145] [NEW] usb-host: hostaddr=0XX is parsed as octal number
@ 2013-06-29 22:12 Sascha Krissler
  2013-06-29 22:14 ` [Qemu-devel] [Bug 1196145] " Sascha Krissler
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sascha Krissler @ 2013-06-29 22:12 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

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.

** Affects: qemu
     Importance: Undecided
         Status: New


** Tags: usb

-- 
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Qemu-devel] [Bug 1196145] Re: usb-host: hostaddr=0XX is parsed as octal number
  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
  2020-08-07  9:27 ` Thomas Huth
  2020-10-07  4:17 ` Launchpad Bug Tracker
  2 siblings, 0 replies; 4+ messages in thread
From: Sascha Krissler @ 2013-06-29 22:14 UTC (permalink / raw)
  To: qemu-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 1196145] Re: usb-host: hostaddr=0XX is parsed as octal number
  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 ` [Qemu-devel] [Bug 1196145] " Sascha Krissler
@ 2020-08-07  9:27 ` Thomas Huth
  2020-10-07  4:17 ` Launchpad Bug Tracker
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Huth @ 2020-08-07  9:27 UTC (permalink / raw)
  To: qemu-devel

Looking through old bug tickets... is this still an issue with the
latest version of QEMU? Or could we close this ticket nowadays?

** Changed in: qemu
       Status: New => 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/1196145

Title:
  usb-host: hostaddr=0XX is parsed as octal number

Status in QEMU:
  Incomplete

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 1196145] Re: usb-host: hostaddr=0XX is parsed as octal number
  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 ` [Qemu-devel] [Bug 1196145] " Sascha Krissler
  2020-08-07  9:27 ` Thomas Huth
@ 2020-10-07  4:17 ` Launchpad Bug Tracker
  2 siblings, 0 replies; 4+ messages in thread
From: Launchpad Bug Tracker @ 2020-10-07  4:17 UTC (permalink / raw)
  To: qemu-devel

[Expired for QEMU because there has been no activity for 60 days.]

** Changed in: qemu
       Status: Incomplete => Expired

-- 
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:
  Expired

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-10-07  4:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` [Qemu-devel] [Bug 1196145] " Sascha Krissler
2020-08-07  9:27 ` Thomas Huth
2020-10-07  4:17 ` Launchpad Bug Tracker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.