Web lists-archives.com

Re: [Spca50x-devs] Bug and partial solution for Logitech QuickCam for Notebooks




2007/1/5, Thomas Schlöter <thomas.schloeter@xxxxxxxxxxxxxxxxxxxx>:

>  I have got a Logitech QuickCam for Notebooks (USBID: 046d:08ae). I am using
> spca5xx-20060501-r2 on a gentoo 2.6.18-r4 kernel.
>
>  The webcam was detected by the driver, but using the wrong sensor. I only
> got a uniformly black image from /dev/video0.
>
>
>  In the logs I could see: "Find Sensor UNKNOW_0 force Tas5130"
>
>
>
>  For testing, I changed the function
>
>  drivers/usb/zc3xx.h : static int zc3xx_config(struct * usb_spca50x)
>
>  to do the following by default:
>
>  spca50x->sensor = SENSOR_HDCS2020;
>
>  Now everything works for me.
>
>  Well, I know this is only a dirty workaround, as the sensor is not really
> detected (sensor == -1). I just do not have the time to learn about the
> detection methods at the moment. If you need any further information about
> the camera model, just tell me what you need and how I can figure it out.

I have a similar webcam :
lsusb -v give:
Bus 003 Device 002: ID 046d:08ae Logitech, Inc.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x046d Logitech, Inc.
  idProduct          0x08ae
  bcdDevice            1.00
  iManufacturer           0
  iProduct                2
  iSerial                 0
  bNumConfigurations      1
[...]

dmesg give:
2
[17314947.124000] usb 3-2: configuration #1 chosen from 1 choice
[17314947.296000] Linux video capture interface: v1.00
[17314947.400000] zc0301: V4L2 driver for ZC0301 Image Processor and
Control Chip v1:1.03
[17314947.400000] usb 3-2: ZC0301 Image Processor and Control Chip
detected (vid/pid 0x046D/0x08AE)
[17314947.448000] usb 3-2: PAS202BCB image sensor detected
[17314947.800000] usb 3-2: Initialization succeeded
[17314947.800000] usb 3-2: V4L2 device registered as /dev/video0
[17314947.800000] usbcore: registered new driver zc0301
[17314947.840000] usbcore: registered new driver snd-usb-audio
[17314947.856000] usbcore: registered new driver spca5xx
[17314947.856000] drivers/media/video/spca5xx/spca5xx-main.c: spca5xx
driver 00.57.08 registered

I use the last ubuntu with the default kernel. This distro include the
driver version 20060501-1 .
As you can read (my log above) i doesn't have your problem, with the
same device, but with a different drivers version. Have you exactly
the same device than me ?
bcdDevice            1.00
iManufacturer           0
iProduct                2
iSerial                 0

I hope this can help...
Tb@+

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Spca50x-devs mailing list
Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/spca50x-devs