Pages : 1
#1 Le 14/01/2010, à 16:47
- ânebatté
webcam logitech
ma webcam une logitech pro 4000 n'est pas reconnue sous ubuntu 9.10 j'ai fait des recherches mais je dois être idiot je ne vois rien qui puisse me mettre sur la bonne voie.
j'ai fais quelques tests et autres manipulation voilà ou j'en suis.
escande@escande-laptop:~$ gstreamer-properties
gstreamer-properties-Message: Skipping unavailable plugin 'artsdsink'
gstreamer-properties-Message: Skipping unavailable plugin 'esdsink'
gstreamer-properties-Message: Skipping unavailable plugin 'glimagesink'
gstreamer-properties-Message: Skipping unavailable plugin 'sdlvideosink'
gstreamer-properties-Message: Skipping unavailable plugin 'v4lmjpegsrc'
gstreamer-properties-Message: Skipping unavailable plugin 'qcamsrc'
gstreamer-properties-Message: Skipping unavailable plugin 'esdmon'
gstreamer-properties-Message: Error running pipeline 'Video for Linux (v4l)': Le périphérique « /dev/video0 » n'existe pas. [v4l_calls.c(168): gst_v4l_open (): /GstPipeline:pipeline3/GstV4lSrc:v4lsrc3]
gstreamer-properties-Message: Error running pipeline 'Video for Linux 2 (v4l2)': Impossible d'identifier le périphérique « /dev/video0 ». [v4l2_calls.c(482): gst_v4l2_open (): /GstPipeline:pipeline4/GstV4l2Src:v4l2src2:
system error: Aucun fichier ou dossier de ce type]
escande@escande-laptop:~$ ls
Bureau examples.desktop Music pwc-10.0.12-rc1
Desktop Images Musique pwc-10.0.12-rc1.tar.bz2
Documents Liste de lecture.pls Pictures Téléchargements
dwhelper Modèles Public Vidéos
escande@escande-laptop:~$ cd pwc-10.0.12-rc1
escande@escande-laptop:~/pwc-10.0.12-rc1$ make
make -C /lib/modules/2.6.31-17-generic/build SUBDIRS=/home/escande/pwc-10.0.12-rc1 modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.31-17-generic »
CC [M] /home/escande/pwc-10.0.12-rc1/pwc-if.o
In file included from /home/escande/pwc-10.0.12-rc1/pwc-if.c:69:
/home/escande/pwc-10.0.12-rc1/pwc.h:28:26: error: linux/config.h: Aucun fichier ou dossier de ce type
/home/escande/pwc-10.0.12-rc1/pwc.h:37:27: error: asm/semaphore.h: Aucun fichier ou dossier de ce type
/home/escande/pwc-10.0.12-rc1/pwc-if.c:166: error: variable ‘pwc_template’ has initializer but incomplete type
/home/escande/pwc-10.0.12-rc1/pwc-if.c:167: error: unknown field ‘owner’ specified in initializer
/home/escande/pwc-10.0.12-rc1/pwc-if.c:167: warning: excess elements in struct initializer
/home/escande/pwc-10.0.12-rc1/pwc-if.c:167: warning: (near initialization for ‘pwc_template’)
/home/escande/pwc-10.0.12-rc1/pwc-if.c:168: error: unknown field ‘name’ specified in initializer
/home/escande/pwc-10.0.12-rc1/pwc-if.c:168: warning: excess elements in struct initializer
/home/escande/pwc-10.0.12-rc1/pwc-if.c:168: warning: (near initialization for ‘pwc_template’)
/home/escande/pwc-10.0.12-rc1/pwc-if.c:169: error: unknown field ‘type’ specified in initializer
/home/escande/pwc-10.0.12-rc1/pwc-if.c:169: warning: excess elements in struct initializer
/home/escande/pwc-10.0.12-rc1/pwc-if.c:169: warning: (near initialization for ‘pwc_template’)
/home/escande/pwc-10.0.12-rc1/pwc-if.c:170: error: unknown field ‘hardware’ specified in initializer
/home/escande/pwc-10.0.12-rc1/pwc-if.c:170: error: ‘VID_HARDWARE_PWC’ undeclared here (not in a function)
/home/escande/pwc-10.0.12-rc1/pwc-if.c:170: warning: excess elements in struct initializer
/home/escande/pwc-10.0.12-rc1/pwc-if.c:170: warning: (near initialization for ‘pwc_template’)
/home/escande/pwc-10.0.12-rc1/pwc-if.c:171: error: unknown field ‘release’ specified in initializer
/home/escande/pwc-10.0.12-rc1/pwc-if.c:171: error: ‘video_device_release’ undeclared here (not in a function)
/home/escande/pwc-10.0.12-rc1/pwc-if.c:171: warning: excess elements in struct initializer
/home/escande/pwc-10.0.12-rc1/pwc-if.c:171: warning: (near initialization for ‘pwc_template’)
/home/escande/pwc-10.0.12-rc1/pwc-if.c:172: error: unknown field ‘fops’ specified in initializer
/home/escande/pwc-10.0.12-rc1/pwc-if.c:172: warning: excess elements in struct initializer
/home/escande/pwc-10.0.12-rc1/pwc-if.c:172: warning: (near initialization for ‘pwc_template’)
/home/escande/pwc-10.0.12-rc1/pwc-if.c:173: error: unknown field ‘minor’ specified in initializer
/home/escande/pwc-10.0.12-rc1/pwc-if.c:173: warning: excess elements in struct initializer
/home/escande/pwc-10.0.12-rc1/pwc-if.c:173: warning: (near initialization for ‘pwc_template’)
/home/escande/pwc-10.0.12-rc1/pwc-if.c: In function ‘pwc_isoc_init’:
/home/escande/pwc-10.0.12-rc1/pwc-if.c:921: warning: assignment from incompatible pointer type
/home/escande/pwc-10.0.12-rc1/pwc-if.c: At top level:
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1017: warning: ‘struct class_device’ declared inside parameter list
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1017: warning: its scope is only this definition or declaration, which is probably not what you want
/home/escande/pwc-10.0.12-rc1/pwc-if.c: In function ‘cd_to_pwc’:
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1019: error: implicit declaration of function ‘to_video_device’
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1019: warning: initialization makes pointer from integer without a cast
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1020: error: implicit declaration of function ‘video_get_drvdata’
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1020: warning: return makes pointer from integer without a cast
/home/escande/pwc-10.0.12-rc1/pwc-if.c: At top level:
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1023: warning: ‘struct class_device’ declared inside parameter list
/home/escande/pwc-10.0.12-rc1/pwc-if.c: In function ‘show_pan_tilt’:
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1025: warning: passing argument 1 of ‘cd_to_pwc’ from incompatible pointer type
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1017: note: expected ‘struct class_device *’ but argument is of type ‘struct class_device *’
/home/escande/pwc-10.0.12-rc1/pwc-if.c: At top level:
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1030: warning: ‘struct class_device’ declared inside parameter list
/home/escande/pwc-10.0.12-rc1/pwc-if.c: In function ‘store_pan_tilt’:
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1032: warning: passing argument 1 of ‘cd_to_pwc’ from incompatible pointer type
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1017: note: expected ‘struct class_device *’ but argument is of type ‘struct class_device *’
/home/escande/pwc-10.0.12-rc1/pwc-if.c: At top level:
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1046: error: expected ‘)’ before ‘(’ token
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1049: warning: ‘struct class_device’ declared inside parameter list
/home/escande/pwc-10.0.12-rc1/pwc-if.c: In function ‘show_snapshot_button_status’:
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1051: warning: passing argument 1 of ‘cd_to_pwc’ from incompatible pointer type
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1017: note: expected ‘struct class_device *’ but argument is of type ‘struct class_device *’
/home/escande/pwc-10.0.12-rc1/pwc-if.c: At top level:
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1057: error: expected ‘)’ before ‘(’ token
/home/escande/pwc-10.0.12-rc1/pwc-if.c: In function ‘pwc_create_sysfs_files’:
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1062: warning: initialization makes pointer from integer without a cast
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1064: error: implicit declaration of function ‘video_device_create_file’
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1064: error: ‘class_device_attr_pan_tilt’ undeclared (first use in this function)
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1064: error: (Each undeclared identifier is reported only once
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1064: error: for each function it appears in.)
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1065: error: ‘class_device_attr_button’ undeclared (first use in this function)
/home/escande/pwc-10.0.12-rc1/pwc-if.c: In function ‘pwc_remove_sysfs_files’:
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1070: warning: initialization makes pointer from integer without a cast
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1072: error: implicit declaration of function ‘video_device_remove_file’
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1072: error: ‘class_device_attr_pan_tilt’ undeclared (first use in this function)
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1073: error: ‘class_device_attr_button’ undeclared (first use in this function)
/home/escande/pwc-10.0.12-rc1/pwc-if.c: In function ‘pwc_video_open’:
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1112: error: implicit declaration of function ‘video_devdata’
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1112: warning: initialization makes pointer from integer without a cast
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1117: error: dereferencing pointer to incomplete type
/home/escande/pwc-10.0.12-rc1/pwc-if.c: In function ‘pwc_video_close’:
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1231: error: dereferencing pointer to incomplete type
/home/escande/pwc-10.0.12-rc1/pwc-if.c: In function ‘pwc_video_read’:
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1292: error: dereferencing pointer to incomplete type
/home/escande/pwc-10.0.12-rc1/pwc-if.c: In function ‘pwc_video_poll’:
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1359: error: dereferencing pointer to incomplete type
/home/escande/pwc-10.0.12-rc1/pwc-if.c: In function ‘pwc_video_ioctl’:
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1375: error: implicit declaration of function ‘video_usercopy’
/home/escande/pwc-10.0.12-rc1/pwc-if.c: In function ‘pwc_video_mmap’:
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1388: error: dereferencing pointer to incomplete type
/home/escande/pwc-10.0.12-rc1/pwc-if.c: In function ‘usb_pwc_probe’:
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1722: error: implicit declaration of function ‘video_device_alloc’
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1722: warning: assignment makes pointer from integer without a cast
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1729: error: invalid application of ‘sizeof’ to incomplete type ‘struct video_device’
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1730: error: dereferencing pointer to incomplete type
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1731: error: dereferencing pointer to incomplete type
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1732: error: dereferencing pointer to incomplete type
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1733: error: implicit declaration of function ‘video_set_drvdata’
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1756: error: dereferencing pointer to incomplete type
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1757: error: implicit declaration of function ‘video_register_device’
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1757: error: ‘VFL_TYPE_GRABBER’ undeclared (first use in this function)
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1760: error: implicit declaration of function ‘video_device_release’
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1765: error: dereferencing pointer to incomplete type
/home/escande/pwc-10.0.12-rc1/pwc-if.c: In function ‘usb_pwc_disconnect’:
/home/escande/pwc-10.0.12-rc1/pwc-if.c:1819: error: implicit declaration of function ‘video_unregister_device’
make[2]: *** [/home/escande/pwc-10.0.12-rc1/pwc-if.o] Erreur 1
make[1]: *** [_module_/home/escande/pwc-10.0.12-rc1] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.31-17-generic »
make: *** [all] Erreur 2
escande@escande-laptop:~/pwc-10.0.12-rc1$
Hors ligne
#2 Le 15/01/2010, à 12:38
- Stemp
Re : webcam logitech
Salut,
Laisse tomber pwc c'est obsolète.
Tu pourrais donner les références exactes de ta webcam (utilise la commade lsusb)
ex : chez moi
Bus 004 Device 002: ID 046d:08a2 Logitech, Inc. Labtec WebCam Pro
Dernière modification par Stemp (Le 15/01/2010, à 15:27)
«La violence n'a jamais rien réglé» Gengis Khan 1162-1227
Blog | Crunchbang Linux | Arch Linux
Hors ligne
#3 Le 15/01/2010, à 15:33
- Stemp
Re : webcam logitech
Je confirme, le sous-driver pwc fait parti du driver gspcav2 intégré dans le noyau.
Ta webcam est donc normalement reconnue automatiquement .
102 { USB_DEVICE(0x046D, 0x08B2) }, /* Logitech QuickCam Pro 4000 */
«La violence n'a jamais rien réglé» Gengis Khan 1162-1227
Blog | Crunchbang Linux | Arch Linux
Hors ligne
#4 Le 16/01/2010, à 11:14
- ânebatté
Re : webcam logitech
Salut,
Laisse tomber pwc c'est obsolète.
Tu pourrais donner les références exactes de ta webcam (utilise la commade lsusb)
ex : chez moi
Bus 004 Device 002: ID 046d:08a2 Logitech, Inc. Labtec WebCam Pro
voilà ce que j'obtiens avec la commande lsusb
escande@escande-laptop:~$ lsusb
Bus 001 Device 002: ID 05e3:0702 Genesys Logic, Inc. USB 2.0 IDE Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 046d:08b2 Logitech, Inc. QuickCam Pro 4000
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
escande@escande-laptop:~$
Hors ligne
#5 Le 16/01/2010, à 14:29
- Stemp
Re : webcam logitech
Bus 003 Device 002: ID 046d:08b2 Logitech, Inc. QuickCam Pro 4000
C'est bien le bon modèle, elle devrait être reconnue automatiquement par le driver gspca-pwc.
Débranche puis rebranche ta webcam, et affiche les derniers messages du syslog.
tail /var/log/syslog
«La violence n'a jamais rien réglé» Gengis Khan 1162-1227
Blog | Crunchbang Linux | Arch Linux
Hors ligne
#6 Le 16/01/2010, à 17:50
- ânebatté
Re : webcam logitech
Bus 003 Device 002: ID 046d:08b2 Logitech, Inc. QuickCam Pro 4000
C'est bien le bon modèle, elle devrait être reconnue automatiquement par le driver gspca-pwc.
Débranche puis rebranche ta webcam, et affiche les derniers messages du syslog.
tail /var/log/syslog
escande@escande-laptop:~$ tail /var/log/syslog
Jan 16 16:39:58 escande-laptop kernel: [ 719.105613] atkbd.c: Use 'setkeycodes e060 <keycode>' to make it known.
Jan 16 16:40:13 escande-laptop wpa_supplicant[900]: CTRL-EVENT-SCAN-RESULTS
Jan 16 16:41:13 escande-laptop wpa_supplicant[900]: CTRL-EVENT-SCAN-RESULTS
Jan 16 16:42:33 escande-laptop wpa_supplicant[900]: CTRL-EVENT-SCAN-RESULTS
Jan 16 16:44:13 escande-laptop wpa_supplicant[900]: CTRL-EVENT-SCAN-RESULTS
Jan 16 16:46:13 escande-laptop wpa_supplicant[900]: CTRL-EVENT-SCAN-RESULTS
Jan 16 16:47:28 escande-laptop kernel: [ 1169.000066] usb 3-1: new full speed USB device using ohci_hcd and address 2
Jan 16 16:47:28 escande-laptop kernel: [ 1169.279646] usb 3-1: configuration #1 chosen from 1 choice
Jan 16 16:47:28 escande-laptop kernel: [ 1169.724572] usbcore: registered new interface driver snd-usb-audio
Jan 16 16:48:13 escande-laptop wpa_supplicant[900]: CTRL-EVENT-SCAN-RESULTS
escande@escande-laptop:~$
Hors ligne
#7 Le 16/01/2010, à 19:33
- Stemp
Re : webcam logitech
Jan 16 16:47:28 escande-laptop kernel: [ 1169.000066] usb 3-1: new full speed USB device using ohci_hcd and address 2
Jan 16 16:47:28 escande-laptop kernel: [ 1169.279646] usb 3-1: configuration #1 chosen from 1 choice
Jan 16 16:47:28 escande-laptop kernel: [ 1169.724572] usbcore: registered new interface driver snd-usb-audio
Ah bah non, il ne monte pas le driver Mais il reconnait le microphone de la webcam
Tu peux installer la dernière version des drivers ? cf l'article Karmic : récupérer les derniers drivers pour gspca, uvc, usbvideo et autres sur mon blog pour tester.
«La violence n'a jamais rien réglé» Gengis Khan 1162-1227
Blog | Crunchbang Linux | Arch Linux
Hors ligne
#8 Le 17/01/2010, à 10:33
- ânebatté
Re : webcam logitech
Jan 16 16:47:28 escande-laptop kernel: [ 1169.000066] usb 3-1: new full speed USB device using ohci_hcd and address 2 Jan 16 16:47:28 escande-laptop kernel: [ 1169.279646] usb 3-1: configuration #1 chosen from 1 choice Jan 16 16:47:28 escande-laptop kernel: [ 1169.724572] usbcore: registered new interface driver snd-usb-audio
Ah bah non, il ne monte pas le driver Mais il reconnait le microphone de la webcam
Tu peux installer la dernière version des drivers ? cf l'article Karmic : récupérer les derniers drivers pour gspca, uvc, usbvideo et autres sur mon blog pour tester.
Après avoir suivi ton tuto remarquable ,j'en suis toujours au même point la webcam n'est toujours pas reconnue et comme le montre ce qui suit le periphérique /dev/video0 n'existe pas.
escande@escande-laptop:~$ cd Vidéos
escande@escande-laptop:~/Vidéos$ ls
Liste de lecture.pls Webcam
escande@escande-laptop:~/Vidéos$ gstreamer-properties
gstreamer-properties-Message: Skipping unavailable plugin 'artsdsink'
gstreamer-properties-Message: Skipping unavailable plugin 'esdsink'
gstreamer-properties-Message: Skipping unavailable plugin 'glimagesink'
gstreamer-properties-Message: Skipping unavailable plugin 'sdlvideosink'
gstreamer-properties-Message: Skipping unavailable plugin 'v4lmjpegsrc'
gstreamer-properties-Message: Skipping unavailable plugin 'qcamsrc'
gstreamer-properties-Message: Skipping unavailable plugin 'esdmon'
gstreamer-properties-Message: Error running pipeline 'Video for Linux 2 (v4l2)': Impossible d'identifier le périphérique « /dev/video0 ». [v4l2_calls.c(482): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src3:
system error: Aucun fichier ou dossier de ce type]
escande@escande-laptop:~/Vidéos$
Hors ligne
#9 Le 17/01/2010, à 12:46
- Stemp
Re : webcam logitech
C'est surtout les messages systèmes lors du branchement qui sont intéressants pour l'instant.
donc :
dmesg | tail -30
Et on va quand même vérifier /dev/video0
ls -l /dev/video*
«La violence n'a jamais rien réglé» Gengis Khan 1162-1227
Blog | Crunchbang Linux | Arch Linux
Hors ligne
#10 Le 17/01/2010, à 18:49
- ânebatté
Re : webcam logitech
C'est surtout les messages systèmes lors du branchement qui sont intéressants pour l'instant.
donc :
dmesg | tail -30
Et on va quand même vérifier /dev/video0
ls -l /dev/video*
escande@escande-laptop:~$ ls -1 /dev/videp*
ls: ne peut accéder /dev/videp*: Aucun fichier ou dossier de ce type
escande@escande-laptop:~$
pour tout ce qui est photos ça marche ou ai-je fait une erreur
Hors ligne
#11 Le 17/01/2010, à 19:22
- Stemp
Re : webcam logitech
escande@escande-laptop:~$ ls -1 /dev/videp*
ls: ne peut accéder /dev/videp*: Aucun fichier ou dossier de ce type
escande@escande-laptop:~$
c'est LS -L (en minuscule) et c'video VIDEO pas videp
pour tout ce qui est photos ça marche ou ai-je fait une erreur
Je ne comprend pas. Pour les photos ça fonctionne ? Avec ta webcam ?
«La violence n'a jamais rien réglé» Gengis Khan 1162-1227
Blog | Crunchbang Linux | Arch Linux
Hors ligne
#12 Le 17/01/2010, à 19:52
- ânebatté
Re : webcam logitech
ânebatté a écrit :escande@escande-laptop:~$ ls -1 /dev/videp*
ls: ne peut accéder /dev/videp*: Aucun fichier ou dossier de ce type
escande@escande-laptop:~$c'est LS -L (en minuscule) et c'video VIDEO pas videp
ânebatté a écrit :pour tout ce qui est photos ça marche ou ai-je fait une erreur
Je ne comprend pas. Pour les photos ça fonctionne ? Avec ta webcam ?
oui pour les photos ça marche mais impossible d'enregistrer une vidéo
escande@escande-laptop:~$ ls -l /dev/video*
crw-rw----+ 1 root video 81, 0 2010-01-17 18:43 /dev/video0
escande@escande-laptop:~$
je suis vraiment un âne je te remercie pour ton aide
Hors ligne
#13 Le 17/01/2010, à 20:00
- Stemp
Re : webcam logitech
oui pour les photos ça marche mais impossible d'enregistrer une vidéo
Et tu fais comment pour avoir des photos ? Tu utilises quel programme ?
escande@escande-laptop:~$ ls -l /dev/video*
crw-rw----+ 1 root video 81, 0 2010-01-17 18:43 /dev/video0
escande@escande-laptop:~$
Déjà /dev/video0 existe, tu pourrais afficher le résultat de la commande dmesg après un débranchement/branchement ?
tail /var/log/syslog
je suis vraiment un âne je te remercie pour ton aide
Pour le coup c'est le système qui ne fonctionne pas correctement, ce n'est pas de ta faute
«La violence n'a jamais rien réglé» Gengis Khan 1162-1227
Blog | Crunchbang Linux | Arch Linux
Hors ligne
#14 Le 18/01/2010, à 07:15
- ânebatté
Re : webcam logitech
ânebatté a écrit :oui pour les photos ça marche mais impossible d'enregistrer une vidéo
Et tu fais comment pour avoir des photos ? Tu utilises quel programme ?
ânebatté a écrit :escande@escande-laptop:~$ ls -l /dev/video*
crw-rw----+ 1 root video 81, 0 2010-01-17 18:43 /dev/video0
escande@escande-laptop:~$Déjà /dev/video0 existe, tu pourrais afficher le résultat de la commande dmesg après un débranchement/branchement ?
tail /var/log/syslog
ânebatté a écrit :je suis vraiment un âne je te remercie pour ton aide
Pour le coup c'est le système qui ne fonctionne pas correctement, ce n'est pas de ta faute
Webcam non branchée
escande@escande-laptop:~$ tail /var/log/syslog
Jan 18 05:59:40 escande-laptop kernel: [ 75.490721] usbcore: registered new interface driver snd-usb-audio
Jan 18 05:59:44 escande-laptop wpa_supplicant[773]: CTRL-EVENT-SCAN-RESULTS
Jan 18 05:59:46 escande-laptop kernel: [ 80.920053] Clocksource tsc unstable (delta = -205215777 ns)
Jan 18 06:00:24 escande-laptop wpa_supplicant[773]: CTRL-EVENT-SCAN-RESULTS
Jan 18 06:01:24 escande-laptop wpa_supplicant[773]: CTRL-EVENT-SCAN-RESULTS
Jan 18 06:02:44 escande-laptop wpa_supplicant[773]: CTRL-EVENT-SCAN-RESULTS
Jan 18 06:03:21 escande-laptop kernel: [ 296.529949] usb 2-1: USB disconnect, address 2
Jan 18 06:03:44 escande-laptop anacron[1136]: Job `cron.daily' started
Jan 18 06:03:44 escande-laptop anacron[2026]: Updated timestamp for job `cron.daily' to 2010-01-18
Jan 18 06:04:24 escande-laptop wpa_supplicant[773]: CTRL-EVENT-SCAN-RESULTS
webcam branchée
escande@escande-laptop:~$ tail /var/log/syslog
Jan 18 06:02:44 escande-laptop wpa_supplicant[773]: CTRL-EVENT-SCAN-RESULTS
Jan 18 06:03:21 escande-laptop kernel: [ 296.529949] usb 2-1: USB disconnect, address 2
Jan 18 06:03:44 escande-laptop anacron[1136]: Job `cron.daily' started
Jan 18 06:03:44 escande-laptop anacron[2026]: Updated timestamp for job `cron.daily' to 2010-01-18
Jan 18 06:04:24 escande-laptop wpa_supplicant[773]: CTRL-EVENT-SCAN-RESULTS
Jan 18 06:05:02 escande-laptop kernel: [ 397.120071] usb 2-1: new full speed USB device using ohci_hcd and address 3
Jan 18 06:05:02 escande-laptop kernel: [ 397.402348] usb 2-1: configuration #1 chosen from 1 choice
Jan 18 06:05:02 escande-laptop kernel: [ 397.404415] pwc: Logitech QuickCam 4000 Pro USB webcam detected.
Jan 18 06:05:02 escande-laptop kernel: [ 397.404527] pwc: Registered as video0.
Jan 18 06:05:03 escande-laptop kernel: [ 397.781279] input: PWC snapshot button as /devices/pci0000:00/0000:00:13.0/usb2/2-1/input/input12
j'utilise CHEESE et je prends les photos avec ce programme par la webcam c'est là que je n'étonnes
Hors ligne
#15 Le 18/01/2010, à 11:28
- Stemp
Re : webcam logitech
Jan 18 06:05:02 escande-laptop kernel: [ 397.404415] pwc: Logitech QuickCam 4000 Pro USB webcam detected.
Jan 18 06:05:02 escande-laptop kernel: [ 397.404527] pwc: Registered as video0.
Jan 18 06:05:03 escande-laptop kernel: [ 397.781279] input: PWC snapshot button as /devices/pci0000:00/0000:00:13.0/usb2/2-1/input/input12
Ok donc maintenant la webcam est correctement reconnue \o/
j'utilise CHEESE et je prends les photos avec ce programme par la webcam c'est là que je n'étonnes
Donc tu te vois l'image de la webcam dans Cheese ?
«La violence n'a jamais rien réglé» Gengis Khan 1162-1227
Blog | Crunchbang Linux | Arch Linux
Hors ligne
#16 Le 18/01/2010, à 12:33
- ânebatté
Re : webcam logitech
Jan 18 06:05:02 escande-laptop kernel: [ 397.404415] pwc: Logitech QuickCam 4000 Pro USB webcam detected. Jan 18 06:05:02 escande-laptop kernel: [ 397.404527] pwc: Registered as video0. Jan 18 06:05:03 escande-laptop kernel: [ 397.781279] input: PWC snapshot button as /devices/pci0000:00/0000:00:13.0/usb2/2-1/input/input12
Ok donc maintenant la webcam est correctement reconnue \o/
j'utilise CHEESE et je prends les photos avec ce programme par la webcam c'est là que je n'étonnes
Donc tu te vois l'image de la webcam dans Cheese ?
oui je vois bien l'image de la webcam ou ça se corse c'est quand je veux enregistrer une vidéo à partir de la webcam là pas moyen je fais enregistrer une video puis arrêter l'enregistrement la la fenêtre de cheese se grise et plus rien je n'ai rien enregistrer ,si je fais sortie de cheese là il m'indique que les données seront perdues.
enfin je n'arrive pas à faire une vidéo à partir de cette webcam.
quand je lui demande d'enregistrer une vidéo j'ai une image fixe même quand je gesticule devant l'objectif.
Hors ligne
#17 Le 18/01/2010, à 12:36
- ânebatté
Re : webcam logitech
Stemp a écrit :Jan 18 06:05:02 escande-laptop kernel: [ 397.404415] pwc: Logitech QuickCam 4000 Pro USB webcam detected. Jan 18 06:05:02 escande-laptop kernel: [ 397.404527] pwc: Registered as video0. Jan 18 06:05:03 escande-laptop kernel: [ 397.781279] input: PWC snapshot button as /devices/pci0000:00/0000:00:13.0/usb2/2-1/input/input12
Ok donc maintenant la webcam est correctement reconnue \o/
j'utilise CHEESE et je prends les photos avec ce programme par la webcam c'est là que je n'étonnes
Donc tu te vois l'image de la webcam dans Cheese ?
oui je vois bien l'image de la webcam ou ça se corse c'est quand je veux enregistrer une vidéo à partir de la webcam là pas moyen je fais enregistrer une video puis arrêter l'enregistrement la la fenêtre de cheese se grise et plus rien je n'ai rien enregistrer ,si je fais sortie de cheese là il m'indique que les données seront perdues.
enfin je n'arrive pas à faire une vidéo à partir de cette webcam.
quand je lui demande d'enregistrer une vidéo j'ai une image fixe même quand je gesticule devant l'objectif.
avant que de demander l'enregistrement l'image est normale je me vois parlant à la caméra.
Hors ligne
#18 Le 18/01/2010, à 12:56
- Stemp
Re : webcam logitech
avant que de demander l'enregistrement l'image est normale je me vois parlant à la caméra.
Ok, donc la webcam est reconnue et fonctionnelle. Maintenant reste un bug soit du driver, soit de cheese/gstreamer.
Lance cheese dans un terminal et affiche les erreurs qui apparaissent quand tu essayes d'enregistrer la vidéo.
«La violence n'a jamais rien réglé» Gengis Khan 1162-1227
Blog | Crunchbang Linux | Arch Linux
Hors ligne
#19 Le 18/01/2010, à 14:24
- ânebatté
Re : webcam logitech
ânebatté a écrit :avant que de demander l'enregistrement l'image est normale je me vois parlant à la caméra.
Ok, donc la webcam est reconnue et fonctionnelle. Maintenant reste un bug soit du driver, soit de cheese/gstreamer.
Lance cheese dans un terminal et affiche les erreurs qui apparaissent quand tu essayes d'enregistrer la vidéo.
voilà ce que j'obtiens
escande@escande-laptop:~$ cheese
** (process:2123): WARNING **: Couldn't change nice value of process.
** (process:2125): WARNING **: Couldn't change nice value of process.
** (process:2126): WARNING **: Couldn't change nice value of process.
** (process:2128): WARNING **: Couldn't change nice value of process.
** (process:2133): WARNING **: Couldn't change nice value of process.
** Message: Error: Le flux ne contient aucune donnée.
gsttypefindelement.c(863): gst_type_find_element_activate (): /GstPlayBin2:play/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind:
Can't typefind empty stream
totem-video-thumbnailer couldn't open file 'file:///home/escande/Vid%C3%A9os/Webcam/2010-01-18-080555.ogv'
Reason: Le flux ne contient aucune donnée..
** (cheese:2119): WARNING **: could not generate thumbnail for /home/escande/Vidéos/Webcam/2010-01-18-080555.ogv (video/ogg)
** Message: Error: Le flux ne contient aucune donnée.
gsttypefindelement.c(863): gst_type_find_element_activate (): /GstPlayBin2:play/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind:
Can't typefind empty stream
totem-video-thumbnailer couldn't open file 'file:///home/escande/Vid%C3%A9os/Webcam/2010-01-18-080511.ogv'
Reason: Le flux ne contient aucune donnée..
** Message: Error: Le flux ne contient aucune donnée.
gsttypefindelement.c(863): gst_type_find_element_activate (): /GstPlayBin2:play/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind:
Can't typefind empty stream
totem-video-thumbnailer couldn't open file 'file:///home/escande/Vid%C3%A9os/Webcam/2010-01-18-075117.ogv'
Reason: Le flux ne contient aucune donnée..
** (cheese:2119): WARNING **: could not generate thumbnail for /home/escande/Vidéos/Webcam/2010-01-18-080511.ogv (video/ogg)
** (cheese:2119): WARNING **: could not generate thumbnail for /home/escande/Vidéos/Webcam/2010-01-18-075117.ogv (video/ogg)
** Message: Error: Le flux ne contient aucune donnée.
gsttypefindelement.c(863): gst_type_find_element_activate (): /GstPlayBin2:play/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind:
Can't typefind empty stream
totem-video-thumbnailer couldn't open file 'file:///home/escande/Vid%C3%A9os/Webcam/2010-01-18-113407.ogv'
Reason: Le flux ne contient aucune donnée..
** (cheese:2119): WARNING **: could not generate thumbnail for /home/escande/Vidéos/Webcam/2010-01-18-113407.ogv (video/ogg)
** Message: Error: Le flux ne contient aucune donnée.
gsttypefindelement.c(863): gst_type_find_element_activate (): /GstPlayBin2:play/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind:
Can't typefind empty stream
totem-video-thumbnailer couldn't open file 'file:///home/escande/Vid%C3%A9os/Webcam/2010-01-18-082727.ogv'
Reason: Le flux ne contient aucune donnée..
** (cheese:2119): WARNING **: could not generate thumbnail for /home/escande/Vidéos/Webcam/2010-01-18-082727.ogv (video/ogg)
Processus arrêté
escande@escande-laptop:~$
merci encore pour ton aide
Hors ligne
#20 Le 18/01/2010, à 23:11
- Stemp
Re : webcam logitech
gsttypefindelement.c(863): gst_type_find_element_activate (): /GstPlayBin2:play/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind:
Can't typefind empty stream
Bon... Je suis tenté de dire bug de gstreamer, mais sans convictions.
Je crains qu'il ne te faille te passer d'enregistrement vidéo pour le moment
«La violence n'a jamais rien réglé» Gengis Khan 1162-1227
Blog | Crunchbang Linux | Arch Linux
Hors ligne
#21 Le 19/01/2010, à 06:50
- ânebatté
Re : webcam logitech
gsttypefindelement.c(863): gst_type_find_element_activate (): /GstPlayBin2:play/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind:
Can't typefind empty streamBon... Je suis tenté de dire bug de gstreamer, mais sans convictions.
Je crains qu'il ne te faille te passer d'enregistrement vidéo pour le moment
c'est bien ce que je craignais
merci bonne journée
Hors ligne
#22 Le 20/01/2010, à 08:14
- ânebatté
Re : webcam logitech
Stemp a écrit :gsttypefindelement.c(863): gst_type_find_element_activate (): /GstPlayBin2:play/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind:
Can't typefind empty streamBon... Je suis tenté de dire bug de gstreamer, mais sans convictions.
Je crains qu'il ne te faille te passer d'enregistrement vidéo pour le momentc'est bien ce que je craignais
merci bonne journée
Bonjour ,
ça y est ma webcam fonctionne en fait si je n'avait pas fait une faute de frappe au début tout aurait fonctionné.
merci pour tout ,il me manquais libncurses5-dev ,je n'avais pas fait attention j'avais écrit libcurses5-dev sauf que je n'ai
pas de couleur ni sur les photos ni en vidéos
terminal---->cheese
esacande@esacande-laptop:~$ cheese
** (process:6459): WARNING **: Couldn't change nice value of process.
esacande@esacande-laptop:~$
Dernière modification par ânebatté (Le 20/01/2010, à 10:22)
Hors ligne
#23 Le 20/01/2010, à 19:19
- Stemp
Re : webcam logitech
@ânebatté : je n'ai pas tout compris. Ça fonctionne maintenant ?
Tu n'as pas de couleurs ? Si c'est bien ça le problème, tu as essayé de jouer avec les réglages dans Cheese (il y a aussi un filtre N&B d'ailleurs) ?
«La violence n'a jamais rien réglé» Gengis Khan 1162-1227
Blog | Crunchbang Linux | Arch Linux
Hors ligne
Pages : 1