* [Qemu-devel] [Bug 1626207] [NEW] -device usb-host failing with usbip_vudc-vhdi_hcd gadget
@ 2016-09-21 17:31 Celine
2016-09-21 17:36 ` [Qemu-devel] [Bug 1626207] " Celine
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Celine @ 2016-09-21 17:31 UTC (permalink / raw)
To: qemu-devel
Public bug reported:
I must admit that I do not know if this is a Qemu or a Kernel issue, but
I try reporting here:
When I try to forward a copy of my USB mouse that I made with the new virtual USB device controller in kernel 4.7 I get the following in my log:
[ +0.703256] usb 1-4: reset full-speed USB device number 3 using xhci_hcd
[ +1.020776] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.855013] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.859052] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.857000] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.000141] usb 7-3: USB disconnect, device number 10
[ +0.153056] usb 1-4: reset full-speed USB device number 3 using xhci_hcd
[ +0.703746] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.855001] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.855006] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.855005] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.000009] usb usb7-port3: unable to enumerate USB device
the commands I use for makeing the virtual device are(after making a copy of the report description of my real mouse in /root/usb/kingston_report_desc):
mkdir /sys/kernel/config/usb_gadget/winmouse
cd /sys/kernel/config/usb_gadget/winmouse
echo "0x047d" > idVendor
echo "0x1020" > idProduct
mkdir strings/0x409
echo 2016 > strings/0x409/serialnumber
echo Kensington > strings/0x409/manufacturer
echo "Kensington Expert Mouse" > strings/0x409/product
mkdir configs/c.1
mkdir configs/c.1/strings/0x409
mkdir functions/hid.usb2
echo 2 > functions/hid.usb2/protocol
echo 1 > functions/hid.usb2/subclass
echo 4 > functions/hid.usb2/report_length
cat /root/usb/kingston_report_desc > functions/hid.usb2/report_desc
echo 0xa0 > configs/c.1/bmAttributes
echo 100 > configs/c.1/MaxPower
ln -s functions/hid.usb2 configs/c.1
echo usbip-vudc.2 > UDC
usbip attach -r localhost -d usbip-vudc.2
The virtual mouse then shows up as Bus7,Dev10 and I use the option
-device usb-host,hostbus=7,hostaddr=10,id=hostdev6,bus=usb.0,port=2 in
Qemu to attach it.
This is Qemu 2.7.0 on kernel 4.7.4
** Affects: qemu
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1626207
Title:
-device usb-host failing with usbip_vudc-vhdi_hcd gadget
Status in QEMU:
New
Bug description:
I must admit that I do not know if this is a Qemu or a Kernel issue,
but I try reporting here:
When I try to forward a copy of my USB mouse that I made with the new virtual USB device controller in kernel 4.7 I get the following in my log:
[ +0.703256] usb 1-4: reset full-speed USB device number 3 using xhci_hcd
[ +1.020776] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.855013] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.859052] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.857000] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.000141] usb 7-3: USB disconnect, device number 10
[ +0.153056] usb 1-4: reset full-speed USB device number 3 using xhci_hcd
[ +0.703746] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.855001] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.855006] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.855005] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.000009] usb usb7-port3: unable to enumerate USB device
the commands I use for makeing the virtual device are(after making a copy of the report description of my real mouse in /root/usb/kingston_report_desc):
mkdir /sys/kernel/config/usb_gadget/winmouse
cd /sys/kernel/config/usb_gadget/winmouse
echo "0x047d" > idVendor
echo "0x1020" > idProduct
mkdir strings/0x409
echo 2016 > strings/0x409/serialnumber
echo Kensington > strings/0x409/manufacturer
echo "Kensington Expert Mouse" > strings/0x409/product
mkdir configs/c.1
mkdir configs/c.1/strings/0x409
mkdir functions/hid.usb2
echo 2 > functions/hid.usb2/protocol
echo 1 > functions/hid.usb2/subclass
echo 4 > functions/hid.usb2/report_length
cat /root/usb/kingston_report_desc > functions/hid.usb2/report_desc
echo 0xa0 > configs/c.1/bmAttributes
echo 100 > configs/c.1/MaxPower
ln -s functions/hid.usb2 configs/c.1
echo usbip-vudc.2 > UDC
usbip attach -r localhost -d usbip-vudc.2
The virtual mouse then shows up as Bus7,Dev10 and I use the option
-device usb-host,hostbus=7,hostaddr=10,id=hostdev6,bus=usb.0,port=2 in
Qemu to attach it.
This is Qemu 2.7.0 on kernel 4.7.4
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1626207/+subscriptions
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Qemu-devel] [Bug 1626207] Re: -device usb-host failing with usbip_vudc-vhdi_hcd gadget
2016-09-21 17:31 [Qemu-devel] [Bug 1626207] [NEW] -device usb-host failing with usbip_vudc-vhdi_hcd gadget Celine
@ 2016-09-21 17:36 ` Celine
2020-11-12 13:11 ` Thomas Huth
2021-01-12 4:17 ` Launchpad Bug Tracker
2 siblings, 0 replies; 4+ messages in thread
From: Celine @ 2016-09-21 17:36 UTC (permalink / raw)
To: qemu-devel
Error in title, was supposed to say:
-device usb-host failing with usbip_vudc-vhci_hcd gadget
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1626207
Title:
-device usb-host failing with usbip_vudc-vhdi_hcd gadget
Status in QEMU:
New
Bug description:
I must admit that I do not know if this is a Qemu or a Kernel issue,
but I try reporting here:
When I try to forward a copy of my USB mouse that I made with the new virtual USB device controller in kernel 4.7 I get the following in my log:
[ +0.703256] usb 1-4: reset full-speed USB device number 3 using xhci_hcd
[ +1.020776] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.855013] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.859052] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.857000] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.000141] usb 7-3: USB disconnect, device number 10
[ +0.153056] usb 1-4: reset full-speed USB device number 3 using xhci_hcd
[ +0.703746] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.855001] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.855006] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.855005] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.000009] usb usb7-port3: unable to enumerate USB device
the commands I use for makeing the virtual device are(after making a copy of the report description of my real mouse in /root/usb/kingston_report_desc):
mkdir /sys/kernel/config/usb_gadget/winmouse
cd /sys/kernel/config/usb_gadget/winmouse
echo "0x047d" > idVendor
echo "0x1020" > idProduct
mkdir strings/0x409
echo 2016 > strings/0x409/serialnumber
echo Kensington > strings/0x409/manufacturer
echo "Kensington Expert Mouse" > strings/0x409/product
mkdir configs/c.1
mkdir configs/c.1/strings/0x409
mkdir functions/hid.usb2
echo 2 > functions/hid.usb2/protocol
echo 1 > functions/hid.usb2/subclass
echo 4 > functions/hid.usb2/report_length
cat /root/usb/kingston_report_desc > functions/hid.usb2/report_desc
echo 0xa0 > configs/c.1/bmAttributes
echo 100 > configs/c.1/MaxPower
ln -s functions/hid.usb2 configs/c.1
echo usbip-vudc.2 > UDC
usbip attach -r localhost -d usbip-vudc.2
The virtual mouse then shows up as Bus7,Dev10 and I use the option
-device usb-host,hostbus=7,hostaddr=10,id=hostdev6,bus=usb.0,port=2 in
Qemu to attach it.
This is Qemu 2.7.0 on kernel 4.7.4
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1626207/+subscriptions
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug 1626207] Re: -device usb-host failing with usbip_vudc-vhdi_hcd gadget
2016-09-21 17:31 [Qemu-devel] [Bug 1626207] [NEW] -device usb-host failing with usbip_vudc-vhdi_hcd gadget Celine
2016-09-21 17:36 ` [Qemu-devel] [Bug 1626207] " Celine
@ 2020-11-12 13:11 ` Thomas Huth
2021-01-12 4:17 ` Launchpad Bug Tracker
2 siblings, 0 replies; 4+ messages in thread
From: Thomas Huth @ 2020-11-12 13:11 UTC (permalink / raw)
To: qemu-devel
The QEMU project is currently considering to move its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting older bugs to "Incomplete" now.
If you still think this bug report here is valid, then please switch the state back to "New" within the next 60 days, otherwise this report will be marked as "Expired". Or mark it as "Fix Released" if the problem has been solved with a newer version of QEMU already. Thank you and sorry for the inconvenience.
** 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/1626207
Title:
-device usb-host failing with usbip_vudc-vhdi_hcd gadget
Status in QEMU:
Incomplete
Bug description:
I must admit that I do not know if this is a Qemu or a Kernel issue,
but I try reporting here:
When I try to forward a copy of my USB mouse that I made with the new virtual USB device controller in kernel 4.7 I get the following in my log:
[ +0.703256] usb 1-4: reset full-speed USB device number 3 using xhci_hcd
[ +1.020776] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.855013] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.859052] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.857000] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.000141] usb 7-3: USB disconnect, device number 10
[ +0.153056] usb 1-4: reset full-speed USB device number 3 using xhci_hcd
[ +0.703746] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.855001] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.855006] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.855005] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.000009] usb usb7-port3: unable to enumerate USB device
the commands I use for makeing the virtual device are(after making a copy of the report description of my real mouse in /root/usb/kingston_report_desc):
mkdir /sys/kernel/config/usb_gadget/winmouse
cd /sys/kernel/config/usb_gadget/winmouse
echo "0x047d" > idVendor
echo "0x1020" > idProduct
mkdir strings/0x409
echo 2016 > strings/0x409/serialnumber
echo Kensington > strings/0x409/manufacturer
echo "Kensington Expert Mouse" > strings/0x409/product
mkdir configs/c.1
mkdir configs/c.1/strings/0x409
mkdir functions/hid.usb2
echo 2 > functions/hid.usb2/protocol
echo 1 > functions/hid.usb2/subclass
echo 4 > functions/hid.usb2/report_length
cat /root/usb/kingston_report_desc > functions/hid.usb2/report_desc
echo 0xa0 > configs/c.1/bmAttributes
echo 100 > configs/c.1/MaxPower
ln -s functions/hid.usb2 configs/c.1
echo usbip-vudc.2 > UDC
usbip attach -r localhost -d usbip-vudc.2
The virtual mouse then shows up as Bus7,Dev10 and I use the option
-device usb-host,hostbus=7,hostaddr=10,id=hostdev6,bus=usb.0,port=2 in
Qemu to attach it.
This is Qemu 2.7.0 on kernel 4.7.4
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1626207/+subscriptions
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug 1626207] Re: -device usb-host failing with usbip_vudc-vhdi_hcd gadget
2016-09-21 17:31 [Qemu-devel] [Bug 1626207] [NEW] -device usb-host failing with usbip_vudc-vhdi_hcd gadget Celine
2016-09-21 17:36 ` [Qemu-devel] [Bug 1626207] " Celine
2020-11-12 13:11 ` Thomas Huth
@ 2021-01-12 4:17 ` Launchpad Bug Tracker
2 siblings, 0 replies; 4+ messages in thread
From: Launchpad Bug Tracker @ 2021-01-12 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/1626207
Title:
-device usb-host failing with usbip_vudc-vhdi_hcd gadget
Status in QEMU:
Expired
Bug description:
I must admit that I do not know if this is a Qemu or a Kernel issue,
but I try reporting here:
When I try to forward a copy of my USB mouse that I made with the new virtual USB device controller in kernel 4.7 I get the following in my log:
[ +0.703256] usb 1-4: reset full-speed USB device number 3 using xhci_hcd
[ +1.020776] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.855013] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.859052] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.857000] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.000141] usb 7-3: USB disconnect, device number 10
[ +0.153056] usb 1-4: reset full-speed USB device number 3 using xhci_hcd
[ +0.703746] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.855001] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.855006] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.855005] usb usb7-port3: Cannot enable. Maybe the USB cable is bad?
[ +0.000009] usb usb7-port3: unable to enumerate USB device
the commands I use for makeing the virtual device are(after making a copy of the report description of my real mouse in /root/usb/kingston_report_desc):
mkdir /sys/kernel/config/usb_gadget/winmouse
cd /sys/kernel/config/usb_gadget/winmouse
echo "0x047d" > idVendor
echo "0x1020" > idProduct
mkdir strings/0x409
echo 2016 > strings/0x409/serialnumber
echo Kensington > strings/0x409/manufacturer
echo "Kensington Expert Mouse" > strings/0x409/product
mkdir configs/c.1
mkdir configs/c.1/strings/0x409
mkdir functions/hid.usb2
echo 2 > functions/hid.usb2/protocol
echo 1 > functions/hid.usb2/subclass
echo 4 > functions/hid.usb2/report_length
cat /root/usb/kingston_report_desc > functions/hid.usb2/report_desc
echo 0xa0 > configs/c.1/bmAttributes
echo 100 > configs/c.1/MaxPower
ln -s functions/hid.usb2 configs/c.1
echo usbip-vudc.2 > UDC
usbip attach -r localhost -d usbip-vudc.2
The virtual mouse then shows up as Bus7,Dev10 and I use the option
-device usb-host,hostbus=7,hostaddr=10,id=hostdev6,bus=usb.0,port=2 in
Qemu to attach it.
This is Qemu 2.7.0 on kernel 4.7.4
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1626207/+subscriptions
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-01-12 4:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-21 17:31 [Qemu-devel] [Bug 1626207] [NEW] -device usb-host failing with usbip_vudc-vhdi_hcd gadget Celine
2016-09-21 17:36 ` [Qemu-devel] [Bug 1626207] " Celine
2020-11-12 13:11 ` Thomas Huth
2021-01-12 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.