lkml.org 
[lkml]   [2009]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: uvcvideo causes ehci_hcd to halt
On Fri, 23 Oct 2009, [UTF-8] Ozan Çağlayan wrote:

> > There's something odd about this. I'd like to see this file again,
> > after the patch below has been applied.
> >
>
> periodic
> size = 1024
> 1: qh1024-0001/f6ffe280 (h2 ep2 [1/0] q0 p8) t00000000

On closer study and more careful thought, there's nothing odd here at
all. This is what would be expected given the bug that you saw.

> After putting a udelay() the problem seems to be resolved. I did a
> rmmod-modprobe-sleep in 50 iterations, and the host controller was
> still functional along with the web-cam:

Okay, that proves this really is a timing bug in the hardware. But we
can't go around putting 2-millisecond delays in the kernel! Maybe you
can test to see if smaller delays will fix the problem. If 50
microseconds or less doesn't work then it will be necessary to add a
new timer to ehci-hcd.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2009-10-24 00:17    [W:0.082 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site