Maybe some one can help my. I have compile the spca5xx-20060402 module for 
WebCams. 
I have 

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

I do:

:> 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

:> 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
  CC [M]  
/home/daten/Datenarchiv/Multimedia-LINUX/WebCam/spca5xx/tmp/spca5xx-20060402/drivers/usb/spcadecoder.o
  LD [M]  
/home/daten/Datenarchiv/Multimedia-LINUX/WebCam/spca5xx/tmp/spca5xx-20060402/spca5xx.o
  Building modules, stage 2.
  MODPOST
  CC      
/home/daten/Datenarchiv/Multimedia-LINUX/WebCam/spca5xx/tmp/spca5xx-20060402/spca5xx.mod.o
  LD [M]  
/home/daten/Datenarchiv/Multimedia-LINUX/WebCam/spca5xx/tmp/spca5xx-20060402/spca5xx.ko
make[1]: Leaving directory `/usr/src/linux-2.6.5-7.201'

:>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


so I have no problem. 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

:>dmesg
spca5xx: falsely claims to have parameter contrast
load_module: err 0xffffffea (dont worry)


special note for kernel 2.6.x users:
 you can change the parameters trought sysfs you need to be root
close your application

:> echo "1" > /sys/module/spca50x/gamma
bash: /sys/module/spca50x/gamma: Datei oder Verzeichnis nicht gefunden

or

:> cat /sys/module/spca50x/gamma
cat: /sys/module/spca50x/gamma: Datei oder Verzeichnis nicht gefunden

there is no direktory module/spca50x/ in /sys  ?
so I can not set parameter

Thanks ! 


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to