Hi Hirofumi,

On Tuesday 06 November 2007, Hirofumi Momose wrote:
> Hello,
>
> I have a question that why uvc driver causes select() to time-out at
> second VIDIOC_STREAMON.
>
> This can be reproduced using v4l2 sample code.
> http://v4l2spec.bytesex.org/v4l2spec/capture.c
>
> Modify the main() a bit.
>
> ...
> open_device ();
> init_device ();
>
> // First streaming, works fine.
> start_capturing ();
> mainloop ();
> stop_capturing ();
>
> // Second attempt, fails.
> start_capturing();
> mainloop(); // => cause select() to time out.
> ...
>
> Is this correct ?

select() shouldn't timeout. Does the Linux UVC driver print messages in the 
kernel log after the timeout ?

Regards,

Laurent Pinchart
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to