pkgsrc/graphics/spcaview/patches/patch-ab
reinoud 742c57d8f7 Updated spca5 to version 0.60. In this patch also preliminary support
trough trough the added patch for the Logitech QuickCam Express.
2006-11-13 19:27:27 +00:00

38 lines
1.2 KiB
Text

$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;
};