Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Aug 2006 14:15:51 +0200
From:      "Peter Cornelius" <pcc@gmx.net>
To:        FreeBSD Mulitmedia Mailing List <freebsd-multimedia@freebsd.org>
Subject:   New USB QuickCam Express Partial Success with spca5xx-20060402
Message-ID:  <20060827121551.18970@gmx.net>

next in thread | raw e-mail | index | archive | help
TO WHOM IT MAY CONCERN

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,

Peter.

---
Further information follows.

---
// Code changes to spca5xx-20060402 port
[pc@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
738d737
<     case 0x092f:
diff -r work.modified/spca5xx-20060402/drivers/usb/spca5xx.c work.orig/spca5xx-20060402/drivers/usb/spca5xx.c
481d480
<     LogitechQC92f,
644d642
<     {LogitechQC92f, "Logitech QuickCam Express (new, from Reichelt)"},
811d808
<     {USB_DEVICE(0x046d, 0x092f)},     /* Logitech QC Express, 2006, from Reichelt */
7373,7383d7369
<           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@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@walkabout ~]# uname -a
FreeBSD walkabout.pcc 6.1-STABLE FreeBSD 6.1-STABLE #0: Tue Aug  8 12:29:11 CEST 2006     root@walkabout.pcc:/usr/obj/usr/src/sys/GENERIC  i386

---
// spca5xx-20060402 run output (hitting 'i')
[pc@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
http://www.flickr.com/photos/26924544%40N00/sets/72157594253180926/
-- 


Echte DSL-Flatrate dauerhaft für 0,- Euro*. Nur noch kurze Zeit!
"Feel free" mit GMX DSL: http://www.gmx.net/de/go/dsl



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060827121551.18970>