public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Re: USB EHCI patch for 0.14.0?
@ 2011-03-11 15:18 erik.rull
  2011-03-11 15:39 ` Markus Armbruster
  2011-03-11 15:57 ` David Ahern
  0 siblings, 2 replies; 30+ messages in thread
From: erik.rull @ 2011-03-11 15:18 UTC (permalink / raw)
  To: kvm

Hi David,

I did a second iteration and it looked way better, maybe my first attempts
were somehow buggy.

First - please review your DPRINTF in the usb-ehci.c, there is a variable
"dev" undefined in line 504/505 when enabling the debugging defines at the
top of the file, the compiler complains there.

I tested again with your hints, here my results:

- using -device usb-host causes windows not to boot completely, using
-usbdevice host:auto:*.* is fine!

- using -usbdevice tablet is better than using -device usb-tablet


- only one "external" USB device gets detected, the rest is just ignored.
qemu does not recognize the device, but the host OS sees it (dmesg output)

- if the first plugged in device is removed from the usb port and the
second (not detected one) is still plugged in, then this second device gets
now detected by qemu and is handled to the guest

Additionally something really interesting:
if I disable USB 2.0 in my host BIOS and boot my guest system with the qemu
ehci patch, then I get no longer the BSOD in windows when removing the
printer! :-) So the patch seems also to improve the usb-uhci stuff.

So everything is fine now beside the "more than one USB device" issue.

Any ideas what this could be?

Thanks a lot for your support!

Best regards,

Erik



^ permalink raw reply	[flat|nested] 30+ messages in thread
* Re: USB EHCI patch for 0.14.0?
@ 2011-03-14  8:38 erik.rull
  2011-03-17 18:05 ` Erik Rull
  0 siblings, 1 reply; 30+ messages in thread
From: erik.rull @ 2011-03-14  8:38 UTC (permalink / raw)
  To: kvm

Hi all,

I've tested the following:

- EHCI patch without auto_add and adding the devices manually
Result:
Works fine, all devices could be added. I've tested only 2 but it is more
than with the auto_add feature :-)

- UHCI only (no EHCI patch) with enabled "-device usb-host"
Result:
Same as with EHCI-Patch and enabled auto_add! Only ONE device gets detected.
info usb shows two (tablet and one hardware usb device)
info usbhost shows two hardware devices (+ the complete host controller
set), where the second one does not get detected by qemu-kvm until the
first device gets removed. If I then plug in again the first device, it
does not get detected until the second gets removed (and so on)

So the auto-add seems to be buggy in all configurations, it does not seem
to be related with the EHCI-patch (that's my thought at this point).

Best regards,

Erik



^ permalink raw reply	[flat|nested] 30+ messages in thread
* Re: USB EHCI patch for 0.14.0?
@ 2011-03-09 15:40 erik.rull
  2011-03-09 16:12 ` David Ahern
  0 siblings, 1 reply; 30+ messages in thread
From: erik.rull @ 2011-03-09 15:40 UTC (permalink / raw)
  To: kvm

Hi David,

looks really impressive.
It works and the performance is really good!

But some things are not working and cause my Windows guest to stop booting
or getting slowed down:
-device usb-tablet
-device usb-mouse
do not really work. (I have connected a PS/2 mouse to have no interference
with the rest of the USB system that works fine without the patch)
If I add them to the command line, windows does not boot up (it hangs
before the GUI comes up with ~ 12% CPU time on the host side)
If I add them at runtime via the qemu console it has no influence to the
guest - I still see no possibility grabbing the mouse to the client

-device usb-host
(for adding all USB devices automatically to the client) works only partly.
The client is slowed down when having activated this function but e.g. the
USB key gets detected - but not completely, Windows seem to hang somewhere
after having got the hardware and before displaying the key in the Explorer
(works without the patch)

If one of the above options are enabled I get sometimes a "USB Stall"
displayed in the qemu-console.
Additonally these lines appear:
ehci: PERIODIC list base register set while periodic schedule
and
ehci: ASYNC list address register set while async schedule

If I can help you or give you more feedback or even try out new patches,
just let me know.
I'm really interested in solving the "missing features".

Best regards,

Erik




^ permalink raw reply	[flat|nested] 30+ messages in thread
* USB EHCI patch for 0.14.0?
@ 2011-03-08 16:23 Erik Rull
  2011-03-08 18:54 ` David Ahern
  0 siblings, 1 reply; 30+ messages in thread
From: Erik Rull @ 2011-03-08 16:23 UTC (permalink / raw)
  To: kvm@vger.kernel.org

Hi all,

I've found a usb ehci patch here in the mailing list (begin of january) but 
it does not fit for 0.14.0.

Is there an updated patch for the latest qemu-kvm version?

Thanks a lot.

Best regards,

Erik

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

end of thread, other threads:[~2011-06-06 13:20 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-11 15:18 USB EHCI patch for 0.14.0? erik.rull
2011-03-11 15:39 ` Markus Armbruster
2011-03-11 16:01   ` David Ahern
2011-03-11 16:17     ` Markus Armbruster
2011-03-11 16:34       ` David Ahern
2011-03-11 16:24   ` Erik Rull
2011-03-11 16:46     ` Markus Armbruster
2011-03-11 16:56       ` Erik Rull
2011-03-11 17:11         ` David Ahern
2011-03-11 17:31           ` David Ahern
2011-04-11  9:40             ` ya su
2011-04-11 13:23               ` David Ahern
2011-04-11 16:32                 ` Jan Kiszka
2011-04-11 16:46                 ` Jan Kiszka
2011-04-11 17:53                   ` David Ahern
2011-04-11 20:07                     ` Jan Kiszka
2011-04-11 21:10                       ` Alexander Graf
2011-03-11 15:57 ` David Ahern
2011-03-11 16:32   ` Erik Rull
  -- strict thread matches above, loose matches on Subject: below --
2011-03-14  8:38 erik.rull
2011-03-17 18:05 ` Erik Rull
2011-03-09 15:40 erik.rull
2011-03-09 16:12 ` David Ahern
2011-03-09 21:28   ` Erik Rull
2011-03-09 22:14     ` David Ahern
2011-03-09 22:48       ` Erik Rull
2011-03-08 16:23 Erik Rull
2011-03-08 18:54 ` David Ahern
2011-06-06 11:33   ` André Weidemann
2011-06-06 13:18     ` David Ahern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox