pwcbsd and Logitech Quickcam Chat

germain le-chapelain glecha at gmail.com
Mon Feb 26 00:10:52 UTC 2007


 > Torfinn Ingolfsen
 >
 > On Mon, 09 Oct 2006 13:04:10 -0700
 > Kevin Downey <redchin at gmail.com> wrote:
 >
 > > prospero# spca5shot -i -d /dev/ugen0
 > >  Devices not found !!
 > > Not found SPCA50x based usb camera, or Permission denied
 >
 > Ok, then it seems that your webcam isn't spca5xx based.
 > Time for you to find out whichchipset it really have...
 >


our device is actually supported, spca port isn't aware of it, at might 
has been released after.
Here is the patch

======8<======8<======

--- usb/spca561.h       Sun Feb 25 17:54:46 2007
+++ /home/german/workspace/spca/spca561.h       Sun Feb 25 17:37:14 2007
@@ -735,6 +735,7 @@
     case 0x403b:
     case 0x092b:
     case 0x092c:
+    case 0x092e:
        spca50x->chip_revision = Rev012A;
        break;
     default:
diff -rub usb/spca5xx.c /home/german/workspace/spca/spca5xx.c
--- usb/spca5xx.c       Sun Feb 25 17:54:46 2007
+++ /home/german/workspace/spca/spca5xx.c       Sun Feb 25 17:34:50 2007
@@ -6924,6 +6924,19 @@
            info("USB SPCA5XX camera found. Logitech QC IM ");
            break;
 
+       case 0x092e:
+
+           spca50x->desc = QCimA1;
+           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 = 0;
+           spca50x->i2c_trigger_on_write = 0;
+           spca50x->cameratype = S561;
+           info("USB SPCA5XX camera found. Logitech QC IM ");
+           break;
+
        case 0x08a2:            // zc302 chips

======>8======>8======

A hole lot of cams are supported in gscpa-*. which is the driver for 
more recent linux kernel, and can be used as a reference would another 
cam not be supported.



More information about the freebsd-multimedia mailing list