Έχω εγκατεστημένο το 8.10.
Πήρα μια κάμερα από τον αδερφό μου. Με την εντολή lsusb παίρνω:
- Κώδικας: Επιλογή όλων
Bus 001 Device 006: ID 046d:0870 Logitech, Inc. QuickCam Express
Έχω διαβάσει ότι οικάμερες δουλεύουν αμέσως. Όμως είτε με το cheese είτε με skype δεν δούλεψε.
Έχω ψάξει στο νετ και βρήκα την διελυθυνση http://qce-ga.sourceforge.net/. Ακολούθησα τα βήματα που λέει και στο make all μου επιστρέφει λάθη:
- Κώδικας: Επιλογή όλων
make -C "/lib/modules/2.6.27-14-generic/build" SUBDIRS="/home/iosifidis/Desktop/Logitech/qc-usb-0.6.6" modules V=1 USER_OPT="-DHAVE_UTSRELEASE_H=1"
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-14-generic'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /home/iosifidis/Desktop/Logitech/qc-usb-0.6.6/.tmp_versions ; rm -f /home/iosifidis/Desktop/Logitech/qc-usb-0.6.6/.tmp_versions/*
make -f scripts/Makefile.build obj=/home/iosifidis/Desktop/Logitech/qc-usb-0.6.6
gcc -Wp,-MD,/home/iosifidis/Desktop/Logitech/qc-usb-0.6.6/.qc-driver.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.3.2/include -D__KERNEL__ -Iinclude -I/usr/src/linux-headers-2.6.27-14-generic/arch/x86/include -include include/linux/autoconf.h -Iubuntu/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i586 -mtune=generic -ffreestanding -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/mach-default -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -fwrapv -DNOKERNEL -DHAVE_UTSRELEASE_H=1 -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(qc_driver)" -D"KBUILD_MODNAME=KBUILD_STR(quickcam)" -c -o /home/iosifidis/Desktop/Logitech/qc-usb-0.6.6/.tmp_qc-driver.o /home/iosifidis/Desktop/Logitech/qc-usb-0.6.6/qc-driver.c
In file included from /home/iosifidis/Desktop/Logitech/qc-usb-0.6.6/qc-driver.c:47:
/home/iosifidis/Desktop/Logitech/qc-usb-0.6.6/quickcam.h:129:1: warning: "BIT" redefined
In file included from include/linux/kernel.h:15,
from include/linux/cache.h:4,
from include/linux/time.h:7,
from include/linux/videodev2.h:60,
from include/linux/videodev.h:16,
from /home/iosifidis/Desktop/Logitech/qc-usb-0.6.6/quickcam.h:95,
from /home/iosifidis/Desktop/Logitech/qc-usb-0.6.6/qc-driver.c:47:
include/linux/bitops.h:6:1: warning: this is the location of the previous definition
/home/iosifidis/Desktop/Logitech/qc-usb-0.6.6/qc-driver.c: In function ‘qc_i2c_init’:
/home/iosifidis/Desktop/Logitech/qc-usb-0.6.6/qc-driver.c:824: σφάλμα: ‘struct urb’ has no member named ‘lock’
/home/iosifidis/Desktop/Logitech/qc-usb-0.6.6/qc-driver.c:825: προειδοποίηση: assignment from incompatible pointer type
/home/iosifidis/Desktop/Logitech/qc-usb-0.6.6/qc-driver.c: In function ‘qc_isoc_start’:
/home/iosifidis/Desktop/Logitech/qc-usb-0.6.6/qc-driver.c:1867: προειδοποίηση: assignment from incompatible pointer type
/home/iosifidis/Desktop/Logitech/qc-usb-0.6.6/qc-driver.c: In function ‘qc_v4l_ioctl’:
/home/iosifidis/Desktop/Logitech/qc-usb-0.6.6/qc-driver.c:2529: σφάλμα: ‘struct video_device’ has no member named ‘type’
/home/iosifidis/Desktop/Logitech/qc-usb-0.6.6/qc-driver.c: At top level:
/home/iosifidis/Desktop/Logitech/qc-usb-0.6.6/qc-driver.c:3008: σφάλμα: unknown field ‘type’ specified in initializer
/home/iosifidis/Desktop/Logitech/qc-usb-0.6.6/qc-driver.c:3009: σφάλμα: unknown field ‘hardware’ specified in initializer
make[2]: *** [/home/iosifidis/Desktop/Logitech/qc-usb-0.6.6/qc-driver.o] Error 1
make[1]: *** [_module_/home/iosifidis/Desktop/Logitech/qc-usb-0.6.6] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-14-generic'
make: *** [quickcam.ko] Error 2
Κατέβασα και από το site http://mxhaard.free.fr/download.html το αρχείο http://mxhaard.free.fr/spca50x/Download/spca5xx-20050315.tar.gz και ακολούθησα τις οδηγίες αλλά στο 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/iosifidis/Desktop/Logitech/spca5xx-v4l1goodbye CC=cc modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-14-generic'
scripts/Makefile.build:46: *** CFLAGS was changed in "/home/iosifidis/Desktop/Logitech/spca5xx-v4l1goodbye/Makefile". Fix it to use EXTRA_CFLAGS. Stop.
make[1]: *** [_module_/home/iosifidis/Desktop/Logitech/spca5xx-v4l1goodbye] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-14-generic'
make: *** [default] Error 2
Τί δεν έχω εγκατεστημένο και μου βγάζει αυτά τα Error 2;
Πώς μπορώ να κάνω εγκατάσταση;
ΠΗΓΕΣ:
http://ralph.n3rds.net/index.php?/archives/20-Install-Logitech-QuickCam-Express-Plus.html
Linux Driver for Quickcam USB cameras



