Re: Exposure set bug in stv06xx driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well that was quick.  These issues as well as the stream drops were
remedied in 2.6.31-rc7, except exposure and gain still cannot be set
with v4l2ucp.  As a bonus, I found the autogain white list in
v4l2-apps/libv4l/libv4lconvert/control/libv4lcontrol.c.  Is there a
white list to turn on the gain and exposure manual controls?

While the autogain works great, the autoloss doesn't.  Gain increases
automatically, but is not decreased when light levels rise.  Also,
updating the exposure readout in v4l2ucp decreases the exposure about
10% and incorrectly reports an exposure somewhere between the original
level and the changed level.  E.g., click the exposure update button
and the exposure drops from 20000 to 18000 and reports 19000.

Thanks for all the work.

   -  Jim

On Sat, 22 Aug 2009 15:10:31 -0400
James Blanford <jhblanford@xxxxxxxxx> wrote:

> Quickcam Express 046d:0840
> 
> Driver versions:  v 2.60 from 2.6.31-rc6 and v 2.70 from 
> gspca-c9f3938870ab
> 
> Problem:  Overexposure and horizontal orange lines in cam image.
> Exposure and gain controls in gqcam and v4l2ucp do not work.  By
> varying the default exposure and gain settings in stv06xx.h, the lines
> can be orange and/or blue, moving or stationary or a fine grid.
> 
> Workaround:  Using the tool set_cam_exp, any exposure setting removes
> the visual artefacts and reduces the image brightness for a given 
> set of gain and exposure settings.
> 
> By default:
> 
> Aug 21 14:22:02 blackbart kernel: STV06xx: Writing exposure 5000,
> rowexp 0, srowexp 0
> 
> Note what happens when I set the default exposure to 1000:
> 
> Aug 21 20:44:23 blackbart kernel: STV06xx: Writing exposure 1000,
> rowexp 0, srowexp 139438350
> 
> By the way, is there any possibility of enabling autogain?
> 
> Thanks for your interest,
> 
>    -  Jim
> 


-- 
There are two kinds of people.  The innocent and the living.
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux