[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.0910231809290.31680-100000@netrider.rowland.org>
Date: Fri, 23 Oct 2009 18:14:35 -0400 (EDT)
From: Alan Stern <stern@...land.harvard.edu>
To: Ozan Çağlayan <ozan@...dus.org.tr>
cc: Laurent Pinchart <laurent.pinchart@...asonboard.com>,
<linux-media@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
USB list <linux-usb@...r.kernel.org>
Subject: Re: 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists