Laurent, Martin, others, I have arrived to a point in which I'm very confused. I have learnt that you can only turn off the color processing when the camera is not capturing. So, I stop the capture program, and then run bayer. If I disable color processing I cannot run my capture program again since. I always get:
select timeout VIDIOC_DQBUF error 11, Resource temporarily unavailable When I turn again the video processing on then the program works fine again. Any ideas? On 1/8/07, Laurent Pinchart <[EMAIL PROTECTED]> wrote:
Hi Jose, > Hi Martin Rubli and others! > > First, let me thank you for the work done so far in the driver! As the project leader, let me thank you :-) > The thing is that I am trying to disable the camera auto gain. > I have read some previous threads that treated this same topic, but haven't > succeeded so far. I applied the patch that Martin Rubli made available. I > then compliled and installed. Later, I compiled the "bayer.c" file. > > I am using a Logitech Ultra Vision camera and opencv and works pretty ok, > but when I run the bayer program I get: > > sudo ./bayer /dev/video0 0 > Device /dev/video0 opened: USB Video Class device. > Enabling color pipeline ... > ERROR: Unable to set device control: -1 > > From what I understand, the idea is to change the camera behaviour in > run-time, isn't it? I mean, I can tell the camera to stop doing > auto-adjustments (gain, shutter, whatever) anytime. Can this be achieved? That's right. The Quickcam Ultra Vision might have slightly different controls. I have no such model here, so I can't test the patch. Maybe Martin could have a look. Martin, by the way, is it necessary to put the webcam in bayer mode to disable the auto-exposure ? Or would the auto-exposure mode control do the job alone ? Cheers, Laurent Pinchart
_______________________________________________ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel