New USB QuickCam Express Partial Success with spca5xx-20060402

Peter Cornelius pcc at
Sun Aug 27 13:12:47 UTC 2006


I recently bought a Logitech QuickCam Express which I hoped to be using with one of the ports tools. However, it apparently uses a new USB vendor, device id of 0x046d, 0x092f and as such is not recognised by the tools currently there (ports from 25-Aug-2006).

With the spca5xx-20060402 port, I managed to do some stupid cut & paste magic (please see below) which provides me with a still (spca5shot) or a moving image (spca5view). I therefore believe that the changes between this model and the previous known versions are somewhat minor although I have not opened the ball.

With the USBv1 connections at my laptop, I achieve a reported frame rate of ~8.6 fps. I don't know whether this can be improved by using USBv2 for which I do not have a device handy right now.

As a sidetracker, I noted that the camera appears very susceptible to red light and that green and particularly blue levels are very low. As a result, particularly with artificial light, images appear somewhat brownish. I don't know whether one can add a correction somewhere or not.  

The camera also comes up with a very 'dark' image in spca5xx-20060402 but when I hit 'i' it suddenly is much more clear. I am not aware, either, whether there is a way to read the video stream with any other application such as videoconferencing tools etc. (please correct me if I's wrong).

If you feel that there was anyone off this list who should have this posting, please feel free to forward it. If anyone desired a personal reaction from myself, I'd appreciate a personal Cc: (and a little patience ;-)) so I don't overlook it, thank you

All the best regards,


Further information follows.

// Code changes to spca5xx-20060402 port
[pc at walkabout /usr/ports/graphics/spcaview]$ sudo diff -r work.*
diff -r work.modified/spca5xx-20060402/drivers/usb/spca561.h work.orig/spca5xx-20060402/drivers/usb/spca561.h
<     case 0x092f:
diff -r work.modified/spca5xx-20060402/drivers/usb/spca5xx.c work.orig/spca5xx-20060402/drivers/usb/spca5xx.c
<     LogitechQC92f,
<     {LogitechQC92f, "Logitech QuickCam Express (new, from Reichelt)"},
<     {USB_DEVICE(0x046d, 0x092f)},     /* Logitech QC Express, 2006, from Reichelt */
<           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, 2006, from Reichelt (SPCA561A)");

// Device Information
[root at walkabout ~]# usbdevs -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 1.00
 port 1 addr 2: full speed, power 100 mA, config 1, Camera(0x092f), vendor 0x046d(0x046d), rev 0.00
 port 2 powered

// OS State
[root at walkabout ~]# uname -a
FreeBSD walkabout.pcc 6.1-STABLE FreeBSD 6.1-STABLE #0: Tue Aug  8 12:29:11 CEST 2006     root at walkabout.pcc:/usr/obj/usr/src/sys/GENERIC  i386

// spca5xx-20060402 run output (hitting 'i')
[pc at walkabout ~/tmp]$ spca5view
 Devices not found !!
USB SPCA5XX camera found. Logitech QuickCam Express, 2006, from Reichelt (SPCA561A)

[spca5xx_probe:8264] Camera type S561
[spca5xx_getcapability:2244] maxw 352 maxh 288 minw 160 minh 120
[spca561_init:473] Find spca561 USB Product ID 92f
calculating frame rate... just a moment please...........8.33(fps)

--- video picture  ---
brightness: 27136
hue: 0
colour: 0
contrast: 11264
whiteness: 0
depth: 24
palette: 4

// Sample image, Spec at

Echte DSL-Flatrate dauerhaft für 0,- Euro*. Nur noch kurze Zeit!
"Feel free" mit GMX DSL:

More information about the freebsd-multimedia mailing list