Hi, On Wednesday 12 December 2001 06:35, Li Tan wrote: > Hi, I am using Philips ToU usb cam in redhat 7.2. After I fixed > VIDIOCMCAPTURE, I met another problem that VIDIOCSYNC is not working, and > the error is invalid argument. while(i<0){ > > i= ioctl(cam,VIDIOCSYNC, &frame); > if(i < 0 && errno == EINTR) continue; > if (i < 0) { // it start to capture to > perror ("VIDIOCSYNC"); // the other buffer. > exit(-1); > } > break; > > What's wrong with it, is there any special thing for ToU cam? No. Please send me your code, and I can have a look at it. It's probably related to your 'fix' to VIDIOCMCAPTURE. - Nemosoft