Hi Jani,

On Sunday 06 March 2011 16:12:01 Jani Frilander wrote:
> 2011/3/6 Laurent Pinchart wrote:
> > Could you please send me the output of
> > 
> > lsusb -v -d 045e:076d
> > 
> > (running as root if possible) ?
> 
> Gzipped file attached.

Thanks.

> > Looks like the webcam has been designed by yet another brain-dead
> > developer. *sigh* :-(
> 
> Or maybe they have crippled it for a purpose.

Never underestimate human stupidity :-)

> > What are the minimum, maximum, default and step values reported by the
> > driver when you query the exposure control ?
> 
> Output of v4l2-ctl -l:
> brightness (int)  : min=30 max=255 step=1 default=133 value=153
> contrast (int)  : min=0 max=10 step=1 default=5 value=5
> saturation (int)  : min=0 max=200 step=1 default=83 value=83
> white_balance_temperature_auto (bool) : default=1 value=1
> power_line_frequency (menu) : min=0 max=2 default=2 value=1
> white_balance_temperature (int)  : min=2800 max=10000 step=1
> default=4500 value=3935
> sharpness (int)  : min=0 max=50 step=1 default=20 value=50
> backlight_compensation (int)  : min=0 max=10 step=1 default=0 value=0
> exposure_auto (menu) : min=0 max=3 default=1 value=3
> exposure_absolute (int)  : min=5 max=20000 step=1 default=156 value=156

According to what the camera reports, all values between 5 and 20000 should be 
valid. That's obviously not the case, as showed by your tests. The driver 
unfortunately has no way to know that only a couple of exposure values are 
supported by the camera.

> focus_absolute (int)  : min=0 max=40 step=1 default=0 value=0
> focus_auto (bool) : default=0 value=1
> zoom_absolute (int)  : min=0 max=10 step=1 default=0 value=0
> 
> As a side note, this webcam doesn't support all exposure_auto values.
> Output from guvcview, when trying out all modes:
> 
> checking format: 1196444237
> VIDIOC_G_COMP:: Invalid argument
>    compression control not supported
> vid:045e
> pid:076d
> driver:uvcvideo
> VIDIOC_S_CTRL - Unable to set control: Input/output error
> Exposure, Auto change to 0 failed
> hardware value is 3
> VIDIOC_S_CTRL - Unable to set control: Input/output error
> Exposure, Auto change to 2 failed
> hardware value is 1

That's a known problem I need to fix in the driver. It will unfortunately not 
solve your absolute exposure issue though.

-- 
Regards,

Laurent Pinchart
_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to