summary refs log tree commit diff stats
path: root/results/scraper/launchpad-without-comments/1196145
diff options
context:
space:
mode:
Diffstat (limited to 'results/scraper/launchpad-without-comments/1196145')
-rw-r--r--results/scraper/launchpad-without-comments/119614518
1 files changed, 18 insertions, 0 deletions
diff --git a/results/scraper/launchpad-without-comments/1196145 b/results/scraper/launchpad-without-comments/1196145
new file mode 100644
index 00000000..d3a6e275
--- /dev/null
+++ b/results/scraper/launchpad-without-comments/1196145
@@ -0,0 +1,18 @@
+usb-host: hostaddr=0XX is parsed as octal number
+
+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.
\ No newline at end of file