On 22.04.2006 20:50, Thomas Lais wrote: > Maybe some one can help my. I have compile the spca5xx-20060402 module for > WebCams.
I can't find such a module in the standard kernel tree. Where is it from? Where can its source be consulted? Which kernel releases does it support? > Linux version 2.6.5-7.201-default ([EMAIL PROTECTED]) (gcc version 3.3.3 > (SuSE Linux)) #2 Thu Nov 17 10:35:51 CET 2005 Looks like SuSE 9.1 which is pretty old already. That makes it all the more important to check that this module of yours is able to run with the kernel version you have. > :> 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=/home/daten/Datenarchiv/Multimedia-LINUX/WebCam/spca5xx/tmp/spca5xx-20060402 > CC=cc modules > make[1]: Entering directory `/usr/src/linux-2.6.5-7.201' > CC [M] > /home/daten/Datenarchiv/Multimedia-LINUX/WebCam/spca5xx/tmp/spca5xx-20060402/drivers/usb/spca5xx.o > /home/daten/Datenarchiv/Multimedia-LINUX/WebCam/spca5xx/tmp/spca5xx-20060402/drivers/usb/spca5xx.c:150: > warning: `bright' defined but not used > /home/daten/Datenarchiv/Multimedia-LINUX/WebCam/spca5xx/tmp/spca5xx-20060402/drivers/usb/spca5xx.c:151: > warning: `contrast' defined but not used You should investigate these warnings, especially in light of your later problems. [...] > so I have no problem. See above. > But if I wand to laod the modul than > > :> modprobe spca5xx > FATAL: Error inserting spca5xx > (/lib/modules/2.6.5-7.201-default/kernel/drivers/usb/media/spca5xx.ko): > Invalid argument So your module isn't even loaded. > :>dmesg > spca5xx: falsely claims to have parameter contrast I cannot find that message anywhere in the kernel sources. It seems that your module produces it, and you'll have to look in that module's documentation or source to find out what it means. > :> echo "1" > /sys/module/spca50x/gamma > bash: /sys/module/spca50x/gamma: Datei oder Verzeichnis nicht gefunden > > there is no direktory module/spca50x/ in /sys ? > so I can not set parameter Of course not, if the module has not been loaded. But looking at an old SuSE 9.1 machine I happen to have access to, it seems that the entire /sys/module directory didn't exist there yet, anyway. So your best bet might be to update to a more current Linux version and try again. If it still doesn't work, look in the source of that module to find out what goes wrong. Hope that helps Tilman -- Tilman Schmidt E-Mail: [EMAIL PROTECTED] Bonn, Germany Diese Nachricht besteht zu 100% aus wiederverwerteten Bits. Ungeöffnet mindestens haltbar bis: (siehe Rückseite)
signature.asc
Description: OpenPGP digital signature