From: David Ahern <daahern@cisco.com>
To: erik.rull@rdsoftware.de
Cc: kvm@vger.kernel.org
Subject: Re: USB EHCI patch for 0.14.0?
Date: Fri, 11 Mar 2011 08:57:26 -0700 [thread overview]
Message-ID: <4D7A4666.2020007@cisco.com> (raw)
In-Reply-To: <0NZZCL-1Py46m2UCX-0000eH@icpu525.kundenserver.de>
On 03/11/11 08:18, erik.rull@rdsoftware.de wrote:
> 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.
Args to that function was changed recently; I just deleted the printf.
>
> 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)
I have not used the auto feature. What happens if you disable it and
instead add the devices you want? I have been able to add both a printer
and a USB key to a guest -- both on the EHCI bus. And just verified
again - both printer and USB key accessible within the guest.
>
> - 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
Interesting. Gerd made a lot of changes to the USB code right before
0.14. I have not really followed the change set - or how it might impact
ehci. It could be a bug independent of ehci as well -- try it without
the ehci patch and see if the same occurs.
>
> 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.
Our mileage differs here as well. I'm running Fedora 14 on my laptop.
With the ehci enabled version of qemu-kvm I have no problems connecting
and disconnecting devices -- host or guest.
David
>
> 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
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2011-03-11 15:56 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D7A4666.2020007@cisco.com \
--to=daahern@cisco.com \
--cc=erik.rull@rdsoftware.de \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.