Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 14/09/2005, à 11:11

veust

[resolu]comment installe pilotes webcam

J'ai une webcam Labtec et j'ai telecharge recemment le pack de driver "qc-usb 0.6.3" mais je n'arrive pas a le compiler?? quelqu'un pourrait-il m'aider???

Dernière modification par veust (Le 28/10/2005, à 13:12)


Envie d'évasion ? Venez visiter Carnets de route et prenez de la hauteur.

Hors ligne

#2 Le 14/09/2005, à 11:26

nehuzel

Re : [resolu]comment installe pilotes webcam

http://wiki.ubuntu-fr.org/materiel/webcam_logitech_msn


Windows, c'est mieux qu'un tamagochi...
même quand tu t'en occupes, il meurt !
http://www.book-of-ubuntu.com

Hors ligne

#3 Le 14/09/2005, à 11:33

veust

Re : [resolu]comment installe pilotes webcam

merci pour le lien mais peripherique uhci introuvable!!!!!!!!!!


Envie d'évasion ? Venez visiter Carnets de route et prenez de la hauteur.

Hors ligne

#4 Le 14/09/2005, à 11:38

nehuzel

Re : [resolu]comment installe pilotes webcam

laisse faire et tente quand même, ca passe à quasiment tous les coups. Si ca passe pas vu les soucis que tu rencontre je te recommenderais de graver un nouvel exemplaire du cd ubuntu et de refaire une install, tu as plein de trucs bizarres qui t'arrivent sur ton pc (pas de totem par exemple)


Windows, c'est mieux qu'un tamagochi...
même quand tu t'en occupes, il meurt !
http://www.book-of-ubuntu.com

Hors ligne

#5 Le 14/09/2005, à 13:53

veust

Re : [resolu]comment installe pilotes webcam

c'est exactement ce que je me disait mais j'aime bien creucer et comprendre les choses donc je vais encore insister avant d'en venir a cette solution ultime.
Merci pour ton aide en tout cas


Envie d'évasion ? Venez visiter Carnets de route et prenez de la hauteur.

Hors ligne

#6 Le 16/09/2005, à 01:41

veust

Re : [resolu]comment installe pilotes webcam

La reinstall s'est bien passe tout fonctionne nickel mais l'install pour ma webcam ne fonctionne toujours pas.


Envie d'évasion ? Venez visiter Carnets de route et prenez de la hauteur.

Hors ligne

#7 Le 16/09/2005, à 08:17

nehuzel

Re : [resolu]comment installe pilotes webcam

quels sont les messages d'erreur?


Windows, c'est mieux qu'un tamagochi...
même quand tu t'en occupes, il meurt !
http://www.book-of-ubuntu.com

Hors ligne

#8 Le 16/09/2005, à 11:01

veust

Re : [resolu]comment installe pilotes webcam

en fait je n'ai pas de message d'erreur j'ai installe le driver qc-usb j'ai toujours le module uhci introuvable mais l'install du pilote s'est poursuivi j'ai eu la serie de question comme annonce dans le wiki,le pilote charge la webcam (modprobe quickcam) mais elle ne fonctionne toujours pas. Au cours de l'install j'aurais normalement du avoir un test webcam toujours selon le wiki mais je ne l'ai jamais eu??????
peut etre que mes explications ne sont pas clair dans ce cas je referais l'install et te marquerai le deroulement.


Envie d'évasion ? Venez visiter Carnets de route et prenez de la hauteur.

Hors ligne

#9 Le 16/09/2005, à 11:13

nehuzel

Re : [resolu]comment installe pilotes webcam

apt-get install xawtv
il faut installer xawtv sinon le test peux pas marcher


Windows, c'est mieux qu'un tamagochi...
même quand tu t'en occupes, il meurt !
http://www.book-of-ubuntu.com

Hors ligne

#10 Le 16/09/2005, à 11:52

veust

Re : [resolu]comment installe pilotes webcam

Je t'envoie le script d'installation c'est un peu long mais peut etre sera tu eclaire sur mon soucis apparemment l'assistant d'installation ne peut pas installer certains modules.......

root@ubuntu:/home/veust# . /home/veust/Desktop/qc-usb-messenger-0.8/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:
        ./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 --->

/bin/bash
/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
/bin/readlink
gcc version: version gcc 4.0.2 20050808 (prerelease) (Debian 4.0.1-4ubuntu6)
gcc version: version gcc 4.0.2 20050808 (prerelease) (Debian 4.0.1-4ubuntu6)
Make version: GNU Make 3.80
Linker version: GNU ld version 2.16.1 Debian GNU/Linux
Kernel compiler: gcc version 3.4.5 20050809 (prerelease) (Debian 3.4.4-6ubuntu6)[!] Kernel compiler and gcc seem to be different versions.
Instead, they should be the same. If you have many compilers
installed, you can specify the correct one with command (in bash)
        export CC=kgcc
before trying to install the driver. Replace kgcc with the command
required for compiling kernels (kgcc is often used in Red Hat systems).
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 --->

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/sbin/lsusb
depmod version: module-init-tools 3.2-pre7
insmod version: module-init-tools version 3.2-pre7
rmmod version: module-init-tools version 3.2-pre7
modprobe version: module-init-tools version 3.2-pre7
Checking whether we're root... root
[!] Running script as root.
You shouldn't run this script as root. It should work,
but is unsafe. Please run this as an ordinary user.
When root access is really needed, you will be prompted
for the root password.
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 --->

Checking for driver source code...
[!] Driver source not found.
The qc-usb driver source code must be in the current directory,
but I didn't find it.
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 --->

Checking for write permission...

Previous round done. Now checking if you have kernel source installed.
Press Ctrl+C to quit, Enter to continue --->

make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.
Kernel source directory:
[!] Can not find kernel source or even headers.
Make sure that they are installed (install with e.g. rpm or apt-get
if necessary) and ensure that you have read rights to the files.
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 --->

[!] Kernel headers installed, but not complete source code.
Installation still may work with some architectures like Intel x86,
but will definitely fail on others. Note that for kernel 2.6.x
we need always full source code.
Press Ctrl+C to quit, Enter to continue --->

[!] Kernel configuration file /.config not found.
If the headers have been already configured properly, you might
not need it. But it would be better not to trust this, you
really should know where is your configuration file, and
copy it into its place. Often it can be found in /boot/
directory with a name like /boot/config-2.4.26 or something.
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 --->

[!] Can not find version.h in kernel source.
[!] Kernel source is not configured properly.
You have only kernel headers but they are not configured
properly. It's pointless trying to continue, this won't work.
Either install properly configured kernel headers or full
source with kernel configuration file. In the latter case
I can configure the kernel source using the configuration
file automatically.
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 --->

make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.
awk: cannot open /include/linux/version.h (No such file or directory)
make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.
make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.
bash: /include/linux/version.h: Aucun fichier ou répertoire de ce type
[!] Multiple kernel versions specified in linux/version.h
This is probably a heavily modified Red Hat or other distributor
kernel, and the kernel version check doesn't work.
So we can not check if your kernel version is correct, so we
must just hope so.
Press Ctrl+C to quit, Enter to continue --->

Kernel version name:
Kernel source version code:
Driver file name:
Module install directory:
bash: [: : integer expression expected
bash: [: : integer expression expected
make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.
bash: [: : integer expression expected
[!] Using module-init-tools with 2.4.x/2.2.x kernel.
These kernels require older modutils.
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 --->


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:
rfcomm l2cap bluetooth cpufreq_userspace cpufreq_stats freq_table cpufreq_powersave cpufreq_ondemand cpufreq_conservative mga drm video sony_acpi pcc_acpi dev_acpi i2c_acpi_ec button battery container ac ipv6 tsdev snd_mpu401 snd_mpu401_uart snd_rawmidi snd_seq_device analog gameport irtty_sir sir_dev irda crc_ccitt floppy pcspkr rtc snd_intel8x0 snd_ac97_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd soundcore snd_page_alloc i2c_sis96x i2c_core shpchp pci_hotplug sis_agp agpgart nls_utf8 dm_mod evdev spca5xx ntfs pppoatm ppp_generic slhc speedtch firmware_class usb_atm psmouse mousedev parport_pc lp parport md ext3 jbd vga16fb vgastate thermal processor fan ide_cd cdrom ide_disk ide_generic sis900 mii ehci_hcd ohci_hcd usbcore sis5513 ide_core unix fbcon tileblit font bitblit vesafb cfbcopyarea cfbimgblt cfbfillrect softcursor capability commoncap
[!] Linux video driver appears to be not loaded.
You could load it as root with command:
        modprobe videodev
(but I can do it for you automatically)
I will now try to load the missing modules.
Type root password and press Enter (or Ctrl+D to abort).
root@ubuntu:/home/veust# xxxxxx
bash: xxxxxx: command not found
root@ubuntu:/home/veust#
root@ubuntu:/home/veust# modprobe videodev
root@ubuntu:/home/veust#

Envie d'évasion ? Venez visiter Carnets de route et prenez de la hauteur.

Hors ligne

#11 Le 16/09/2005, à 12:11

nehuzel

Re : [resolu]comment installe pilotes webcam

heu la prochaine fois, place ce genre de message entre des balises de code, c'est plus simple à lire...
Il semblerait que l'erreur ne vienne pas de là en fait. Il ne parvient pas à trouver les sources du driver si je comprends bien ce que je lis.
Coté sources, tu as bien installé les kernel headers d'une part et téléchargé les sources du driver en suivant le lien donné sur le wiki?


Windows, c'est mieux qu'un tamagochi...
même quand tu t'en occupes, il meurt !
http://www.book-of-ubuntu.com

Hors ligne

#12 Le 16/09/2005, à 12:25

veust

Re : [resolu]comment installe pilotes webcam

Oui j'ai installe les Kernels headers du noyau ainsi que le pilote du lien wiki je ne comprends pas j'ai du reste essaye d'installe un autre pilote indique sur ce forum "spca5xx" qui prend en charge ma webcam mais le resultat est le meme???????????
Excuse moi pour ma presentation peu orthodoxe tongue

Dernière modification par veust (Le 16/09/2005, à 12:28)


Envie d'évasion ? Venez visiter Carnets de route et prenez de la hauteur.

Hors ligne

#13 Le 17/09/2005, à 23:09

veust

Re : [resolu]comment installe pilotes webcam

quelqu'un aurait t'il un ecaircissement a apporte a mon probleme????? j'ai retente l'install avec les deux pilotes differents et toujours le meme probleme je n'y comprends plus rien.


Envie d'évasion ? Venez visiter Carnets de route et prenez de la hauteur.

Hors ligne

#14 Le 20/09/2005, à 13:09

famillebundy

Re : [resolu]comment installe pilotes webcam

pour moi meme problème, il me dit d'utiliser la commande "export CC=kgcc" car il est dit que le "kernel compiler" et "gcc" sont de version différentes.
Que faire sachant que j'ai tout essayer et impossible d'installer cette fichu webcam sad

Hors ligne

#15 Le 20/09/2005, à 13:16

jap

Re : [resolu]comment installe pilotes webcam

idem pour moi


A compléter ...

Hors ligne

#16 Le 21/09/2005, à 12:38

famillebundy

Re : [resolu]comment installe pilotes webcam

personne pour répondre:( ce qui signifie que tout le monde reussi a installer ca webcam sans problemes???? ou bien personne n'a la solution??
merci d'avance smile

Hors ligne

#17 Le 21/09/2005, à 13:02

dawar

Re : [resolu]comment installe pilotes webcam

Il faut le même compilateur que pour le noyau. Essai d'installer gcc-3.4 si ce n'est pas deja fait, puis un export CC=gcc-3.4 avant la compil.

Ce qui m'étonne c'est que tu ai gcc 4.0.2, noté 20050808, donc très récent...


S'il n'y a pas de solution, c'est qu'il n'y a pas de problème (Devise Shadoks)

Hors ligne

#18 Le 21/09/2005, à 13:54

famillebundy

Re : [resolu]comment installe pilotes webcam

ok merci j'essaierai et vous tiens au courant wink

Hors ligne

#19 Le 21/09/2005, à 14:50

veust

Re : [resolu]comment installe pilotes webcam

comment connaitre le version de son noyau y a t-il une commande?


Envie d'évasion ? Venez visiter Carnets de route et prenez de la hauteur.

Hors ligne

#20 Le 21/09/2005, à 15:19

dawar

Re : [resolu]comment installe pilotes webcam

comment connaitre le version de son noyau y a t-il une commande?

uname -a


S'il n'y a pas de solution, c'est qu'il n'y a pas de problème (Devise Shadoks)

Hors ligne

#21 Le 21/09/2005, à 16:04

veust

Re : [resolu]comment installe pilotes webcam

thanks a lot!!!


Envie d'évasion ? Venez visiter Carnets de route et prenez de la hauteur.

Hors ligne

#22 Le 21/09/2005, à 17:59

veust

Re : [resolu]comment installe pilotes webcam

pourquoi les periphs video que j'ai creees disparaissent a chaque demarrage et comment voir si ma webcam est bien reconnue???


Envie d'évasion ? Venez visiter Carnets de route et prenez de la hauteur.

Hors ligne

#23 Le 21/09/2005, à 18:40

jap

Re : [resolu]comment installe pilotes webcam

ca marche toujours pas pour moi...et idem pour les périphs videos....


A compléter ...

Hors ligne

#24 Le 21/09/2005, à 23:39

famillebundy

Re : [resolu]comment installe pilotes webcam

j'ai réussi!!! ill suffit donc d'avoir le kernel compiler et le gcc identique.
exemple du message d'erreur:

gcc version: version gcc 4.0.2 20050808 (prerelease) (Debian 4.0.1-4ubuntu6)
gcc version: version gcc 4.0.2 20050808 (prerelease) (Debian 4.0.1-4ubuntu6)
Make version: GNU Make 3.80
Linker version: GNU ld version 2.16.1 Debian GNU/Linux
Kernel compiler: gcc version 3.4.5 20050809 (prerelease) (Debian 3.4.4-6ubuntu6)[!] Kernel compiler

le kernel compiler est gcc version 3.4.5, il faut donc installer a partir de synaptic (ou kynaptic si c KDE smile ) le gcc 3.4
apres cela faite dans le shell export CC=gcc

puis lancer la commande : sudo ./quickcam.sh .
suivez toute les etapes en faisant entrer a chaque fois.
et voila!
(si jamais il vous dit que le kernel est toujours différent de gcc, ne l'ecoutez pas et continuer l'install)

j'espere que vous y arriverez car moi c'est tout bon maintenant wink
bonne chance!

Dernière modification par famillebundy (Le 21/09/2005, à 23:40)

Hors ligne

#25 Le 22/09/2005, à 14:10

veust

Re : [resolu]comment installe pilotes webcam

J'ai change la version gcc (pour une version 3.4 ) effectivement l'install va plus loin mais apparemment il me manque tout de meme des modules de plus il ne detecte pas ma webcam et enfin il ne reconnait pas mon mot de passe root!!!! Je vous envoie le script, c'est un peu long mais peut etre trouverez vous une solution car pour moi c'est du chinois et je trouve dommage de devoir retourne sous windows a chaque besoin de la camera.

veust@ubuntu:~$ sudo su
root@ubuntu:/home/veust# cd /home/veust/Desktop/qc-usb-messenger-0.8
root@ubuntu:/home/veust/Desktop/qc-usb-messenger-0.8# .
bash: .: filename argument required
.: usage: . filename [arguments]
root@ubuntu:/home/veust/Desktop/qc-usb-messenger-0.8# ./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:
        ./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
/bin/readlink
gcc version: version gcc 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)
gcc version: version gcc 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)
Make version: GNU Make 3.80
Linker version: GNU ld version 2.16.1 Debian GNU/Linux
Kernel compiler: gcc version 3.4.5 20050809 (prerelease) (Debian 3.4.4-6ubuntu7)[!] Kernel compiler and gcc seem to be different versions.
Instead, they should be the same. If you have many compilers
installed, you can specify the correct one with command (in bash)
        export CC=kgcc
before trying to install the driver. Replace kgcc with the command
required for compiling kernels (kgcc is often used in Red Hat systems).
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 --->

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/sbin/lsusb
depmod version: module-init-tools 3.2-pre7
insmod version: module-init-tools version 3.2-pre7
rmmod version: module-init-tools version 3.2-pre7
modprobe version: module-init-tools version 3.2-pre7
Checking whether we're root... root
[!] Running script as root.
You shouldn't run this script as root. It should work,
but is unsafe. Please run this as an ordinary user.
When root access is really needed, you will be prompted
for the root password.
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 --->

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.12-8-386/build
Detected kernel version is 2.6.x.
Kernel version name: 2.6.12-8-386
Kernel source version code: 132620
Driver file name: quickcam.ko
Module install directory: /lib/modules/2.6.12-8-386
Driver source directory (PWD):         /home/veust/Desktop/qc-usb-messenger-0.8
Kernel source directory (LINUX_DIR):   /lib/modules/2.6.12-8-386/build
Module install directory (MODULE_DIR): /lib/modules/2.6.12-8-386
Utility install directory (PREFIX):    /usr/local
User options (USER_OPT):
Driver file name (use with insmod):    quickcam.ko
Kernel version code:                   132620

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:
quickcam videodev isofs udf rfcomm l2cap bluetooth cpufreq_userspace cpufreq_stats freq_table cpufreq_powersave cpufreq_ondemand cpufreq_conservative mga drm video thermal sony_acpi pcc_acpi processor fan dev_acpi i2c_acpi_ec button battery container ac ipv6 tsdev snd_mpu401 snd_mpu401_uart snd_rawmidi snd_seq_device analog gameport irtty_sir sir_dev irda crc_ccitt floppy pcspkr rtc snd_intel8x0 snd_ac97_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd soundcore snd_page_alloc i2c_sis96x i2c_core shpchp pci_hotplug sis_agp agpgart nls_cp437 dm_mod evdev spca5xx ntfs pppoatm ppp_generic slhc speedtch firmware_class usb_atm psmouse mousedev parport_pc lp parport md unix ext3 jbd vga16fb vgastate softcursor cfbimgblt cfbfillrect cfbcopyarea fbcon tileblit font bitblit sis900 mii ehci_hcd ohci_hcd usbcore ide_cd cdrom ide_disk ide_generic sis5513 ide_core
[!] The QuickCam driver is already loaded!
You should first remove the (old?) module by issuing
        rmmod mod_quickcam || rmmod quickcam
as root, otherwise I will fail to install the new module.
I will now try to unload it for you automatically,
if you just give me the root password (Ctrl+D to cancel):
=== Entering root mode ===
Trying to unload QuickCam driver...
=== Leaving root mode ===

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 input_read show *~ .\#* .*.cmd *.mod.c *.ko
rm -rf .tmp_versions
cd testquickcam ; make clean
make[1]: entrant dans le répertoire « /home/veust/Desktop/qc-usb-messenger-0.8/testquickcam »
rm -f testquickcam *~ pic.ppm pic.gif
make[1]: quittant le répertoire « /home/veust/Desktop/qc-usb-messenger-0.8/testquickcam »
make -C "/lib/modules/2.6.12-8-386/build" SUBDIRS="/home/veust/Desktop/qc-usb-messenger-0.8" modules V=1 USER_OPT=""
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.12-8-386 »
mkdir -p /home/veust/Desktop/qc-usb-messenger-0.8/.tmp_versions
make -f scripts/Makefile.build obj=/home/veust/Desktop/qc-usb-messenger-0.8
  gcc-3.4 -Wp,-MD,/home/veust/Desktop/qc-usb-messenger-0.8/.qc-driver.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/3.4.5/include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -Os     -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i386 -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement  -DNOKERNEL   -DMODULE -DKBUILD_BASENAME=qc_driver -DKBUILD_MODNAME=quickcam -c -o /home/veust/Desktop/qc-usb-messenger-0.8/.tmp_qc-driver.o /home/veust/Desktop/qc-usb-messenger-0.8/qc-driver.c
  gcc-3.4 -Wp,-MD,/home/veust/Desktop/qc-usb-messenger-0.8/.qc-vv6450.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/3.4.5/include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -Os     -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i386 -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement  -DNOKERNEL   -DMODULE -DKBUILD_BASENAME=qc_vv6450 -DKBUILD_MODNAME=quickcam -c -o /home/veust/Desktop/qc-usb-messenger-0.8/.tmp_qc-vv6450.o /home/veust/Desktop/qc-usb-messenger-0.8/qc-vv6450.c
  gcc-3.4 -Wp,-MD,/home/veust/Desktop/qc-usb-messenger-0.8/.qc-formats.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/3.4.5/include -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -Os     -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i386 -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement  -DNOKERNEL   -DMODULE -DKBUILD_BASENAME=qc_formats -DKBUILD_MODNAME=quickcam -c -o /home/veust/Desktop/qc-usb-messenger-0.8/.tmp_qc-formats.o /home/veust/Desktop/qc-usb-messenger-0.8/qc-formats.c
  gcc-3.4 -Wp,-MD,/home/veust/Desktop/qc-usb-messenger-0.8/.qc-memory.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/3.4.5/include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -Os     -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i386 -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement  -DNOKERNEL   -DMODULE -DKBUILD_BASENAME=qc_memory -DKBUILD_MODNAME=quickcam -c -o /home/veust/Desktop/qc-usb-messenger-0.8/.tmp_qc-memory.o /home/veust/Desktop/qc-usb-messenger-0.8/qc-memory.c
/home/veust/Desktop/qc-usb-messenger-0.8/qc-memory.c: In function `qc_mm_remap':/home/veust/Desktop/qc-usb-messenger-0.8/qc-memory.c:233: attention : déclaration implicite de la fonction « remap_page_range »
  ld -m elf_i386  -r -o /home/veust/Desktop/qc-usb-messenger-0.8/quickcam.o /home/veust/Desktop/qc-usb-messenger-0.8/qc-driver.o /home/veust/Desktop/qc-usb-messenger-0.8/qc-vv6450.o /home/veust/Desktop/qc-usb-messenger-0.8/qc-formats.o /home/veust/Desktop/qc-usb-messenger-0.8/qc-memory.o
  Building modules, stage 2.
make -rR -f /usr/src/linux-headers-2.6.12-8-386/scripts/Makefile.modpost
  scripts/mod/modpost -m -a -i /usr/src/linux-headers-2.6.12-8-386/Module.symvers /home/veust/Desktop/qc-usb-messenger-0.8/quickcam.o
*** Warning: "remap_page_range" [/home/veust/Desktop/qc-usb-messenger-0.8/quickcam.ko] undefined!
  gcc-3.4 -Wp,-MD,/home/veust/Desktop/qc-usb-messenger-0.8/.quickcam.mod.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/3.4.5/include -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -Os     -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i386 -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement     -DKBUILD_BASENAME=quickcam -DKBUILD_MODNAME=quickcam -DMODULE -c -o /home/veust/Desktop/qc-usb-messenger-0.8/quickcam.mod.o /home/veust/Desktop/qc-usb-messenger-0.8/quickcam.mod.c
  ld -m elf_i386 -r -o /home/veust/Desktop/qc-usb-messenger-0.8/quickcam.ko /home/veust/Desktop/qc-usb-messenger-0.8/quickcam.o /home/veust/Desktop/qc-usb-messenger-0.8/quickcam.mod.o
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.12-8-386 »
gcc -Wall -O2 -s qcset.c -o qcset -lm
qcset.c: In function ‘pnm_open’:
qcset.c:382: attention : pointer targets in passing argument 1 of ‘fopen’ differ in signedness
qcset.c: In function ‘main’:
qcset.c:639: attention : pointer targets in passing argument 1 of ‘pnm_open’ differ in signedness
gcc -Wall -O2 -s input_read.c -o input_read
-rw-r--r--  1 root root 124868 2005-09-22 14:16 quickcam.ko

Now everything should be well and the driver compiled.
Let's then try actually loading the fresh driver and testing
if it works.
Press Ctrl+C to quit, Enter to continue --->

To load the driver, I need to know the root password.
=== Entering root mode ===

I will now try to enable the SysRq key.
If your computer crashes, you can try pressing:
        Alt + SysRq + S: Emergency Sync (write everything on hard disk)
        Alt + SysRq + U: Unmount all harddisks
        Alt + SysRq + B: Reboot system immediately
Press Ctrl+C to quit, Enter to continue --->

Now 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...
insmod: error inserting './quickcam.ko': -1 Unknown symbol in module
=== Leaving root mode ===
[4364595.372000] quickcam: Unknown symbol remap_page_range
[!] The QuickCam driver failed to load!
If you saw any special error messages, like about
unresolved symbols, tell about them when asking for help.
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 --->

The driver detected the following supported cameras:
[!] No cameras detected.
Try unloading and reloading the driver manually with
        rmmod quickcam; insmod ./quickcam.ko debug=-1
and then checking whether there are any messages indicating
problems with command
        dmesg
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 --->

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: : Aucun fichier ou répertoire de ce type
./quickcam.sh: line 699: [: too many arguments
ls: : Aucun fichier ou répertoire de ce type
ls: : Aucun fichier ou répertoire de ce type
[!]  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 --->


Right now driver is loaded and should be ready to run.
Let's test if user applications can see it, starting with qcset.
Press Ctrl+C to quit, Enter to continue --->

./qcset: can not open /dev/video0 (No such device)
[!] qcset did not found the QuickCam camera
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 --->

If you like, you can quit now and start using the camera -
you have good chances that it works, if no problems were detected.
If you have X Window System running and xawtv installed,
I can now run it automatically for you.
You will then also have opportunity to install the driver permanently.
Press Ctrl+C to quit, Enter to continue --->

Launching xawtv (press q on xawtv window to quit it)...
If the image is not sharp, try focusing it by turning the
wheel around the camera lens.
        xawtv -noscale -noxv -c ""
This is xawtv-3.94, running on Linux/i686 (2.6.12-8-386)
v4l-conf: option requires an argument -- c
usage: v4l-conf  [ options ]

options:
    -q        quiet
    -d <dpy>  X11 Display     [:0.0]
    -c <dev>  video device    [/dev/video0]
    -b <n>    displays color depth is <n> bpp
    -s <n>    shift display by <n> bytes
    -f        query frame buffer device for info
    -a <addr> set framebuffer address to <addr>
              (in hex, root only, successful autodetect
               will overwrite this address)
    -1        force v4l API
    -2        force v4l2 API
v4l-conf had some trouble, trying to continue anyway
v4l2: open : Aucun fichier ou répertoire de ce type
v4l2: open : Aucun fichier ou répertoire de ce type
v4l: open : Aucun fichier ou répertoire de ce type
no video grabber device available

Well, did it work, did you get a picture?
If you did, you might now want to install the driver
permanently. Just proceed to do that...
Press Ctrl+C to quit, Enter to continue --->

Just an extra warning: the driver (quickcam.ko) and
the utility (qcset) will be now copied into system
directories. If you have already other versions,
they will be overwritten. Verify by giving root password.
=== Entering root mode ===
/usr/bin/install -c -D -m 644 quickcam.ko        /lib/modules/2.6.12-8-386/misc/quickcam.ko
/usr/bin/install -c -D -m 755 qcset /usr/local/bin/qcset
/sbin/depmod -a
=== Leaving root mode ===
Hopefully the driver is now installed and can be loaded
with command
        modprobe quickcam
as root. You can put this command into some startup
script to do it always automatically at boot.
The exact location depends on distribution, and this
script is yet too dumb to do this automatically.
Press Ctrl+C to quit, Enter to continue --->

Goodbye...
root@ubuntu:/home/veust/Desktop/qc-usb-messenger-0.8# modprobe quickcam
FATAL: Error inserting quickcam (/lib/modules/2.6.12-8-386/misc/quickcam.ko): Unknown symbol in module, or unknown parameter (see dmesg)
root@ubuntu:/home/veust/Desktop/qc-usb-messenger-0.8#

Dernière modification par veust (Le 22/09/2005, à 14:19)


Envie d'évasion ? Venez visiter Carnets de route et prenez de la hauteur.

Hors ligne