Pages : 1
#1 Le 26/09/2005, à 10:58
- jap
webcam logitech probleme
bonjour.
voila, je n'arrive pas a installer ma webcam logitech :
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 004: ID 046d:c01d Logitech, Inc.
Bus 002 Device 003: ID 03f0:3a02 Hewlett-Packard
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 002: ID 046d:0850 Logitech, Inc. QuickCam Web
Bus 001 Device 001: ID 0000:0000
sinon :
jap@desktop:~$ v4l-conf
v4l-conf: using X11 display :0.0
WARNING: v4l-conf is compiled without DGA support.
mode: 1280x1024, depth=24, bpp=32, bpl=5120, base=unknown
can't open /dev/video0: No such device
ainsi que:
jap@desktop:~$ xawtv
This is xawtv-3.94, running on Linux/i686 (2.6.10-5-386)
WARNING: v4l-conf is compiled without DGA support.
can't open /dev/video0: No such device
v4l-conf had some trouble, trying to continue anyway
v4l2: open /dev/video0: Aucun périphérique de ce type
v4l2: open /dev/video0: Aucun périphérique de ce type
v4l: open /dev/video0: Aucun périphérique de ce type
no video grabber device available
pourtant je suis le wiki...
aidez moi svp !!!!
merci
Dernière modification par jap (Le 26/09/2005, à 11:10)
A compléter ...
Hors ligne
#2 Le 26/09/2005, à 12:57
- kaskooy
Re : webcam logitech probleme
J'ai une logitech aussi. En Hoary : impossible de la faire marcher... Sur Breezy : tout nickel en natif
Plus ça rate, et plus on a de chances que ça marche
Platanax
Hors ligne
#3 Le 26/09/2005, à 14:46
- PDemong
Re : webcam logitech probleme
Bizarre, aurais-tu redémarrer ton système ? Dans le wiki, tu dois créer un périph video, mais on dirait que tu ne l'as plus :
can't open /dev/video0: No such device
Vérifie qu'il est toujours là. Sinon, avec Hoary, j'ai moi-aussi des problèmes de webcam : un coup elle marche nickel, je fais du aMSN sans problème, et le lendemain plus rien... comme si mon module V4L marchait mal. Peut-être Breezy nous apportera une solution durable pour plusieurs d'entre nous...
Hors ligne
#4 Le 26/09/2005, à 15:20
- nehuzel
Re : webcam logitech probleme
pour le moment breezy n'apporte pas de solution, j'ai le même message que jap même quand je recrée à 0 les periph...
Pour le moment je dirais bug... (je suis en pleine recherche de bug dans bugzilla là)
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 26/09/2005, à 15:28
- jap
Re : webcam logitech probleme
salut PDemong puis-je prendre contact avec toi sur msn si possible ??tu as l'air calé....
A compléter ...
Hors ligne
#6 Le 26/09/2005, à 20:06
- jap
Re : webcam logitech probleme
petit up...
A compléter ...
Hors ligne
#7 Le 27/09/2005, à 17:57
- jap
Re : webcam logitech probleme
voila le résultat du script quickcam.sh :
jap@desktop:/usr/src/qc-usb-messenger-0.8$ sudo ./quickcam.sh
Password:
-=- 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/X11R6/bin/xdpyinfo
/bin/dmesg
/usr/bin/wc
/bin/readlink
gcc version: version gcc 3.3.5 (Debian 1:3.3.5-8ubuntu2)
gcc version: version gcc 3.3.5 (Debian 1:3.3.5-8ubuntu2)
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): /usr/src/qc-usb-messenger-0.8
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:
snd_usb_audio snd_usb_lib snd_rawmidi snd_seq_device videodev uhci_hcd proc_intf freq_table cpufreq_userspace cpufreq_ondemand cpufreq_powersave video sony_acpi pcc_acpi button battery container ac ipv6 ohci1394 aic7xxx shpchp pci_hotplug tsdev snd_intel8x0 snd_ac97_codec snd_pcm_oss usbhid snd_mixer_oss snd_pcm snd_timer usblp snd soundcore snd_page_alloc forcedeth ehci_hcd ohci_hcd usbcore i2c_nforce2 i2c_core analog gameport floppy pcspkr rtc evdev nls_utf8 nls_cp850 vfat fat nls_cp437 ntfs md dm_mod capability commoncap sr_mod sbp2 scsi_mod ieee1394 psmouse mousedev parport_pc lp parport ide_cd cdrom fglrx nvidia_agp agpgart ext3 jbd ide_generic ide_disk amd74xx 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 001 Device 002: ID 046d:0850 Logitech, Inc. QuickCam Web
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 « /usr/src/qc-usb-messenger-0.8/testquickcam »
rm -f testquickcam *~ pic.ppm pic.gif
make[1]: quittant le répertoire « /usr/src/qc-usb-messenger-0.8/testquickcam »
make -C "/lib/modules/2.6.10-5-386/build" SUBDIRS="/usr/src/qc-usb-messenger-0.8" modules V=1 USER_OPT=""
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.10-5-386 »
mkdir -p /usr/src/qc-usb-messenger-0.8/.tmp_versions
make -f scripts/Makefile.build obj=/usr/src/qc-usb-messenger-0.8
gcc -Wp,-MD,/usr/src/qc-usb-messenger-0.8/.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 -mpreferred-stack-boundary=2 -march=i386 -Iinclude/asm-i386/mach-default -DNOKERNEL -DMODULE -DKBUILD_BASENAME=qc_driver -DKBUILD_MODNAME=quickcam -c -o /usr/src/qc-usb-messenger-0.8/.tmp_qc-driver.o /usr/src/qc-usb-messenger-0.8/qc-driver.c
gcc -Wp,-MD,/usr/src/qc-usb-messenger-0.8/.qc-vv6450.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 -mpreferred-stack-boundary=2 -march=i386 -Iinclude/asm-i386/mach-default -DNOKERNEL -DMODULE -DKBUILD_BASENAME=qc_vv6450 -DKBUILD_MODNAME=quickcam -c -o /usr/src/qc-usb-messenger-0.8/.tmp_qc-vv6450.o /usr/src/qc-usb-messenger-0.8/qc-vv6450.c
gcc -Wp,-MD,/usr/src/qc-usb-messenger-0.8/.qc-formats.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 -mpreferred-stack-boundary=2 -march=i386 -Iinclude/asm-i386/mach-default -DNOKERNEL -DMODULE -DKBUILD_BASENAME=qc_formats -DKBUILD_MODNAME=quickcam -c -o /usr/src/qc-usb-messenger-0.8/.tmp_qc-formats.o /usr/src/qc-usb-messenger-0.8/qc-formats.c
gcc -Wp,-MD,/usr/src/qc-usb-messenger-0.8/.qc-memory.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 -mpreferred-stack-boundary=2 -march=i386 -Iinclude/asm-i386/mach-default -DNOKERNEL -DMODULE -DKBUILD_BASENAME=qc_memory -DKBUILD_MODNAME=quickcam -c -o /usr/src/qc-usb-messenger-0.8/.tmp_qc-memory.o /usr/src/qc-usb-messenger-0.8/qc-memory.c
/usr/src/qc-usb-messenger-0.8/qc-memory.c: Dans la fonction « qc_mm_remap »:
/usr/src/qc-usb-messenger-0.8/qc-memory.c:233: attention : `remap_page_range' is deprecated (declared at include/linux/mm.h:773)
ld -m elf_i386 -r -o /usr/src/qc-usb-messenger-0.8/quickcam.o /usr/src/qc-usb-messenger-0.8/qc-driver.o /usr/src/qc-usb-messenger-0.8/qc-vv6450.o /usr/src/qc-usb-messenger-0.8/qc-formats.o /usr/src/qc-usb-messenger-0.8/qc-memory.o
Building modules, stage 2.
make -rR -f /usr/src/linux-headers-2.6.10-5-386/scripts/Makefile.modpost
scripts/mod/modpost -m -a -i /usr/src/linux-headers-2.6.10-5-386/Module.symvers /usr/src/qc-usb-messenger-0.8/quickcam.o
gcc -Wp,-MD,/usr/src/qc-usb-messenger-0.8/.quickcam.mod.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 -mpreferred-stack-boundary=2 -march=i386 -Iinclude/asm-i386/mach-default -DKBUILD_BASENAME=quickcam -DKBUILD_MODNAME=quickcam -DMODULE -c -o /usr/src/qc-usb-messenger-0.8/quickcam.mod.o /usr/src/qc-usb-messenger-0.8/quickcam.mod.c
ld -m elf_i386 -r -o /usr/src/qc-usb-messenger-0.8/quickcam.ko /usr/src/qc-usb-messenger-0.8/quickcam.o /usr/src/qc-usb-messenger-0.8/quickcam.mod.o
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.10-5-386 »
gcc -Wall -O2 -s qcset.c -o qcset -lm
gcc -Wall -O2 -s input_read.c -o input_read
-rw-r--r-- 1 root root 127427 2005-09-27 18:54 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...
=== Leaving root mode ===
The driver detected the following supported cameras:
quickcam [55.260838]: ----------LOADING QUICKCAM MODULE------------
quickcam [55.260848]: struct quickcam size: 3900
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 file or directory)
[!] 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.10-5-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.10-5-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...
a noter:
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...
=== Leaving root mode ===
The driver detected the following supported cameras:
quickcam [55.260838]: ----------LOADING QUICKCAM MODULE------------
quickcam [55.260848]: struct quickcam size: 3900
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 --->
vous en pensez quoi svp ???
PS: ma copine s'impatiente de pas pouvoir me voir...:lol::lol::lol::lol::lol:
A compléter ...
Hors ligne
#8 Le 28/09/2005, à 03:08
- PDemong
Re : webcam logitech probleme
Tu as noté une bonne section, mais en fait quelques lignes plus loin tu as je pense l'explication :
./qcset: can not open /dev/video0 (No such file or directory)
D'après ce que je lis, je te conseille de vérifier / faire les points suivants :
- avant de lancer quickcam.sh, vérifie l'existence de ton périph vidéo (/dev/video devrait être un lien symbolique vers /dev/video0 que tu auras au préalable créé, voir le wiki pour plus d'info)
- lance le programme ./quickcam.sh sans faire "sudo". Comme indiqué dans le log à plusieurs reprises, il est plutôt conseillé de rouler ce script comme "jap". Par contre, vérifie AVANT que tu possèdes le mot de passe root. Suis cette procédure dans le wiki en cas de problème.
Hors ligne
Pages : 1