Bonjour a tous.
Voila, j'ai essayé d'installer les drivers pour la logitech quick cam express, et il veux pas me le compiler…
naboo@NabooDisk:/usr/src/modules/qc-usb-source$ ./quickcam.sh
-=- Logitech QuickCam USB camera driver installer -=-
Hello! I am the (hopefully) easy-to-use, fully automated
qc-usb driver installation script.
At the moment, this is experimental, and if it doesn't work,
don't hesitate to quit this with Ctrl+C and install the
driver manually.
The driver is provided in source code form, so it has to be
compiled. This should happen automatically, but it does mean
that there are some steps required before installation.
You also need to know "root" user password to test and
install the driver.
Basically you need only to keep hitting Enter whenever you
see this prompt: --->. Sometimes you're asked root password.
Pay special attention to lines beginning with [!].
It means that some trouble has been detected.
To most important location is the path to your kernel source
or headers. This can be guessed, but you can specify it by
giving it as an argument to this script like this:
£spaces£ £/spaces£./quickcam.sh LINUX_DIR=/usr/src/linux
If you haven't done it yet, now it would be a good moment to
take a look at file README.
Next I'm going to check if you have some important programs installed
and if they and the kernel are of suitable version.
Press Ctrl+C to quit, Enter to continue --->
./quickcam.sh
/usr/bin/whoami
/bin/su
/bin/ls
/bin/cat
/usr/bin/gcc
/usr/bin/gcc
/usr/bin/make
/bin/grep
/bin/egrep
/usr/bin/awk
/bin/sed
/usr/bin/tail
/usr/bin/head
/usr/bin/install
/usr/bin/ld
/bin/uname
/usr/bin/tr
/usr/bin/xawtv
/usr/bin/xdpyinfo
/bin/dmesg
/usr/bin/wc
gcc version: gcc version 4.1.2 20060613 (prerelease) (Debian 4.1.1-5)
gcc version: gcc version 4.1.2 20060613 (prerelease) (Debian 4.1.1-5)
Make version: GNU Make 3.81
Linker version: GNU ld version 2.17 Debian GNU/Linux
Kernel compiler: gcc version 4.1.2 20060613 (prerelease) (Debian 4.1.1-5)
Looking for more necessary programs...
Found program /sbin/depmod
Found program /sbin/insmod
Found program /sbin/rmmod
Found program /sbin/modprobe
Found program /bin/mount
Found program /usr/bin/lsusb
depmod version: module-init-tools 3.2.2
insmod version: module-init-tools version 3.2.2
rmmod version: module-init-tools version 3.2.2
modprobe version: module-init-tools version 3.2.2
Checking whether we're root... naboo
Checking for driver source code...
Checking for write permission...
Previous round done. Now checking if you have kernel source installed.
Press Ctrl+C to quit, Enter to continue --->
Kernel source directory: /lib/modules/2.6.17.1/build
Detected kernel version is 2.6.x.
Kernel version name: 2.6.17.1
Kernel source version code: 132625
Driver file name: quickcam.ko
Module install directory: /lib/modules/2.6.17.1
Driver source directory (PWD): /usr/src/modules/qc-usb-source
Kernel source directory (LINUX_DIR): /lib/modules/2.6.17.1/build
Module install directory (MODULE_DIR): /lib/modules/2.6.17.1
Utility install directory (PREFIX): /usr/local
User options (USER_OPT):
Driver file name (use with insmod): quickcam.ko
Kernel version code: 132625
The QuickCam driver requires other drivers from kernel.
I'll now check if those seem to be loaded.
Press Ctrl+C to quit, Enter to continue --->
Modules loaded into the kernel:
videodev uhci_hcd isofs snd_rtctimer snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss fglrx ipv6 af_packet parport_pc parport pcspkr usbhid ehci_hcd 8139cp 8250_pci 8250 serial_core shpchp pci_hotplug ati_agp 8139too mii ohci_hcd usbcore agpgart nls_cp437 vfat fat nls_iso8859_1 sr_mod sd_mod scsi_mod psmouse ide_generic ide_cd cdrom rtc unix ext3 jbd mbcache ide_disk atiixp generic ide_core evdev mousedev
Next round: let's see if you have a supported QuickCam.
Please plug in your USB camera before continuing.
Press Ctrl+C to quit, Enter to continue --->
I can find the following probably compatible devices:
[!] Didn't find compatible cameras.
If you got message: "Permission denied", it means that
you simply have too old lsusb, and you can ignore this problem.
In this case you have to be root to use lsusb, but I won't do that.
WARNING: If you press Enter, I'll try to continue anyway,
but this probably will fail. You SHOULD press Ctrl+C now.
Press Ctrl+C to quit, Enter to continue --->
Another round done. Let's now compile the driver, it takes a while.
This step will also clear old unnecessary files from the directory.
Press Ctrl+C to quit, Enter to continue --->
rm -f *.o qcset show *~ .\#* .*.cmd *.mod.c *.ko
rm -rf .tmp_versions
make -C "/lib/modules/2.6.17.1/build" SUBDIRS="/usr/src/modules/qc-usb-source" modules V=1 USER_OPT=""
make[1]: Entering directory `/root/linux-2.6.17.1'
mkdir -p /usr/src/modules/qc-usb-source/.tmp_versions
rm -f /usr/src/modules/qc-usb-source/.tmp_versions/*
make -f scripts/Makefile.build obj=/usr/src/modules/qc-usb-source
£spaces£ £/spaces£gcc -m32 -Wp,-MD,/usr/src/modules/qc-usb-source/.qc-driver.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -march=i686 -mtune=pentium4 -ffreestanding -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -Wno-pointer-sign -DNOKERNEL -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(qc_driver)" -D"KBUILD_MODNAME=KBUILD_STR(quickcam)" -c -o /usr/src/modules/qc-usb-source/.tmp_qc-driver.o /usr/src/modules/qc-usb-source/qc-driver.c
/usr/src/modules/qc-usb-source/qc-driver.c:79: error: expected ')' before string constant
/usr/src/modules/qc-usb-source/qc-driver.c:83: error: expected ')' before string constant
/usr/src/modules/qc-usb-source/qc-driver.c:87: error: expected ')' before string constant
/usr/src/modules/qc-usb-source/qc-driver.c:92: error: expected ')' before string constant
/usr/src/modules/qc-usb-source/qc-driver.c:96: error: expected ')' before string constant
/usr/src/modules/qc-usb-source/qc-driver.c:100: error: expected ')' before string constant
/usr/src/modules/qc-usb-source/qc-driver.c:104: error: expected ')' before string constant
/usr/src/modules/qc-usb-source/qc-driver.c:108: error: expected ')' before string constant
/usr/src/modules/qc-usb-source/qc-driver.c:112: error: expected ')' before string constant
/usr/src/modules/qc-usb-source/qc-driver.c:116: error: expected ')' before string constant
/usr/src/modules/qc-usb-source/qc-driver.c:120: error: expected ')' before string constant
/usr/src/modules/qc-usb-source/qc-driver.c:125: error: expected ')' before string constant
/usr/src/modules/qc-usb-source/qc-driver.c:130: error: expected ')' before string constant
/usr/src/modules/qc-usb-source/qc-driver.c:3031: error: unknown field 'owner' specified in initializer
/usr/src/modules/qc-usb-source/qc-driver.c:3031: warning: initialization from incompatible pointer type
/usr/src/modules/qc-usb-source/qc-driver.c:3394: fatal error: opening dependency file /usr/src/modules/qc-usb-source/.qc-driver.o.d: Permission denied
compilation terminated.
make[2]: *** [/usr/src/modules/qc-usb-source/qc-driver.o] Error 1
make[1]: *** [_module_/usr/src/modules/qc-usb-source] Error 2
make[1]: Leaving directory `/root/linux-2.6.17.1'
make: *** [quickcam.ko] Error 2
ls: quickcam.ko: No such file or directory
[!] Looks like the driver compilation failed.
Did you get any error messages above?
If asking for help, show what error messages you got.
WARNING: If you press Enter, I'll try to continue anyway,
but this probably will fail. You SHOULD press Ctrl+C now.
Press Ctrl+C to quit, Enter to continue --->
Quelqu'un a une idée??? J'ai cherché dans plein de forum, mais j'ai tjs pas réussi!
Aidez moi svp!!!!!!!
NaBoO
# utilise module-assistant ?
Posté par Bastien Mourgues . Évalué à 2.
apt-get install module-assistant qc-usb-source
m-a prepare
m-a clean qc-usb
m-a auto-install qc-usb
Si tu as un noyau debian, ça devrait passer sans problème ...
[^] # Re: utilise module-assistant ?
Posté par fox (site web personnel) . Évalué à 3.
[^] # Re: utilise module-assistant ?
Posté par NaBoO . Évalué à 1.
Ca c passé sans problème...
Mais comment je fait maintenant pour lactiver la connexion???
[^] # Re: utilise module-assistant ?
Posté par fox (site web personnel) . Évalué à 3.
[^] # Re: utilise module-assistant ?
Posté par NaBoO . Évalué à 1.
Lorsque je lance le programme de test qui est normalement lancé par l'installation de la caméra, j'obtien un écran noir.
Est-ce normal?
Comment faire pour voir les images de la caméra?
Et comment faire pour utiliser le micro intégré a la caméra?
Merci d'avance!!!
[^] # Re: utilise module-assistant ?
Posté par fox (site web personnel) . Évalué à 2.
[^] # Re: utilise module-assistant ?
Posté par NaBoO . Évalué à 1.
Ou la cam n'est pas bien configurée?
[^] # Re: utilise module-assistant ?
Posté par fox (site web personnel) . Évalué à 2.
xawtv -c /dev/video(0|1)
Si toujours ecran noir a priori oui la cam est mal configuree
[^] # Re: utilise module-assistant ?
Posté par NaBoO . Évalué à 1.
Le ping fonctionne correctement mais impossible d'accéder aux sites par un navigateur queconque (firefox, konqueror, ...) et l'apt-get ne marche pas non plus!! j'ai fouillé partout sans résultat. Un coup de pouce serai le bienvenu!! ^^ :)
[^] # Re: utilise module-assistant ?
Posté par fox (site web personnel) . Évalué à 2.
Si tu ping une IP mais pas un host c'est un probleme de DNS. Mais le coup du LiveCD je capte pas la.
[^] # Re: utilise module-assistant ?
Posté par NaBoO . Évalué à 1.
[^] # Re: utilise module-assistant ?
Posté par NaBoO . Évalué à 1.
Par contre, la cam ne marche toujours pas. Meme en essayant de lui spécifier le device, xawtv m'affiche un écran noir. Je compren pas pourquoi il me reconnai la cam mais ne veut pas m'afficher l'image...
[^] # Re: utilise module-assistant ?
Posté par NaBoO . Évalué à 1.
ow I finally will try to load the module.
If you're unlucky, your computer might crash right now!!!!
Consider long if you really want to continue.
Press Ctrl+C to quit, Enter to continue --->
You decided to do it, here we go...
=== Leaving root mode ===
The driver detected the following supported cameras:
quickcam [46.126213]: ----------LOADING QUICKCAM MODULE------------
quickcam [46.126386]: struct quickcam size: 4116
quickcam: QuickCam USB camera found (driver version QuickCam Messenger/Communicate USB 1.3 $Date: 2006/06/06 10:00:00 $)
quickcam: Kernel:2.6.17.1 bus:4 class:FF subclass:FF vendor:046D product:08F0
quickcam [46.129659]: poisoning qc in qc_usb_init
quickcam [46.145024]: E00A contains 08F0
quickcam: Sensor VV6450 detected
quickcam [46.153962]: Quickcam snapshot button registered on usb-0000:02:07.1-1/input0
quickcam: Registered device: /dev/video0
usbcore: registered new driver quickcam
usr/bin/realpath: need at least one filename
Usage:
usr/bin/realpath [-s|--strip] [-z|--zero] filename ...
usr/bin/realpath -h|--help
usr/bin/realpath -v|--version
I will be using , if there are more cameras I'll not test them.
Press Ctrl+C to quit, Enter to continue --->
Testing if is correct.
ls: : No such file or directory
./quickcam.sh: line 700: [: too many arguments
ls: : No such file or directory
ls: : No such file or directory
[!] major number is .
Usually it should be 81, so there are problems ahead.
WARNING: If you press Enter, I'll try to continue anyway,
but this probably will fail. You SHOULD press Ctrl+C now.
Press Ctrl+C to quit, Enter to continue --->
je ne voi pas du tout pourquoi ca nemarche pas!!! Help!!!
Suivre le flux des commentaires
Note : les commentaires appartiennent à celles et ceux qui les ont postés. Nous n’en sommes pas responsables.