Hi, I found it depends on camera.
Second capturing fails with device which ID=0c45:62c0 (Sonix USB 2.0 Camera). But works with ID=046d:0992 (Logitech Quickcam Communicate STX) Status of this camera on the list http://linux-uvc.berlios.de/ is still unknown but works fine. Regards, On Wed, 7 Nov 2007 00:46:25 +0100 Laurent Pinchart <[EMAIL PROTECTED]> wrote: > 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
