I tried on the Linspire Forum, but no luck there so I'll try here.
I had my pixart webcam working before on Linspire 5.1.427 by installing the spca5xx driver (
http://mxhaard.free.fr/spca5xx.html). For a different reason I had to re-install Linspire 5.1.427 (upgrade install). But now I get can't get it working again. I'm sure it is something stupid but I'm stumped.
I compiled the spca5xx drivers with no errors. (make clean, make, make install)
but when I modprobe spca5xx it says:
Code:
FATAL: Error inserting spca5xx (/lib/modules/2.6.14/kernel/drivers/usb/media/spca5xx.ko): Invalid module format
output of dmesg says:
Code:
[17189617.912000] spca5xx: disagrees about version of symbol struct_module
[17190259.236000] spca5xx: disagrees about version of symbol struct_module
[17190264.216000] spca5xx: disagrees about version of symbol struct_module
My web searches yields answers to this problem like:
Quote:
Sounds like you didn't do a clean build.
Yeah, sounds like you built against the wrong headers or something.
seems like you build your module with a "wrong" kernel (means, the kernel you're using differs from that you've compiled the module)...
|
my cat /proc/version:
Code:
Linux version 2.6.14 (root@khokhaine) (gcc version 3.3.5 (Debian 1:3.3.5-3)) #1 PREEMPT Mon Apr 1016:49:04 PDT 2006
...so I got the kernel sources 2.6.14 from Linspire's CNR and my g++ is 3.3
Here is output of the make process:
Code:
northgate:/tmp/spca5xx-20060402# make clean
rm -r -f drivers/usb/*.o drivers/usb/.spcadecoder.o.cmd \
drivers/usb/.spca5xx.o.cmd *.o *.ko *.mod.* .[a-z]* core *.i
northgate:/tmp/spca5xx-20060402# make
Building SPCA5XX driver for 2.5/2.6 kernel.
Remember: you must have read/write access to your kernel source tree.
make -C /lib/modules/`uname -r`/build SUBDIRS=/tmp/spca5xx-20060402 CC=cc modules
make[1]: Entering directory `/usr/src/kernel-source-2.6.14'
CC [M] /tmp/spca5xx-20060402/drivers/usb/spca5xx.o
CC [M] /tmp/spca5xx-20060402/drivers/usb/spcadecoder.o
LD [M] /tmp/spca5xx-20060402/spca5xx.o
Building modules, stage 2.
MODPOST
CC /tmp/spca5xx-20060402/spca5xx.mod.o
LD [M] /tmp/spca5xx-20060402/spca5xx.ko
make[1]: Leaving directory `/usr/src/kernel-source-2.6.14'
northgate:/tmp/spca5xx-20060402# make install
mkdir -p /lib/modules/`uname -r`/kernel/drivers/usb/media/
rm -f /lib/modules/`uname -r`/kernel/drivers/usb/media/spca50x.ko
rm -f /lib/modules/`uname -r`/kernel/drivers/usb/media/et61x.ko
install -c -m 0644 spca5xx.ko /lib/modules/`uname -r`/kernel/drivers/usb/media/
/sbin/depmod -ae
I tried various versions for the drivers from the spca5xx website and I'm also getting the same errors on my other new LOS 5.1.427 computer.
I'm not sure what else to check. ( I'm still real inexperienced with kernels, compiling and the like )
Thanks-
-Bill