From: David Ahern <daahern@cisco.com>
To: ya su <suya94335@gmail.com>
Cc: Erik Rull <erik.rull@rdsoftware.de>,
Markus Armbruster <armbru@redhat.com>,
"kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: USB EHCI patch for 0.14.0?
Date: Mon, 11 Apr 2011 07:23:26 -0600 [thread overview]
Message-ID: <4DA300CE.8070606@cisco.com> (raw)
In-Reply-To: <BANLkTi=-p+-n4j3wFSPr8jsLqr7bfA-Exw@mail.gmail.com>
On 04/11/11 03:40, ya su wrote:
> David:
>
> I have applied the patch to 0.14.0, and there is a bug if I add a
> optiarc CRRWDVD CRX890A usb device on windows xp, I first comment out
> the following code in usb-linux.c:
>
> if (is_halted(s, p->devep)) {
> ret = ioctl(s->fd, USBDEVFS_CLEAR_HALT, &urb->endpoint);
> #if 0
> if (ret < 0) {
> DPRINTF("husb: failed to clear halt. ep 0x%x errno %d\n",
> urb->endpoint, errno);
> return USB_RET_NAK;
> }
> #endif
> clear_halt(s, p->devep);
> }
>
> then it can continue to run in linux, but still stall on windows
> xp and win7. I turn on debug, part of the output is as the following:
The EHCI code is very rough and needs someone to step up and finish it.
It seems to work ok for USB storage devices (keys and drives), and seems
to work fine with printers and scanners (at least it works with mine
;-)). I see stalls from time to time, but it recovers and continues on.
Clearly some touchups are needed.
On the other end it is known not to work with any audio and video
devices (webcams, iphones).
Something like the DVD I have no idea - never tried.
I lost momentum on the code last August and have not been able to get
back to it for a variety of reasons. It really needs someone to pick it
up and continue - or look at adding xhci code which might be a better
solution for virtualization.
David
next prev parent reply other threads:[~2011-04-11 13:23 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 [this message]
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
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=4DA300CE.8070606@cisco.com \
--to=daahern@cisco.com \
--cc=armbru@redhat.com \
--cc=erik.rull@rdsoftware.de \
--cc=kvm@vger.kernel.org \
--cc=suya94335@gmail.com \
/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