qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 1377163] Re: Does not add usb-host devices as they are


From: Peter Wu
Subject: [Qemu-devel] [Bug 1377163] Re: Does not add usb-host devices as they are hotplugged
Date: Fri, 03 Oct 2014 17:39:06 -0000

With some devices, I get a speed mismatch with ehci-usb:
qemu-system-x86_64: Warning: speed mismatch trying to attach usb device "USB 
Keyboard" (( speed) to bus "ehci.0", port "1" (high speed)

nec-usb-xhci fixes the keyboard+usb-storage case, but it breaks a webcam:
qemu-system-x86_64: Warning: speed mismatch trying to attach usb device 
"Chicony WebCam" (high speed) to bus "usb.0", port "4.3" (full speed)

Anyway,  -device usb-host,... binds to only one device. If you disconnect that 
device, it will enumerate the next available one and use that. If you only have 
one port, then you might have more luck with the 'hostport' option. Example 
that adds all available ports (which might not be the best solution though):
qemu-system-x86_64 -usb -device usb-ehci,id=usb $(for i in {1..6};do echo 
-device usb-host,bus=usb.0,hostbus=2,hostport=1.$i;done)

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1377163

Title:
  Does not add usb-host devices as they are hotplugged

Status in QEMU:
  Opinion

Bug description:
  A commandline such as

  qemu-kvm -device usb-ehci,id=USBCtrl -device host-
  usb,bus=USBCtrl.0,hostbus=3

  should automatically add all devices on the given bus (here: 3) not
  only initially, but also when new devices appear on that bus while
  Qemu runs. Currently, all devices on the bus are added initially, but
  new devices which are added to the (host) usb while Qemu runs have to
  be added manually.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1377163/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]