From: Erik Rull <erik.rull@rdsoftware.de>
To: David Ahern <daahern@cisco.com>
Cc: kvm@vger.kernel.org
Subject: Re: USB EHCI patch for 0.14.0?
Date: Wed, 09 Mar 2011 22:28:03 +0100 [thread overview]
Message-ID: <4D77F0E3.6070500@rdsoftware.de> (raw)
In-Reply-To: <4D77A6E7.3080505@cisco.com>
David Ahern wrote:
> On 03/09/11 08:40, erik.rull@rdsoftware.de wrote:
>> 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
>
> Did those work with the previous qemu-kvm releases you tested?
I've tried it long time ago with kvm-88, but there it was working but
extremely slow. (At least the mouse was reacting there)
>> -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)
>
> Similarly, how does this compare to prior qemu-kvm releases?
I'm not sure if that had worked with kvm-88 automatically - sorry.
>> 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
>
> According to the EHCI spec an OS is not allowed to do that when the
> schedule and controller are enabled. It's more informational than
> anything that OS is not compliant.
ok. (Windows is the OS :-))
>> 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".
>
> Someone needs to dig into the EHCI spec and the code. I lost momentum on
> it last summer for various reasons.
>
> David
>
Hm, okay.
As far as I understood it, the auto-add feature should be similar to the
USB 1.1, right? It seems to work basically but not fully - the system is
somehow slowed down, maybe the polling timer is too fast? (I will play a
little bit with that and review and compare as well the auto routine)
And the usb-tablet should be an uhci-emulated component, that should then
not interfere with the ehci-emulation, right?
If you have any additional hints where to start digging, just let me know.
Best regards,
Erik
next prev parent reply other threads:[~2011-03-09 21:27 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-09 15:40 USB EHCI patch for 0.14.0? erik.rull
2011-03-09 16:12 ` David Ahern
2011-03-09 21:28 ` Erik Rull [this message]
2011-03-09 22:14 ` David Ahern
2011-03-09 22:48 ` 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-11 15:18 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
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=4D77F0E3.6070500@rdsoftware.de \
--to=erik.rull@rdsoftware.de \
--cc=daahern@cisco.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox