Hi Ben,

On Wednesday 11 July 2007, Ben Lau wrote:
> Hi Laurent,
>
> On 7/11/07, Laurent Pinchart <[EMAIL PROTECTED]> wrote:
> > The timeout is specified in milliseconds. 300ms should have been more
> > than enough. The V-Gear Talkcam MX6 AF might be a bit slow to answer
> > though, and upgrading your kernel might have introduced latencies in URB
> > submission, or removed latencies in the timeout handling code.
>
> yes, the usb_start_wait_urb() was reimplemented in 2.6.19 to use
> completion timeout instead of timer. I think it is probably the source
> of my problem.

I had a look at the git log. You're right, that's probably the reason. I 
suspect the V-Gear webcam to have borderline timings, and the 
usb_start_wait_urb() reimplementation made it fall over the edge.

> > I'd like to avoid setting the default timeout too high. Could you please
> > test with intermediate values ?
>
> No problem. The lowest stable timeout I could use is 350ms. Below the
> value is quite unstable. I will continue the test for few more days.

I'll raise the default value in the driver, or come up with a way to set 
dynamic timeouts. Please let me know the outcome of your tests.

Regards,

Laurent Pinchart
_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to