PDA

View Full Version : [ubuntu] can't get my logitech quickcam messenger to work



antimatter
May 21st, 2008, 04:35 PM
Hello!
I've already tried all the howtos i found on this forum. this is probably because they're all written for older ubuntu releases. the latest thing i tried, was following the steps posted in this thread: http://ubuntuforums.org/showthread.php?t=642015
but i cant install the modules in the module manager and i cant even find the spca5xx-source package anywhere on the package servers. m-a gives me the following error:




/usr/bin/make -f debian/rules clean ↑
│ make[1]: Entering directory `/usr/src/modules/qc-usb-source' ▮
│ dh_testdir ▒
│ dh_testroot ▒
│ /usr/bin/make VERSION_CODE=4 clean ▒
│ make[2]: Entering directory `/usr/src/modules/qc-usb-source' ▒
│ rm -f *.o qcset show *~ .\#* .*.cmd *.mod.c *.ko ▒
│ rm -rf .tmp_versions ▒
│ make[2]: Leaving directory `/usr/src/modules/qc-usb-source' ▒
│ rm -rf debian/qc-usb-modules-* ▒
│ rm -f debian/control.modules ▒
│ dh_clean ▒
│ make[1]: Leaving directory `/usr/src/modules/qc-usb-source' ▒
│ /usr/bin/make -f debian/rules clean binary-modules ▒
│ make[1]: Entering directory `/usr/src/modules/qc-usb-source'
dh_testdir ▒
│ dh_testroot ▒
│ /usr/bin/make VERSION_CODE=4 clean ▒
│ make[2]: Entering directory `/usr/src/modules/qc-usb-source' ▒
│ rm -f *.o qcset show *~ .\#* .*.cmd *.mod.c *.ko ▒
│ rm -rf .tmp_versions ▒
│ make[2]: Leaving directory `/usr/src/modules/qc-usb-source' ▒
│ rm -rf debian/qc-usb-modules-* ▒
│ rm -f debian/control.modules ▒
│ dh_clean ▒
│ dh_testdir ▒
│ dh_testroot
dh_clean -k ↑
│ /usr/bin/make RELEASE=2.6.24-16-generic ▒
│ LINUX_DIR=/usr/src/linux-headers-2.6.24-16-generic \ ▒
│ ▒
│ PREFIX=/usr/src/modules/qc-usb-source/debian/qc-usb-modules-2.6.24-16-gen ▮
│ eric/usr \ ▒
│ ▒
│ MODULE_DIR=/usr/src/modules/qc-usb-source/debian/qc-usb-modules-2.6.24-16 ▒
│ -generic/lib/modules/2.6.24-16-generic \ ▒
│ install ▒
│ make[2]: Entering directory `/usr/src/modules/qc-usb-source' ▒
│ make -C "/usr/src/linux-headers-2.6.24-16-generic" ▒
│ SUBDIRS="/usr/src/modules/qc-usb-source" modules V=1 ▒
│ USER_OPT="-DHAVE_UTSRELEASE_H=1" ▒
│ make[3]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( ↑
│ \ ▒
│ echo;\ ▒
│ echo " ERROR: Kernel configuration is invalid.";\ ▒
│ echo " include/linux/autoconf.h or ▒
│ include/config/auto.conf are missing.";\ ▒
│ echo " Run 'make oldconfig && make prepare' on kernel ▮
│ src to fix it."; \ ▒
│ echo;\ ▒
│ /bin/false) ▒
│ mkdir -p /usr/src/modules/qc-usb-source/.tmp_versions ; rm -f ▒
│ /usr/src/modules/qc-usb-source/.tmp_versions/* ▒
│ make -f scripts/Makefile.build obj=/usr/src/modules/qc-usb-source ▒
│ gcc -m32 -Wp,-MD,/usr/src/modules/qc-usb-source/.qc-driver.o.d ▒
│ -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.2.3/include
-D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef ▒
│ -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common ▒
│ -Werror-implicit-function-declaration -O2 -pipe -msoft-float -mregparm=3 ▒
│ -freg-struct-return -mpreferred-stack-boundary=2 -march=i586 ▒
│ -mtune=generic -ffreestanding -maccumulate-outgoing-args ▒
│ -Iinclude/asm-x86/mach-default -fomit-frame-pointer -g ▮
│ -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign ▒
│ -DNOKERNEL -DHAVE_UTSRELEASE_H=1 -DMODULE -D"KBUILD_STR(s)=#s" ▒
│ -D"KBUILD_BASENAME=KBUILD_STR(qc_driver)" ▒
│ -D"KBUILD_MODNAME=KBUILD_STR(quickcam)" -c -o ▒
│ /usr/src/modules/qc-usb-source/.tmp_qc-driver.o ▒
│ /usr/src/modules/qc-usb-source/qc-driver.c
In file included from /usr/src/modules/qc-usb-source/qc-driver.c:47: ▒
│ /usr/src/modules/qc-usb-source/quickcam.h:129:1: warning: "BIT" redefined ▒
│ In file included from include/linux/kernel.h:15, ▒
│ from include/linux/cache.h:4, ▒
│ from include/linux/time.h:7, ▒
│ from include/linux/videodev2.h:59, ▒
│ from include/linux/videodev.h:15, ▒
│ from /usr/src/modules/qc-usb-source/quickcam.h:95, ▮
│ from /usr/src/modules/qc-usb-source/qc-driver.c:47: ▒
│ include/linux/bitops.h:6:1: warning: this is the location of the ▒
│ previous definition ▒
│ /usr/src/modules/qc-usb-source/qc-driver.c: In function ‘qc_i2c_init’:
/usr/src/modules/qc-usb-source/qc-driver.c:824: error: ‘struct urb’ has ▒
│ no member named ‘lock’ ▒
│ /usr/src/modules/qc-usb-source/qc-driver.c:825: warning: assignment from ▒
│ incompatible pointer type ▒
│ /usr/src/modules/qc-usb-source/qc-driver.c: In function ‘qc_isoc_start’: ▒
│ /usr/src/modules/qc-usb-source/qc-driver.c:1867: warning: assignment ▒
│ from incompatible pointer type ▒
│ /usr/src/modules/qc-usb-source/qc-driver.c: At top level: ▒
│ /usr/src/modules/qc-usb-source/qc-driver.c:3009: error: unknown field ▒
│ ‘hardware’ specified in initializer ▮
│ make[4]: *** [/usr/src/modules/qc-usb-source/qc-driver.o] Error 1 ▒
│ make[3]: *** [_module_/usr/src/modules/qc-usb-source] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic' ▒
│ make[2]: *** [quickcam.ko] Error 2 ▒
│ make[2]: Leaving directory `/usr/src/modules/qc-usb-source' ▒
│ make[1]: *** [binary-modules] Error 2 ▒
│ make[1]: Leaving directory `/usr/src/modules/qc-usb-source' ▒
│ make: *** [kdist_image] Error 2 ▮
│ ^Y




help please! :(

linuxwizard
May 22nd, 2008, 07:48 PM
Did you try using your webcam before you started trying to install a driver ? Alot of Logitech webcams will works out of the box. Try using Ekiga see if the cam works/detected. You may have to work with the settings > Open Ekiga > Edit > Preferences > Video > Video Devices > try changing some of the settings.( Video Plugin if it shows V4L change to V4L2)

To test your webcam you can do this:
There are 6 icons on the left side of the main Ekiga window. Push the 4th button from the top (a grey round webcam). If eveything is ok, you'll see the output of the webcam. If not, you'll see the Ekiga logo bouncing slowly.

antimatter
May 25th, 2008, 01:46 PM
yes. i've alreayd tried ekiga, camorama and cheese. no dice

S-99
November 14th, 2008, 06:45 AM
Necro'd. Try compiling the qc-usb-source package in the repos for hardy or intrepid depending on which ubuntu you're using.

EDIT: **** what i just said and ignore it. The qc-usb-source package in the repos for ubuntu of new and old don't isn't a driver for the quickcam messenger. Go here (http://home.mag.cx/messenger/) and download the qc-usb-messenger driver which as of now is version 1.8. Don't pay attention to the 1.7 update because 1.8 is newer, better, and is in there.

Download it and follow the instructions for compiling it. It sucks your quickcam messenger isn't working out of the box. It has for me in ubuntu ever since feisty got released, but ever since feisty came out it never wanted to work out of the box for me in gyachi. It always worked in gyachi with the qc-usb-messenger driver though.

scunc_dvl
November 14th, 2008, 02:18 PM
The driver sources keep giving me compile errors -


qc-driver.c:1630: error: request for member ‘counter’ in something not a structure or union

:-\

EDIT: I fixed much of my compile errors now. The symlink /lib/modules/`uname -r`/build must point to your relevant linux-headers directory (eg. /usr/src/linux-headers-2.6.26.8). http://www.linuxtv.org/wiki/index.php/How_to_build_from_Mercurial instructions were getting me tripped up...

scunc_dvl
December 1st, 2008, 03:24 PM
I found out that for my Quickcam Messenger, identified as 046d:08da in 'lsusb', does -NOT- actually use the qc-usb drivers to work at all! It has a zc0301 chip and apparantly works (for me, anyway), using the gspca driver.

Hopefully you will be able to find the package gspca-source. It installs a tarball in your /usr/src directory..

Read the source's readme file here -

less /usr/share/doc/gspca-source/README.Debian
compiling the driver. I still use "tar xvf ; make ; sudo make install" often and it just happened to work for me, after struggling with symlinks pointing to sources instead of kernel headers and vice versa. But I've just learned the modules assistant way of compiling seems a bit more reliable...sometimes...

I don't understand why there is a zc0301 module in addition to gspca, but qc-usb does NOT support this particular model of camera.. Despite having its id somewhere in their code.. :\