Re: uvcvideo causes ehci_hcd to halt

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

 



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-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux