libv4l: activate software whitebalance by default on some cams
authorhans@rhel5-devel.localdomain <hans@rhel5-devel.localdomain>
Tue, 26 May 2009 08:11:14 +0000 (10:11 +0200)
committerhans@rhel5-devel.localdomain <hans@rhel5-devel.localdomain>
Tue, 26 May 2009 08:11:14 +0000 (10:11 +0200)
From: Hans de Goede <hdegoede@redhat.com>

libv4l: activate software whitebalance by default on some cams

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
lib/libv4lconvert/control/libv4lcontrol.c

index 6bf5b62..ec37504 100644 (file)
@@ -76,11 +76,15 @@ static const struct v4lcontrol_flags_info v4lcontrol_flags[] = {
   /* Pac7302 based devices */
   { 0x093a, 0x2620, 0x0f, NULL, NULL,
     V4LCONTROL_ROTATED_90_JPEG|V4LCONTROL_WANTS_WB },
+  /* Pac7311 based devices */
+  { 0x093a, 0x2600, 0x0f, NULL, NULL, V4LCONTROL_WANTS_WB },
   /* sq905 devices */
   { 0x2770, 0x9120, 0,    NULL, NULL, V4LCONTROL_WANTS_WB },
   /* spca561 revison 12a devices */
   { 0x041e, 0x403b, 0,    NULL, NULL, V4LCONTROL_WANTS_WB_AUTOGAIN },
   { 0x046d, 0x0928, 7,    NULL, NULL, V4LCONTROL_WANTS_WB_AUTOGAIN },
+  /* logitech quickcam express stv06xx + pb0100 */
+  { 0x046d, 0x0840, 0,    NULL, NULL, V4LCONTROL_WANTS_WB },
 };
 
 static const struct v4l2_queryctrl fake_controls[];