Patch: gspca-sonixb-ov6650-fixes.patch
Hi,
2 small sonixb ov6650 fixes:
1) Don't change the red and blue pre-gain's from their defaults
2) Actually make the powerline freq ctrl available to userspace
Signed-off-by Hans de Goede <[email protected]>
Regards,
Hans
2 small sonixb ov6650 fixes:
1) Don't change the red and blue pre-gain's from their defaults
2) Actually make the powerline freq ctrl available to userspace
Signed-off-by Hans de Goede <[email protected]>
linux/drivers/media/video/gspca/sonixb.c +10 -3
@@ -246,8 +297,15 @@ {0xd0, 0x60, 0x26, 0x01, 0x14, 0xd8, 0xa4, 0x10}, /* format out? */ {0xd0, 0x60, 0x26, 0x01, 0x14, 0xd8, 0xa4, 0x10}, {0xa0, 0x60, 0x30, 0x3d, 0x0A, 0xd8, 0xa4, 0x10}, -/* Disable autobright ? */ - {0xb0, 0x60, 0x60, 0x66, 0x68, 0xd8, 0xa4, 0x10}, +/* Enable rgb brightness control */ + {0xa0, 0x60, 0x61, 0x08, 0x00, 0x00, 0x00, 0x10}, +/* HDG: Note windows uses the line below, which sets both register 0x60 +and 0x61 I believe these registers of the ov6650 are identical as +those of the ov7630, because if this is true the windows settings +add a bit additional red gain and a lot additional blue gain, which +matches my findings that the windows settings make blue much too +blue and red a little too red. +{0xb0, 0x60, 0x60, 0x66, 0x68, 0xd8, 0xa4, 0x10}, */ /* Some more unknown stuff */ {0xa0, 0x60, 0x68, 0x04, 0x68, 0xd8, 0xa4, 0x10}, {0xd0, 0x60, 0x17, 0x24, 0xd6, 0x04, 0x94, 0x10}, /* Clipreg */
@@ -813,7 +932,7 @@ sd->sensor =SENSOR_OV6650 ; sd->sensor_has_gain =1 ; sd->sensor_addr =0x60 ; - sd->sd_desc.nctrls =4 ; + sd->sd_desc.nctrls =5 ; sd->sd_desc.dq_callback = do_autogain; sif =1 ;break ;
--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list