The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH v2] gspca: sonixj: Add illuminator control to the webcam 06f8:3008
@ 2026-11-29 19:53 Pierre MORVAN
  0 siblings, 0 replies; only message in thread
From: Pierre MORVAN @ 2026-11-29 19:53 UTC (permalink / raw)
  To: Hans Verkuil, Mauro Carvalho Chehab, linux-media, linux-kernel
  Cc: Pierre MORVAN

Add hercules deluxe optical glass illuminator support.

Signed-off-by: Pierre MORVAN <ryarnyah@gmail.com>
---
 drivers/media/usb/gspca/sonixj.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/media/usb/gspca/sonixj.c b/drivers/media/usb/gspca/sonixj.c
index 2e1bd2df8304..83dd99114ab8 100644
--- a/drivers/media/usb/gspca/sonixj.c
+++ b/drivers/media/usb/gspca/sonixj.c
@@ -2057,6 +2057,7 @@ static void setillum(struct gspca_dev *gspca_dev)
 		reg_w1(gspca_dev, 0x02,				/* gpio */
 			sd->illum->val ? 0x64 : 0x60);
 		break;
+	case SENSOR_OV7660:
 	case SENSOR_MT9V111:
 		reg_w1(gspca_dev, 0x02,
 			sd->illum->val ? 0x77 : 0x74);
@@ -2903,7 +2904,7 @@ static const struct usb_device_id device_table[] = {
 	{USB_DEVICE(0x0471, 0x0328), BS(SN9C105, MI0360)},
 	{USB_DEVICE(0x0471, 0x0330), BS(SN9C105, MI0360)},
 	{USB_DEVICE(0x06f8, 0x3004), BS(SN9C105, OV7660)},
-	{USB_DEVICE(0x06f8, 0x3008), BS(SN9C105, OV7660)},
+	{USB_DEVICE(0x06f8, 0x3008), BSF(SN9C105, OV7660, F_ILLUM)},
 /*	{USB_DEVICE(0x0c45, 0x603a), BS(SN9C102P, OV7648)}, */
 	{USB_DEVICE(0x0c45, 0x6040), BS(SN9C102P, HV7131R)},
 /*	{USB_DEVICE(0x0c45, 0x607a), BS(SN9C102P, OV7648)}, */
-- 
2.53.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-29 19:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-29 19:53 [PATCH v2] gspca: sonixj: Add illuminator control to the webcam 06f8:3008 Pierre MORVAN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox