Jump to content

Logitech webcam


Urza9814
 Share

Recommended Posts

Ok, so I have a Logitech Quickcam USB webcam...specifically, the Legocam. qc-usb says it is supported, and I've had it working on Mandriva before (2006 or 2007, not sure). Anyways, it wasn't working recently on 2007.1, but I decided to wait until 2008.1 to upgrade and try then, since I didn't use it much. Still doesn't work. Works fine on windows though. First thing I tried was installing dkms-qc-usb-messenger and qc-usb-messenger-kernel-dekstop-latest through urpmi. No luck. So, I downloaded the qc-usb-0.6.6 driver, but when I run 'make all' I get the following error:

[root@localhost qc-usb-0.6.6]# make all
make -C "/lib/modules/2.6.24.4-desktop-1mnb/build" SUBDIRS="/home/urza9814/Desktop/qc-usb-0.6.6" modules V=1 USER_OPT="-DHAVE_UTSRELEASE_H=1"
make[1]: Entering directory `/usr/src/linux-2.6.24.4-desktop-1mnb'
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 /home/urza9814/Desktop/qc-usb-0.6.6/.tmp_versions; rm -f /home/urza9814/Desktop/qc-usb-0.6.6/.tmp_versions/*
make -f scripts/Makefile.build obj=/home/urza9814/Desktop/qc-usb-0.6.6
 gcc -m32 -Wp,-MD,/home/urza9814/Desktop/qc-usb-0.6.6/.qc-driver.o.d  -nostdinc -isystem /usr/lib/gcc/i586-manbo-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=i686 -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-x86/mach-default -fno-omit-frame-pointer -fno-optimize-sibling-calls  -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 /home/urza9814/Desktop/qc-usb-0.6.6/qc-driver.o /home/urza9814/Desktop/qc-usb-0.6.6/qc-driver.c
In file included from /home/urza9814/Desktop/qc-usb-0.6.6/qc-driver.c:47:
/home/urza9814/Desktop/qc-usb-0.6.6/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 /home/urza9814/Desktop/qc-usb-0.6.6/quickcam.h:95,
			 from /home/urza9814/Desktop/qc-usb-0.6.6/qc-driver.c:47:
include/linux/bitops.h:6:1: warning: this is the location of the previous definition
/home/urza9814/Desktop/qc-usb-0.6.6/qc-driver.c: In function ‘qc_i2c_init’:
/home/urza9814/Desktop/qc-usb-0.6.6/qc-driver.c:824: error: ‘struct urb’ has no member named ‘lock’
/home/urza9814/Desktop/qc-usb-0.6.6/qc-driver.c:825: warning: assignment from incompatible pointer type
/home/urza9814/Desktop/qc-usb-0.6.6/qc-driver.c: In function ‘qc_isoc_start’:
/home/urza9814/Desktop/qc-usb-0.6.6/qc-driver.c:1867: warning: assignment from incompatible pointer type
/home/urza9814/Desktop/qc-usb-0.6.6/qc-driver.c: At top level:
/home/urza9814/Desktop/qc-usb-0.6.6/qc-driver.c:3009: error: unknown field ‘hardware’ specified in initializer
make[2]: *** [/home/urza9814/Desktop/qc-usb-0.6.6/qc-driver.o] Error 1
make[1]: *** [_module_/home/urza9814/Desktop/qc-usb-0.6.6] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24.4-desktop-1mnb'
make: *** [quickcam.ko] Error 2

 

I follow the advice and run 'make oldconfig && make prepare' on my kernel source, everything goes fine...but it still doesn't work. The files include/linux/autoconf.h or include/config/auto.conf are there too...

Link to comment
Share on other sites

[root@localhost qc-usb-0.6.6]# urpmi kernel-source-2.
Packages kernel-source-2.6.24.4-1mnb-1-1mnb1.i586, kernel-source-2.6.24.4-1mnb-1-1mnb1.i586 are already installed

Link to comment
Share on other sites

[root@localhost qc-usb-0.6.6]# urpmi kernel-source-2.
Packages kernel-source-2.6.24.4-1mnb-1-1mnb1.i586, kernel-source-2.6.24.4-1mnb-1-1mnb1.i586 are already installed

 

Then either your kernel source doesnt match, or the build process for the driver cannot find it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...