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 30/05/2005, à 14:03

Guy

[Résolu]Quickcam Express de Logitech

Bonjour tous,
Je me bas depuis quelques semaines pour installer ma webcam sans aucun résultat en essayant les différents tutos que j'ai trouvés. Est ce que quelqu'un aurait fait un paquetage .deb pour la distribution Ubuntu ?

Voici mon lsusb :
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 002: ID 046d:0870 Logitech, Inc. QuickCam Express
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

Voici mon uname -a :
Linux ubuntu 2.6.10-5-386 #1 Fri May 20 13:52:48 UTC 2005 i686 GNU/Linux

Si une personne pourrait me guider, car je suis nul sous Linux hmm
Merci d'avance pour vos réponses

@+
Guy

Dernière modification par Guy (Le 30/05/2005, à 18:21)

Hors ligne

#2 Le 30/05/2005, à 14:14

ZeBob

Re : [Résolu]Quickcam Express de Logitech

me semble que y'a .deb dans synaptic qc-usb-source (qui se met dans /usr/src/)

Hors ligne

#3 Le 30/05/2005, à 14:23

Guy

Re : [Résolu]Quickcam Express de Logitech

merci de cette réponse rapide, mais j'ai déja essayé sans résultat.
sad

Hors ligne

#4 Le 30/05/2005, à 14:31

guiguilinux

Re : [Résolu]Quickcam Express de Logitech

Bonjour Guy ;-)

Perso je viens de l'installer en suivant le tutoriel de
trustonme:

http://www.trustonme.net/didactels/172.html

ça marche parfaitement sur ma Hoary
pourvu que tu installes les headers de ton kernel,
( linux-headers-i386 ), gcc, avec ma quickam express.

Tiens nous au courant...

@+
guiguilinux ;-P


Petit pingouin linuxien utilisateur d'Ubuntu ;-)

Hors ligne

#5 Le 30/05/2005, à 16:34

Guy

Re : [Résolu]Quickcam Express de Logitech

Voila ce que me renvoie les 2 commandes
lsmod | grep usb
lsmod | grep uhci

uhci_hcd               30224  0
usbcore               107384  5 ohci_hcd,usblp,ehci_hcd,uhci_hcd


Puis la commande suivante me donne :
./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
Warning: gcc missing
Warning: gcc missing
/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
Warning: xawtv missing
/usr/bin/X11/xdpyinfo
/bin/dmesg
/usr/bin/wc
[!] Some important programs can not be found on default path.
Probably they aren't installed.
You should install them, for example, by using apt-get or rpm.
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 --->

/bin/readlink
gcc version:
gcc version:
Make version: GNU Make 3.80
Linker version: GNU ld version 2.15
Kernel compiler: gcc version 3.3.5 (Debian 1:3.3.5-8ubuntu2)
[!] 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.1
insmod version: module-init-tools version 3.1
rmmod version: module-init-tools version 3.1
modprobe version: module-init-tools version 3.1
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.10-5-386/build
Detected kernel version is 2.6.x.
Kernel version name: 2.6.10-5-386
Kernel source version code: 132618
Driver file name: quickcam.ko
Module install directory: /lib/modules/2.6.10-5-386
Driver source directory (PWD):         /home/guy/mes_dl/qc-usb-0.6.3
Kernel source directory (LINUX_DIR):   /lib/modules/2.6.10-5-386/build
Module install directory (MODULE_DIR): /lib/modules/2.6.10-5-386
Utility install directory (PREFIX):    /usr/local
User options (USER_OPT):
Driver file name (use with insmod):    quickcam.ko
Kernel version code:                   132618

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 ohci_hcd proc_intf freq_table cpufreq_userspace cpufreq_ondemand cpufreq_powersave autofs4 video sony_acpi pcc_acpi button battery container ac radeon drm usblp ipv6 via_rhine mii i2c_viapro i2c_core ehci_hcd uhci_hcd usbcore snd_ens1371 snd_rawmidi snd_seq_device snd_ac97_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd soundcore snd_page_alloc gameport pci_hotplug via_agp agpgart floppy pcspkr rtc md dm_mod evdev capability tsdev commoncap psmouse mousedev parport_pc lp parport ide_cd cdrom ext3 jbd ide_generic via82cxxx ide_disk ide_core unix thermal processor fan fbcon font bitblit vesafb cfbcopyarea cfbimgblt cfbfillrect

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:
Bus 004 Device 002: ID 046d:0870 Logitech, Inc. QuickCam Express

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.10-5-386/build" SUBDIRS="/home/guy/mes_dl/qc-usb-0.6.3" modules V=1 USER_OPT=""
/usr/src/linux-headers-2.6.10-5-386/scripts/gcc-version.sh: line 11: gcc: command not found
/usr/src/linux-headers-2.6.10-5-386/scripts/gcc-version.sh: line 12: gcc: command not found
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.10-5-386 »
mkdir -p /home/guy/mes_dl/qc-usb-0.6.3/.tmp_versions
make -f scripts/Makefile.build obj=/home/guy/mes_dl/qc-usb-0.6.3
  gcc -Wp,-MD,/home/guy/mes_dl/qc-usb-0.6.3/.qc-driver.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os     -fomit-frame-pointer -pipe -msoft-float   -march=i386 -Iinclude/asm-i386/mach-default  -DNOKERNEL   -DMODULE -DKBUILD_BASENAME=qc_driver -DKBUILD_MODNAME=quickcam -c -o /home/guy/mes_dl/qc-usb-0.6.3/.tmp_qc-driver.o /home/guy/mes_dl/qc-usb-0.6.3/qc-driver.c
/bin/sh: gcc: command not found
make[2]: *** [/home/guy/mes_dl/qc-usb-0.6.3/qc-driver.o] Erreur 127
make[1]: *** [_module_/home/guy/mes_dl/qc-usb-0.6.3] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.10-5-386 »
make: *** [quickcam.ko] Erreur 2
ls: quickcam.ko: Aucun fichier ou répertoire de ce type
[!] 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 --->

[!] Looks like compilation of the utility programs failed.
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 --->


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: can't read './quickcam.ko': No such file or directory
=== Leaving root mode ===
[!] 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 --->

./quickcam.sh: line 732: ./qcset: Aucun fichier ou répertoire de ce type
[!] 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 ""
./quickcam.sh: line 753: xawtv: command not found

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 ===
make -C "/lib/modules/2.6.10-5-386/build" SUBDIRS="/home/guy/mes_dl/qc-usb-0.6.3" modules V=1 USER_OPT=""
/usr/src/linux-headers-2.6.10-5-386/scripts/gcc-version.sh: line 11: gcc: command not found
/usr/src/linux-headers-2.6.10-5-386/scripts/gcc-version.sh: line 12: gcc: command not found
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.10-5-386 »
mkdir -p /home/guy/mes_dl/qc-usb-0.6.3/.tmp_versions
make -f scripts/Makefile.build obj=/home/guy/mes_dl/qc-usb-0.6.3
  gcc -Wp,-MD,/home/guy/mes_dl/qc-usb-0.6.3/.qc-driver.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os     -fomit-frame-pointer -pipe -msoft-float   -march=i386 -Iinclude/asm-i386/mach-default  -DNOKERNEL   -DMODULE -DKBUILD_BASENAME=qc_driver -DKBUILD_MODNAME=quickcam -c -o /home/guy/mes_dl/qc-usb-0.6.3/.tmp_qc-driver.o /home/guy/mes_dl/qc-usb-0.6.3/qc-driver.c
/bin/sh: gcc: command not found
make[2]: *** [/home/guy/mes_dl/qc-usb-0.6.3/qc-driver.o] Erreur 127
make[1]: *** [_module_/home/guy/mes_dl/qc-usb-0.6.3] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.10-5-386 »
make: *** [quickcam.ko] Erreur 2
=== Leaving root mode ===
[!] Module install failed to /lib/modules/2.6.10-5-386/misc/quickcam.ko
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 --->

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

Fonctionne tourjours pas, j'ais une erreur 2

Merci de m'aider
@+
Guy

Hors ligne

#6 Le 30/05/2005, à 17:50

Guy

Re : [Résolu]Quickcam Express de Logitech

Ok, j'ai réussi, il me manquait gcc. J'ai relancé la commande ./quickcam.sh et c'est partie.
Merci a toi guiguilinux

wink
Guy

Hors ligne

#7 Le 17/06/2005, à 21:17

flo

Re : [Résolu]Quickcam Express de Logitech

et euh, quand au cours du script, il ne reconnait pas la webcam, alors que lsusb montre bien son existence :

lsusb
Bus 003 Device 002: ID 059b:0053 Iomega Corp. CDRW55292EXT CD-RW External Drive
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 003: ID 046d:08f0 Logitech, Inc.
Bus 001 Device 001: ID 0000:0000

?

florent

#8 Le 08/07/2005, à 18:18

olivir

Re : [Résolu]Quickcam Express de Logitech

Ah tiens on a le même modèle florent : une logitech quickcam messenger non ?

moi çà a fini par marcher ...

Dernière modification par olivir (Le 08/07/2005, à 18:22)


Olivier
"Le voleur parti
n'a oublié qu'une chose
la lune à la fenêtre."

Hors ligne

#9 Le 12/07/2005, à 17:02

Amelaye

Re : [Résolu]Quickcam Express de Logitech

Bonjour,

Bon mon probleme majeur est qu'il ne trouve pas le versions.o, le pire étant que meme avec apt-get ça plante !!! mad:mad: