Hi there, i've been happily using my logitech quickcam messenger webcam in my 2.6.17-r4 kernel but i've forgotten how i got it to work eventually. I think i simply emerged spca5xx driver and then modprobed spca5xx which seemed to do the trick. I also managed to edit the parameter of the module as it loaded and changing the brightness setting each time so it wasnt so damn dark under its normal settings. I think i've also change udev rules recently to load the camera into /dev/mywebcam. all was working well until i upgraded my kernel to 2.6.18-r2. spca5xx has stopped working and modprobing it cant find it let alone load it. Also i've enabled
Code:
[*] Enable Video For Linux API 1 (DEPRECATED)
rather than
Code:
--- Enable Video For Linux API 1 compatible Layer
as it gives me more options. I've also enabled the following as a module
Code:
<M> USB Logitech Quickcam Messenger
having compiled and booted it, i am able to load the module for this new quickcam driver , my lsmod is as follows:
Code:
heaven ~ # lsmod
Module Size Used by
quickcam_messenger 11652 0
usbvideo 21764 1 quickcam_messenger
raw1394 21748 0
sn9c102 81804 0
bttv 147828 0
video_buf 17668 1 bttv
ir_common 24068 1 bttv
compat_ioctl32 1280 2 usbvideo,bttv
btcx_risc 3848 1 bttv
tveeprom 12304 1 bttv
videodev 20224 3 usbvideo,sn9c102,bttv
v4l1_compat 11268 1 videodev
v4l2_common 18816 3 sn9c102,bttv,videodev
ohci1394 26800 0
ieee1394 74676 2 raw1394,ohci1394
nvidia 4544212 12
However, i cant see where the device node for the camera is , i've looked for the /dev/mywebcam node which isnt there also, the /dev/video1 node which exists seems to be for my other webcam (my mikomi sn9c102 camera which has never worked in linux and i gave up tryin to make it work). BTW lsusb claims that the cameras are plugged in if thats any help. when i try to emerge spca5xx i get :
Code:
>>> Emerging (1 of 1) media-video/spca5xx-20060301 to /
* spca5xx-20060301.tar.gz MD5 ;-) ... [ ok ]
* spca5xx-20060301.tar.gz RMD160 ;-) ... [ ok ]
* spca5xx-20060301.tar.gz SHA1 ;-) ... [ ok ]
* spca5xx-20060301.tar.gz SHA256 ;-) ... [ ok ]
* spca5xx-20060301.tar.gz size ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.18-gentoo-r2
>>> Unpacking source...
>>> Unpacking spca5xx-20060301.tar.gz to /var/tmp/portage/spca5xx-20060301/work
tar: spca5xx-20060301/drivers: implausibly old time stamp 1970-01-01 00:00:00
* Converting spca5xx-20060301/Makefile to use M= instead of SUBDIRS= ... [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/spca5xx-20060301/work/spca5xx-20060301 ...
* Preparing spca5xx module
Building SPCA5XX driver for 2.5/2.6 kernel.
Remember: you must have read/write access to your kernel source tree.
make -C /usr/src/linux M=/var/tmp/portage/spca5xx-20060301/work/spca5xx-20060301 CC=i386-pc-linux-gnu-gcc modules
make[1]: Entering directory `/usr/src/linux-2.6.18-gentoo-r2'
CC [M] /var/tmp/portage/spca5xx-20060301/work/spca5xx-20060301/drivers/usb/spca5xx.o
CC [M] /var/tmp/portage/spca5xx-20060301/work/spca5xx-20060301/drivers/usb/spcadecoder.o
/var/tmp/portage/spca5xx-20060301/work/spca5xx-20060301/drivers/usb/spca5xx.c: In function `spca5xx_open':
/var/tmp/portage/spca5xx-20060301/work/spca5xx-20060301/drivers/usb/spca5xx.c:3838: warning: implicit declaration of function `video_devdata'
/var/tmp/portage/spca5xx-20060301/work/spca5xx-20060301/drivers/usb/spca5xx.c:3838: warning: initialization makes pointer from integer without a cast
/var/tmp/portage/spca5xx-20060301/work/spca5xx-20060301/drivers/usb/spca5xx.c:3843: warning: implicit declaration of function `video_get_drvdata'
/var/tmp/portage/spca5xx-20060301/work/spca5xx-20060301/drivers/usb/spca5xx.c:3843: warning: initialization makes pointer from integer without a cast
etc....
/var/tmp/portage/spca5xx-20060301/work/spca5xx-20060301/drivers/usb/spca5xx.c:8317: warning: implicit declaration of function `video_device_release'
/var/tmp/portage/spca5xx-20060301/work/spca5xx-20060301/drivers/usb/spca5xx.c:8319: warning: implicit declaration of function `video_unregister_device'
/var/tmp/portage/spca5xx-20060301/work/spca5xx-20060301/drivers/usb/spca5xx.c: At top level:
/var/tmp/portage/spca5xx-20060301/work/spca5xx-20060301/drivers/usb/spca5xx.c:5107: error: storage size of `spca50x_template' isn't known
make[2]: *** [/var/tmp/portage/spca5xx-20060301/work/spca5xx-20060301/drivers/usb/spca5xx.o] Error 1
make[1]: *** [_module_/var/tmp/portage/spca5xx-20060301/work/spca5xx-20060301] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.18-gentoo-r2'
make: *** [default] Error 2
!!! ERROR: media-video/spca5xx-20060301 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
ebuild.sh, line 1255: Called linux-mod_src_compile
linux-mod.eclass, line 482: Called die
!!! Unable to make KERNELDIR=/usr/src/linux default.
!!! If you need support, post the topmost build error, and the call stack if relevant.
Any help on the matter or information from someone who has a working quickcam messenger configuration would be much appreciated.