pwc
[Top] [All Lists]

[pwc] Logitech QuickCam Pro (Black Ring)

To:
Subject: [pwc] Logitech QuickCam Pro (Black Ring)
From: "John Stoffel" <>
Date: Thu, 5 Jan 2006 19:54:15 -0500
I've got an old Logitech QuickCam that I'm trying to make work.  I'm
running Debian with a 2.6.15-rc7 kernel.  Haven't upped to 2.6.15
quite yet, though it's ready to roll.  

The camera has a USB id of:

        Bus 004 Device 005: ID 046d:d001 Logitech, Inc. QuickCam Pro

so I hacked the pwc-10.0.10 code to recognize it, as the patch below
shows.  The one issue I have with the code is the random mixing of
case in the various vendor_id sections.  I think they should all be
made ocnsistent in the code one way or another.  Any problems
submitting a patch to do so?  

-------------------------------snip here-----------------------------------

diff -u pwc-10.0.10/pwc-if.c pwc-10.0.10-jfs/pwc-if.c
--- pwc-10.0.10/pwc-if.c        2006-01-01 14:32:19.000000000 -0500
+++ pwc-10.0.10-jfs/pwc-if.c    2006-01-05 19:29:10.000000000 -0500
@@ -89,6 +89,7 @@
        { USB_DEVICE(0x0471, 0x0313) }, /* the 'new' 720K */
        { USB_DEVICE(0x069A, 0x0001) }, /* Askey */
        { USB_DEVICE(0x046D, 0x08B0) }, /* Logitech QuickCam Pro 3000 */
+       { USB_DEVICE(0x046D, 0xD001) }, /* Logitech QuickCam Pro */
        { USB_DEVICE(0x046D, 0x08B1) }, /* Logitech QuickCam Notebook Pro */
        { USB_DEVICE(0x046D, 0x08B2) }, /* Logitech QuickCam Pro 4000 */
        { USB_DEVICE(0x046D, 0x08B3) }, /* Logitech QuickCam Zoom (old model) */
@@ -1458,11 +1459,16 @@
                        break;
                }
        }
-       else if (vendor_id == 0x046d) {
+       else if (vendor_id == 0x046D) {
                switch(product_id) {
                case 0x08b0:
                        Info("Logitech QuickCam Pro 3000 USB webcam 
detected.\n");
                        name = "Logitech QuickCam Pro 3000";
+                       type_id = 730; /* CCD sensor */
+                       break;
+               case 0xD001:
+                       Info("Logitech QuickCam Pro USB webcam detected.\n");
+                       name = "Logitech QuickCam Pro";
                        type_id = 740; /* CCD sensor */
                        break;
                case 0x08b1:

-------------------------------snip here-----------------------------------


So while it recognizes it now when I plug in the camera, I can't use
xawtv or gqcam to grab video.  Here's my output from dmesg plugging it
in, and trying to use gqcam -v /dev/video0 and xawtv -v /dev/video0 as
well.  Any hints?

    usb 4-2: new full speed USB device using ohci_hcd and address 5
    pwc Philips webcam module version 10.0.10-unofficial loaded.
    pwc Supports Philips PCA645/646, PCVC675/680/690, PCVC720[40]/730/740/750 & 
PCVC830/840.
    pwc Also supports the Askey VC010, various Logitech Quickcams, Samsung 
MPC-C10 and MPC-C30,
    pwc the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and Visionite VCS-UC300 
and VCS-UM100.
    pwc Trace options: 0x00a1
    pwc Logitech QuickCam Pro USB webcam detected.
    pwc Registered as /dev/video0.
    usbcore: registered new driver Philips webcam
    pwc set_video_mode(176x144 @ 10, palette 15).
    pwc decode_size = 1.
    pwc Using alternate setting 1.
    pwc frame_size=18900, vframes=10, vsize=1, vsnapshot=0, vbandlength=630
    pwc Failed to find packet size for video endpoint in current alternate 
setting.
    pwc set_video_mode(160x120 @ 10, palette 15).
    pwc decode_size = 1.
    pwc Using alternate setting 1.
    pwc frame_size=18900, vframes=10, vsize=1, vsnapshot=0, vbandlength=630
    pwc Failed to find packet size for video endpoint in current alternate 
setting.
    pwc set_video_mode(160x120 @ 10, palette 15).
    pwc decode_size = 1.
    pwc Using alternate setting 1.
    pwc frame_size=18900, vframes=10, vsize=1, vsnapshot=0, vbandlength=630
    pwc Failed to find packet size for video endpoint in current alternate 
setting.
    pwc set_video_mode(160x120 @ 10, palette 15).
    pwc decode_size = 1.
    pwc Using alternate setting 1.
    pwc frame_size=18900, vframes=10, vsize=1, vsnapshot=0, vbandlength=630
    pwc Failed to find packet size for video endpoint in current alternate 
setting.
    pwc set_video_mode(160x120 @ 10, palette 15).
    pwc decode_size = 1.
    pwc Using alternate setting 1.
    pwc frame_size=18900, vframes=10, vsize=1, vsnapshot=0, vbandlength=630
    pwc Failed to find packet size for video endpoint in current alternate 
setting.


Thanks,
John
_______________________________________________
pwc mailing list

http://lists.saillard.org/mailman/listinfo/pwc

<Prev in Thread] Current Thread [Next in Thread>
  • [pwc] Logitech QuickCam Pro (Black Ring), John Stoffel <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU