qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1511887] [NEW] USB device 1.1 not correctly passedthru from Linux host to Windows guest
@ 2015-10-31  0:23 Jiri Cejka
  2017-05-19 10:32 ` [Qemu-devel] [Bug 1511887] " Thomas Huth
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Jiri Cejka @ 2015-10-31  0:23 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

I have USB Digital Oscilloscope which works great on pure Windows
machine but not work on virtualized one. I tried passthru the device
from my Debian Jessie (64bit) host machine to Windows 7 (32bit) guest
machine but unfortunately it does not work very well. It looks that
device is passed thru so Windows machine knows about new device and
loads HID device driver for it but the device driver failed to start the
device and details of an error provided by device manager is "This
device cannot start" Code 10.

Installed Qemu version: 2.1+dfsg-12+deb8u4 0

USB device spec: Dynon Instruments ELAB-080, USB 1.1

On linux host computer
---------------------------
lsusb identify it as:
Bus 003 Device 009: ID 13a3:0001 

lsusb -t identify it as:
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
    |__ Port 1: Dev 9, If 0, Class=Human Interface Device, Driver=usbhid, 12M

This is how I started my Windows guest machine
------------------------------------------------------
kvm -cpu host \
    -m 2048MiB \
    -hda test.vdi \
    -ctrl-grab \
    -parallel /dev/parport0 \
    -usbdevice host:13a3:0001

...also instead of last line I tried this one:
    -device usb-host,vendorid=0x13a3,productid=0x0001

none of them help to properly handle my device inside guest machine.

Only one time the Windows guest machine properly start the device so
software for that oscilloscope can identify the Oscilloscope and measure
for a while but unfortunately after I guess 5 seconds of measurement the
device was disconnected from Windows and never start working again even
after couple of restarts of guest machine even after plug and unplug
it's USB cable and power cable.

I searched for a solution or some clues to get it work but none of my
searching over the internet was successful. Because device works on pure
Windows but not work on virtualized one, I think there is a problem with
handling not standard USB devices (like sticks, keyboards, mouses etc.)

** Affects: qemu
     Importance: Undecided
         Status: New


** Tags: hid oscilloscope uhci 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/1511887

Title:
  USB device 1.1 not correctly passedthru from Linux host to Windows
  guest

Status in QEMU:
  New

Bug description:
  I have USB Digital Oscilloscope which works great on pure Windows
  machine but not work on virtualized one. I tried passthru the device
  from my Debian Jessie (64bit) host machine to Windows 7 (32bit) guest
  machine but unfortunately it does not work very well. It looks that
  device is passed thru so Windows machine knows about new device and
  loads HID device driver for it but the device driver failed to start
  the device and details of an error provided by device manager is "This
  device cannot start" Code 10.

  Installed Qemu version: 2.1+dfsg-12+deb8u4 0

  USB device spec: Dynon Instruments ELAB-080, USB 1.1

  On linux host computer
  ---------------------------
  lsusb identify it as:
  Bus 003 Device 009: ID 13a3:0001 

  lsusb -t identify it as:
  /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
      |__ Port 1: Dev 9, If 0, Class=Human Interface Device, Driver=usbhid, 12M

  This is how I started my Windows guest machine
  ------------------------------------------------------
  kvm -cpu host \
      -m 2048MiB \
      -hda test.vdi \
      -ctrl-grab \
      -parallel /dev/parport0 \
      -usbdevice host:13a3:0001

  ...also instead of last line I tried this one:
      -device usb-host,vendorid=0x13a3,productid=0x0001

  none of them help to properly handle my device inside guest machine.

  Only one time the Windows guest machine properly start the device so
  software for that oscilloscope can identify the Oscilloscope and
  measure for a while but unfortunately after I guess 5 seconds of
  measurement the device was disconnected from Windows and never start
  working again even after couple of restarts of guest machine even
  after plug and unplug it's USB cable and power cable.

  I searched for a solution or some clues to get it work but none of my
  searching over the internet was successful. Because device works on
  pure Windows but not work on virtualized one, I think there is a
  problem with handling not standard USB devices (like sticks,
  keyboards, mouses etc.)

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

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

end of thread, other threads:[~2021-05-04  7:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-31  0:23 [Qemu-devel] [Bug 1511887] [NEW] USB device 1.1 not correctly passedthru from Linux host to Windows guest Jiri Cejka
2017-05-19 10:32 ` [Qemu-devel] [Bug 1511887] " Thomas Huth
2017-05-19 11:26 ` Jiri Cejka
2017-05-19 12:44 ` Thomas Huth
2017-06-16 11:30 ` Jiri Cejka
2018-12-18  7:23 ` Johansen
2021-05-04  7:23 ` Thomas Huth

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