Re: USB EHCI patch for 0.14.0?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux