media: gspca: sonixj: Add illuminator control to the webcam 06f8:3008
Subsystems (2)
PATCH v3 1/1 media: gspca: sonixj: Add illuminator control to the webcam 06f8:3008
Add hercules deluxe optical glass illuminator support.
Signed-off-by Pierre MORVAN <[email protected]>
--- drivers/media/usb/gspca/sonixj.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/media/usb/gspca/sonixj.c +2 -1
@@ -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)}, */
Signature · 1 line
2.53.0