summaryrefslogtreecommitdiff
path: root/graphics/spcaview/patches/patch-ab
blob: fe954531187b69e98b56d2a8d2eb4c91c736d53e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
$NetBSD: patch-ab,v 1.3 2006/11/13 19:27:28 reinoud Exp $

--- spca5xx.c.orig	2006-11-13 17:01:02.000000000 +0100
+++ spca5xx.c
@@ -462,6 +462,7 @@ enum {
     PhilipsSPC600NC,
     PhilipsSPC300NC,
     Sonix6019,
+    LogitechQC92f,
     LastCamera
 };
 static struct cam_list clist[] = {
@@ -624,6 +625,7 @@ static struct cam_list clist[] = {
     {PhilipsSPC600NC, "Philips SPC600NC "},
     {PhilipsSPC300NC, "Philips SPC300NC "},
     {Sonix6019, "Sonix VGA Ov7630 "},
+    {LogitechQC92f, "Logitech QuickCam express"},
     {-1, NULL}
 };
 
@@ -7301,6 +7303,17 @@ static int spcaDetectCamera(struct usb_s
 	    spca50x->cameratype = S561;
 	    info("USB SPCA5XX camera found.Logitech QuickCam chat (SPCA561A)");
 	    break;
+	case 0x092f:
+	    spca50x->desc = LogitechQC92f;
+	    spca50x->bridge = BRIDGE_SPCA561;
+	    spca50x->sensor = SENSOR_INTERNAL;
+	    spca50x->header_len = SPCA561_OFFSET_DATA;
+	    spca50x->i2c_ctrl_reg = SPCA50X_REG_I2C_CTRL;
+	    spca50x->i2c_base = SPCA561_INDEX_I2C_BASE;
+	    spca50x->i2c_trigger_on_write = 1;
+	    spca50x->cameratype = S561;
+	    info("USB SPCA5XX camera found.Logitech QuickCam express (SPCA561A)");
+	    break;
 	default:
 	    goto error;
 	};