Re: Anyone got qc-usb working with kernel 2.6.28 and amd64?



On Tue, 2009-01-06 at 20:51 +0200, subscriptions wrote:
On Mon, 2009-01-05 at 02:24 +0100, Micha Feigin wrote:
I'm trying to get a Logitech, Inc. QuickCam Web (lego webcam based on
logitec) working on my box running kernel 2.6.28 amd64 kernel. I
managed to fix compilation errors using a patch I found on the bug
tracking system plus some extra modifications. The resulting driver
loads and recognizes the camera but
xawtv doesn't give any output (black screen), the test program that
comes with driver gives zeros for mem_map mode, it does seem to give
and image for read mode. I also tried a sample program with opencv
which complains HIGHGUI ERROR: V4L: device /dev/video0 is unable to
capture video memory. I can't downgrade the kernel since I need the
newest e1000e for my network card
(anything older and the network card isn't supported).

Thanks

Hi,

I got qc-usb v1.8 working under 2.6.26-1-686. It needs a patch though.

qc-usb-messenger:
http://home.mag.cx/messenger/source/qc-usb-messenger-1.8.tar.gz
patch:
http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/media-video/qc-usb-messenger/files/qc-usb-messenger-1.8-kcompat-2.6.26.patch?rev=1.1
or http://tinyurl.com/6wk4sm

Best,

Rob


Forgot to mention: you can change the behaviour by loading the driver
with additional parameters. See modinfo on the module:

mycomputer:/home/myname # modinfo qcmessenger
filename: /lib/modules/2.6.26-1-686/misc/qcmessenger.ko
license: GPL
author: See README
description: Logitech QuickCam USB driver
alias: usb:v046Dp08DAd*dc*dsc*dp*ic*isc*ip*
alias: usb:v046Dp08F6d*dc*dsc*dp*ic*isc*ip*
alias: usb:v046Dp08F5d*dc*dsc*dp*ic*isc*ip*
alias: usb:v046Dp08F0d*dc*dsc*dp*ic*isc*ip*
depends: usbcore,videodev
vermagic: 2.6.26-1-686 SMP mod_unload modversions 686
parm: qcdebug:Sets the debug output (bitfield) (int)
parm: keepsettings:Keep picture settings across one open to
another (0-1) (int)
parm: settle:Maximum number of frames to wait picture
brightness to settle (0-255) (int)
parm: subsample:Sets subsampling (0-1) (int)
parm: compress:Enable compressed mode (0-1) (int)
parm: frameskip:How frequently capture frames (0-10) (int)
parm: quality:Sets the picture quality (0-5) (int)
parm: adaptive:Automatic adaptive brightness control (0-1)
(int)
parm: shutteradapt:Automatic adaptive shutter control (0-1)
(int)
parm: equalize:Equalize image (0-1) (int)
parm: userlut:Apply user-specified lookup-table (0-1) (int)
parm: retryerrors:Retry if image capture fails, otherwise
return error code (0-1) (int)
parm: compatible:Enable workaround for bugs in application
programs (bitfield) (int)
parm: video_nr:Set videodevice number (/dev/videoX) (int)


To automatically set parameters when plugging the camera, I have the
following in /etc/modprobe.d/local:

mycomputer:/home/myname# cat /etc/modprobe.d/local
options qcmessenger compatible=6 quality=2 subsample=1

Best,

Rob


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • [PATCH]Documentation update broken web addresses.
    ... Below you will find an updated version from the original series bunching all patches into one big patch ... Kernel Developer's Guide at ... problems that need to be cleaned up and fixed within the Linux kernel ... ps/2 keybd is multiplexed through this driver ...
    (Linux-Kernel)
  • Re: [PATCH]Documentation update broken web addresses.
    ... As for the patch itself if anybody see's anything that might be fixed let me know and I'll fix it up ... Kernel Developer's Guide at ... problems that need to be cleaned up and fixed within the Linux kernel ... ps/2 keybd is multiplexed through this driver ...
    (Linux-Kernel)
  • Re: [PATCH] ne.c fix for hibernate and rmmod oops fix
    ... This patch is ready to be merged. ... that was not the case before, because the probe is invasive. ... legacy driver. ... const unsigned char *buf, const int start_page); ...
    (Linux-Kernel)
  • [PATCH 2.6] Wireless Extension v17 for Linus
    ... WE-17 for kernel 2.6.X. ... The patch already ... included feedback from various driver maintainers, ... * This file define the new driver API for Wireless Extensions ...
    (Linux-Kernel)
  • Re: [PATCH 0/5] WM97xx updates
    ... instead of an int for the return value from the interrupt handler. ... Please see attached patch. ... I also made the driver more generic, as it should work fine on AT91 ... The driver has been tested with Atmel AVR32 AT32AP7000 and Wolfson ...
    (Linux-Kernel)