gspca drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I was hoping to get my webcam working with the latest v4l-dvb sources.
 After reading about on this list and elsewhere, I ran:

# make kernel-links

from my v4l-dvb directory in order to modify my current linux sources
to use the v4l-dvb drivers.  Then I went to my gspca directory and ran
the "gspca_build" script:

./gspca_build

 REMOVE the old module if present
ERROR: Module gspca does not exist in /proc/modules

 CLEAN gspca source tree
rm -r -f *.o decoder/.gspcadecoder.o.cmd decoder/*.o \
        .gspca.o.cmd  *.o *.ko *.mod.* .[a-z]* core *.i \
        *.symvers *.err

 COMPILE gspca Please Wait ....!!

 INSTALL gspca in the kernel binary tree
mkdir -p /lib/modules/`uname -r`/kernel/drivers/usb/media/
rm -f /lib/modules/`uname -r`/kernel/drivers/usb/media/spca5xx.ko
rm -f /lib/modules/`uname -r`/kernel/drivers/media/video/gspca.ko
install -c -m 0644 gspca.ko /lib/modules/`uname -r`/kernel/drivers/usb/media/
install: cannot stat `gspca.ko': No such file or directory
make: *** [install] Error 1

 LOAD gspca in memory
FATAL: Error inserting gspca
(/lib/modules/2.6.22.9-test/kernel/drivers/usb/media/gspca.ko):
Unknown symbol in module, or unknown parameter (see dmesg)

 PRINT COMPILATION MESSAGES if ERRORS look kgspca.err
make -C /lib/modules/`uname -r`/build SUBDIRS=/usr/src/modules/gspca
CC=cc modules
make[1]: Entering directory `/usr/src/linux-source-2.6.22'
  CC [M]  /usr/src/modules/gspca/gspca_core.o
/usr/src/modules/gspca/gspca_core.c:2542: error: unknown field
'hardware' specified in initializer
/usr/src/modules/gspca/gspca_core.c: In function 'cd_to_spca50x':
/usr/src/modules/gspca/gspca_core.c:2591: warning: initialization from
incompatible pointer type
/usr/src/modules/gspca/gspca_core.c: In function 'spca50x_create_sysfs':
/usr/src/modules/gspca/gspca_core.c:2630: warning: passing argument 2
of 'video_device_create_file' from incompatible pointer type
/usr/src/modules/gspca/gspca_core.c:2632: warning: passing argument 2
of 'video_device_create_file' from incompatible pointer type
/usr/src/modules/gspca/gspca_core.c:2634: warning: passing argument 2
of 'video_device_create_file' from incompatible pointer type
/usr/src/modules/gspca/gspca_core.c:2640: warning: passing argument 2
of 'video_device_remove_file' from incompatible pointer type
/usr/src/modules/gspca/gspca_core.c:2642: warning: passing argument 2
of 'video_device_remove_file' from incompatible pointer type
make[2]: *** [/usr/src/modules/gspca/gspca_core.o] Error 1
make[1]: *** [_module_/usr/src/modules/gspca] Error 2
make[1]: Leaving directory `/usr/src/linux-source-2.6.22'
make: *** [default] Error 2

Is this fixable?

James

_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux