Hello Laurent, Thanks for the previous tip. I'm trying to list the camera controls (Logitech QuickCam Pro 9000) with the example:
http://linux-uvc.berlios.de/test.c Unfortunately, the line: query.id |= V4L2_CTRL_FLAG_NEXT_CTRL; #endif ret = ioctl(dev, VIDIOC_QUERYCTRL, &query); returns ret = -1. :( Regards, Héctor. ---------------------------------------- > From: [EMAIL PROTECTED] > To: [email protected] > Date: Fri, 14 Mar 2008 00:01:31 +0100 > Subject: Re: [Linux-uvc-devel] Logitech 9000 and [EMAIL PROTECTED] > > Hi Philipp, > > On Tuesday 11 March 2008, Philipp Kolmann wrote: >> On Tue, Mar 11, 2008 at 05:16:18PM +0100, Philipp Kolmann wrote: >>> On Tue, Mar 11, 2008 at 05:09:41PM +0100, Richard Atterer wrote: >>>> On Tue, Mar 11, 2008 at 04:55:40PM +0100, Philipp Kolmann wrote: >>>>> I just wondered why my Logi 9k cam suddenly gave me 30fps at 640x420 >>>>> even in modest light (Skype and luvcview). >>>> >>>> Maybe because some program switched off auto-exposure and used a >>>> hardwired 30fps one, together with an appropriate gain for your >>>> lighting conditions? >>> >>> Well I just tested it again. After I unplug the cam and replug it, it >>> works as expected on 10-15 fps. >>> >>> Then I attached it one to the windows with logitech drivers and suddenly >>> it works much better. >>> >>> Well you could be right with the settings. How can I compare the >>> settings? >> >> I looked at luvcview -l -f yuv -i 30 -s 640x480: >> >> With the windows drivers once touch the cam: >> >> V4L2_CID_BASE (predefined controls): >> index:9963776 name:Brightness type:1 min:0 >> max:255 step:1 def:128 now:128 index:9963777 name:Contrast >> type:1 min:0 max:255 step:1 def:32 now:33 >> index:9963778 name:Saturation type:1 min:0 >> max:255 step:1 def:32 now:32 index:9963788 name:White Balance >> Temperature, Auto type:2 min:0 max:255 step:1 def:1 now:1 >> index:9963795 name:Gain type:1 min:0 >> max:255 step:1 def:0 now:255 V4L2_CID_PRIVATE_BASE (driver >> specific controls): >> Clean Up done Quit >> >> Here I get 32fps at 640. >> >> After power cycling the cam, I get the defaults from luvcview -l and 5fps. >> After setting the Gain back to 255 the cam still only got me 5fps. >> I haven't found how to disable auto-exposure so far. > > luvcview doesn't enumerate all controls. The test application available at > http://linux-uvc.berlios.de/test.c should work better. Use it to enumerate > all controls with their current value. > > Best regards, > > Laurent Pinchart > _______________________________________________ > Linux-uvc-devel mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/linux-uvc-devel _________________________________________________________________ ¡Actúa tu película favorita y gana fabulosos premios! http://cine.prodigymsn.com/nanometraje _______________________________________________ Linux-uvc-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
