Brian Johnson schrieb:
Here are several more patches.The first patch is just the one to add support for the om6802 sensor with the addition of code to support hvflip, exposure, gain and auto exposure. The chip doesn't have an autogain function since turning on its AE will also control the gain. Hopefully MBOOMA will get back about whether his camera actually works with this patch. The second patch removes all the defines for the usb VIDs and PIDs. These re only ever used in the device table and really don't provide any useful purupse over just coding the ids in directly. My third patch modifies the AE v4l control to report that is a boolean value. I'm aware that that is somewhat different then the v4l2 specs for this control, however the priority shutter and priority aperture settings don't really make sense for webcams which use an on or off approach for auto exposure. The two options i can think of are either defining our own private auto exposure cid or reusing the one alreayd defined but have the queryctrl ioctl report that it is boolean. Since it seems various other webcam modules in the kernel are doing the second option thats the one i choose.
Are you aware that the V4L2 spec defines AE as "on" when 0 is set and "off" when 1 is set?
GWater
signature.asc
Description: OpenPGP digital signature
