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 21/05/2016, à 11:32

paulwoisard

[RESOLU] Problème webcam non détectée par cheese ou skype

Bonjour,

Ma webcam ne fonctionne pas, sur cheese et sur skype.

j'ai lancé quelques commandes :

~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
~$ lsmod | grep uvcvideo
uvcvideo               90112  0
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_v4l2         28672  1 uvcvideo
videobuf2_core         36864  2 uvcvideo,videobuf2_v4l2
videodev              176128  4 uvcvideo,v4l2_common,videobuf2_core,videobuf2_v4l2
media                  24576  2 uvcvideo,videodev
~$ ls /dev/video*
/dev/video0
~$ sudo mknod /dev/video0 c 81 0
mknod: /dev/video0: Le fichier existe
~$ sudo chmod 666 /dev/video0 
~$ sudo ln -s /dev/video0 /dev/video
~$ guvcview
GUVCVIEW: version 2.0.2
V4L2_CORE: ERROR opening V4L interface: Aucun périphérique ou adresse
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
~$ lspci
00:00.0 RAM memory: NVIDIA Corporation MCP65 Memory Controller (rev a3)
00:01.0 ISA bridge: NVIDIA Corporation MCP65 LPC Bridge (rev a3)
00:01.1 SMBus: NVIDIA Corporation MCP65 SMBus (rev a1)
00:01.3 Co-processor: NVIDIA Corporation MCP65 SMU (rev a1)
00:02.0 USB controller: NVIDIA Corporation MCP65 USB 1.1 OHCI Controller (rev a3)
00:02.1 USB controller: NVIDIA Corporation MCP65 USB 2.0 EHCI Controller (rev a3)
00:06.0 Ethernet controller: NVIDIA Corporation MCP65 Ethernet (rev a3)
00:07.0 Audio device: NVIDIA Corporation MCP65 High Definition Audio (rev a1)
00:08.0 PCI bridge: NVIDIA Corporation MCP65 PCI bridge (rev a1)
00:09.0 IDE interface: NVIDIA Corporation MCP65 IDE (rev a1)
00:0a.0 IDE interface: NVIDIA Corporation MCP65 SATA Controller (rev a3)
00:0b.0 PCI bridge: NVIDIA Corporation MCP65 PCI Express bridge (rev a1)
00:0c.0 PCI bridge: NVIDIA Corporation MCP65 PCI Express bridge (rev a1)
00:0d.0 PCI bridge: NVIDIA Corporation MCP65 PCI Express bridge (rev a1)
00:0e.0 PCI bridge: NVIDIA Corporation MCP65 PCI Express bridge (rev a1)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
03:00.0 Ethernet controller: Qualcomm Atheros AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01)
05:00.0 VGA compatible controller: NVIDIA Corporation G86M [GeForce 8400M GS] (rev a1)
07:05.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
07:05.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
07:05.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
07:05.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)
~$ dmesg | grep video
[   21.300571] Linux video capture interface: v2.00
[   22.528551] uvcvideo: Found UVC 1.00 device HP Webcam (0408:030c)
[   22.533134] usbcore: registered new interface driver uvcvideo
[  505.408969] Modules linked in: vmnet(OE) vmw_vsock_vmci_transport vsock vmw_vmci vmmon(OE) pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) drbg ansi_cprng ctr ccm nvidia_uvm(POE) nvidia(POE) uvcvideo videobuf2_vmalloc arc4 videobuf2_memops videobuf2_v4l2 snd_hda_codec_conexant videobuf2_core snd_hda_codec_generic v4l2_common videodev ath5k snd_hda_intel media snd_hda_codec snd_hda_core ath mac80211 snd_hwdep kvm_amd snd_pcm hp_wmi kvm sparse_keymap snd_seq_midi cfg80211 snd_seq_midi_event snd_rawmidi irqbypass snd_seq snd_seq_device r852 input_leds snd_timer joydev sm_common serio_raw drm nand k8temp snd edac_mce_amd nand_ecc soundcore edac_core nand_bch bch r592 nand_ids mtd memstick shpchp wmi i2c_nforce2 mac_hid squashfs binfmt_misc parport_pc ppdev lp parport autofs4 pata_acpi
[  505.409024]  psmouse firewire_ohci ahci libahci sdhci_pci pata_amd sdhci firewire_core forcedeth crc_itu_t fjes video
[  505.409104]  [<ffffffffc0533c42>] uvc_status_cleanup+0x42/0x50 [uvcvideo]
[  505.409108]  [<ffffffffc0529208>] uvc_delete+0x18/0x150 [uvcvideo]
[  505.409112]  [<ffffffffc0529413>] uvc_release+0x23/0x30 [uvcvideo]
[  505.409132]  [<ffffffffc04d682b>] v4l2_device_release+0xcb/0x100 [videodev]
[  505.409154]  [<ffffffffc04d5555>] v4l2_open+0x95/0x110 [videodev]
[  505.429645] Modules linked in: vmnet(OE) vmw_vsock_vmci_transport vsock vmw_vmci vmmon(OE) pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) drbg ansi_cprng ctr ccm nvidia_uvm(POE) nvidia(POE) uvcvideo videobuf2_vmalloc arc4 videobuf2_memops videobuf2_v4l2 snd_hda_codec_conexant videobuf2_core snd_hda_codec_generic v4l2_common videodev ath5k snd_hda_intel media snd_hda_codec snd_hda_core ath mac80211 snd_hwdep kvm_amd snd_pcm hp_wmi kvm sparse_keymap snd_seq_midi cfg80211 snd_seq_midi_event snd_rawmidi irqbypass snd_seq snd_seq_device r852 input_leds snd_timer joydev sm_common serio_raw drm nand k8temp snd edac_mce_amd nand_ecc soundcore edac_core nand_bch bch r592 nand_ids mtd memstick shpchp wmi i2c_nforce2 mac_hid squashfs binfmt_misc parport_pc ppdev lp parport autofs4 pata_acpi
[  505.429699]  psmouse firewire_ohci ahci libahci sdhci_pci pata_amd sdhci firewire_core forcedeth crc_itu_t fjes video
[  505.429775]  [<ffffffffc0533c42>] uvc_status_cleanup+0x42/0x50 [uvcvideo]
[  505.429779]  [<ffffffffc0529208>] uvc_delete+0x18/0x150 [uvcvideo]
[  505.429783]  [<ffffffffc0529413>] uvc_release+0x23/0x30 [uvcvideo]
[  505.429803]  [<ffffffffc04d682b>] v4l2_device_release+0xcb/0x100 [videodev]
[  505.429825]  [<ffffffffc04d5555>] v4l2_open+0x95/0x110 [videodev]
[  505.429892] Modules linked in: vmnet(OE) vmw_vsock_vmci_transport vsock vmw_vmci vmmon(OE) pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) drbg ansi_cprng ctr ccm nvidia_uvm(POE) nvidia(POE) uvcvideo videobuf2_vmalloc arc4 videobuf2_memops videobuf2_v4l2 snd_hda_codec_conexant videobuf2_core snd_hda_codec_generic v4l2_common videodev ath5k snd_hda_intel media snd_hda_codec snd_hda_core ath mac80211 snd_hwdep kvm_amd snd_pcm hp_wmi kvm sparse_keymap snd_seq_midi cfg80211 snd_seq_midi_event snd_rawmidi irqbypass snd_seq snd_seq_device r852 input_leds snd_timer joydev sm_common serio_raw drm nand k8temp snd edac_mce_amd nand_ecc soundcore edac_core nand_bch bch r592 nand_ids mtd memstick shpchp wmi i2c_nforce2 mac_hid squashfs binfmt_misc parport_pc ppdev lp parport autofs4 pata_acpi
[  505.429931]  psmouse firewire_ohci ahci libahci sdhci_pci pata_amd sdhci firewire_core forcedeth crc_itu_t fjes video
[  505.429992]  [<ffffffffc0533c42>] uvc_status_cleanup+0x42/0x50 [uvcvideo]
[  505.429996]  [<ffffffffc0529208>] uvc_delete+0x18/0x150 [uvcvideo]
[  505.430001]  [<ffffffffc0529413>] uvc_release+0x23/0x30 [uvcvideo]
[  505.430012]  [<ffffffffc04d682b>] v4l2_device_release+0xcb/0x100 [videodev]
[  505.430033]  [<ffffffffc04d5555>] v4l2_open+0x95/0x110 [videodev]
[  505.430082] Modules linked in: vmnet(OE) vmw_vsock_vmci_transport vsock vmw_vmci vmmon(OE) pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) drbg ansi_cprng ctr ccm nvidia_uvm(POE) nvidia(POE) uvcvideo videobuf2_vmalloc arc4 videobuf2_memops videobuf2_v4l2 snd_hda_codec_conexant videobuf2_core snd_hda_codec_generic v4l2_common videodev ath5k snd_hda_intel media snd_hda_codec snd_hda_core ath mac80211 snd_hwdep kvm_amd snd_pcm hp_wmi kvm sparse_keymap snd_seq_midi cfg80211 snd_seq_midi_event snd_rawmidi irqbypass snd_seq snd_seq_device r852 input_leds snd_timer joydev sm_common serio_raw drm nand k8temp snd edac_mce_amd nand_ecc soundcore edac_core nand_bch bch r592 nand_ids mtd memstick shpchp wmi i2c_nforce2 mac_hid squashfs binfmt_misc parport_pc ppdev lp parport autofs4 pata_acpi
[  505.430121]  psmouse firewire_ohci ahci libahci sdhci_pci pata_amd sdhci firewire_core forcedeth crc_itu_t fjes video
[  505.430181]  [<ffffffffc0533c42>] uvc_status_cleanup+0x42/0x50 [uvcvideo]
[  505.430185]  [<ffffffffc0529208>] uvc_delete+0x18/0x150 [uvcvideo]
[  505.430190]  [<ffffffffc0529413>] uvc_release+0x23/0x30 [uvcvideo]
[  505.430201]  [<ffffffffc04d682b>] v4l2_device_release+0xcb/0x100 [videodev]
[  505.430222]  [<ffffffffc04d5555>] v4l2_open+0x95/0x110 [videodev]
[  505.437337] Modules linked in: vmnet(OE) vmw_vsock_vmci_transport vsock vmw_vmci vmmon(OE) pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) drbg ansi_cprng ctr ccm nvidia_uvm(POE) nvidia(POE) uvcvideo videobuf2_vmalloc arc4 videobuf2_memops videobuf2_v4l2 snd_hda_codec_conexant videobuf2_core snd_hda_codec_generic v4l2_common videodev ath5k snd_hda_intel media snd_hda_codec snd_hda_core ath mac80211 snd_hwdep kvm_amd snd_pcm hp_wmi kvm sparse_keymap snd_seq_midi cfg80211 snd_seq_midi_event snd_rawmidi irqbypass snd_seq snd_seq_device r852 input_leds snd_timer joydev sm_common serio_raw drm nand k8temp snd edac_mce_amd nand_ecc soundcore edac_core nand_bch bch r592 nand_ids mtd memstick shpchp wmi i2c_nforce2 mac_hid squashfs binfmt_misc parport_pc ppdev lp parport autofs4 pata_acpi
[  505.437391]  psmouse firewire_ohci ahci libahci sdhci_pci pata_amd sdhci firewire_core forcedeth crc_itu_t fjes video
[  505.437471]  [<ffffffffc0529338>] uvc_delete+0x148/0x150 [uvcvideo]
[  505.437475]  [<ffffffffc0529413>] uvc_release+0x23/0x30 [uvcvideo]
[  505.437494]  [<ffffffffc04d682b>] v4l2_device_release+0xcb/0x100 [videodev]
[  505.437517]  [<ffffffffc04d5555>] v4l2_open+0x95/0x110 [videodev]
~$ ls -l /dev | grep video
crw-rw----  1 root video      29,   0 mai   21 08:33 fb0
lrwxrwxrwx  1 root root            11 mai   21 09:40 video -> /dev/video0
crw-rw-rw-  1 root root       81,   0 mai   21 09:33 video0
~$ dmesg | grep -i usb
[    0.235255] ACPI: bus type USB registered
[    0.235255] usbcore: registered new interface driver usbfs
[    0.235255] usbcore: registered new interface driver hub
[    0.235255] usbcore: registered new device driver usb
[    1.188626] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.188819] ehci-pci 0000:00:02.1: new USB bus registered, assigned bus number 1
[    1.204032] ehci-pci 0000:00:02.1: USB 2.0 started, EHCI 1.00
[    1.204105] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.204108] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.204110] usb usb1: Product: EHCI Host Controller
[    1.204113] usb usb1: Manufacturer: Linux 4.4.0-22-generic ehci_hcd
[    1.204115] usb usb1: SerialNumber: 0000:00:02.1
[    1.204329] hub 1-0:1.0: USB hub found
[    1.204709] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.204823] ohci-pci 0000:00:02.0: new USB bus registered, assigned bus number 2
[    1.262072] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    1.262075] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.262078] usb usb2: Product: OHCI PCI host controller
[    1.262081] usb usb2: Manufacturer: Linux 4.4.0-22-generic ohci_hcd
[    1.262084] usb usb2: SerialNumber: 0000:00:02.0
[    1.262271] hub 2-0:1.0: USB hub found
[    1.262870] uhci_hcd: USB Universal Host Controller Interface driver
[    1.516050] usb 1-4: new high-speed USB device number 2 using ehci-pci
[    1.666822] usb 1-4: New USB device found, idVendor=0408, idProduct=030c
[    1.666828] usb 1-4: New USB device strings: Mfr=2, Product=1, SerialNumber=3
[    1.666832] usb 1-4: Product: HP Webcam
[    1.666834] usb 1-4: Manufacturer: QCM
[    1.666837] usb 1-4: SerialNumber: SN0001
[    2.105883] usb usb2: USB disconnect, device number 1
[    2.106353] ohci-pci 0000:00:02.0: USB bus 2 deregistered
[   22.532967] input: HP Webcam as /devices/pci0000:00/0000:00:02.1/usb1/1-4/1-4:1.0/input/input11
[   22.533134] usbcore: registered new interface driver uvcvideo
[   22.533136] USB Video Class driver (1.1.1)
[  505.392205] usb 1-4: USB disconnect, device number 2
~$ ls /dev/video*
/dev/video  /dev/video0
~$ ls -ltr /dev/video*crw-rw-rw- 1 root root 81, 0 mai   21 09:33 /dev/video0
lrwxrwxrwx 1 root root    11 mai   21 09:40 /dev/video -> /dev/video0
~$ vlc v4l:///dev/video0
VLC media player 2.2.2 Weatherwax (revision 2.2.2-0-g6259d80)
[000000000116e148] core libvlc: Lancement de vlc avec l'interface par défaut. Utilisez « cvlc » pour démarrer VLC sans interface.
[00007fc014000e48] v4l2 demux error: cannot open device '/dev/video0': Permission denied
[00007fc014000e48] v4l2 access error: cannot open device '/dev/video0': Permission denied
[00007fc01c003898] core input error: open of `v4l:///dev/video0' failed
QObject::~QObject: Timers cannot be stopped from another thread
~$ webcam
reading config file: /home/paul/.webcamrc
v4l2: open /dev/video0: Permission denied
vid-open: failed: libv4l
no grabber device available
~$ sudo webcam
reading config file: /home/paul/.webcamrc
v4l2: open /dev/video0: No such device or address
vid-open: failed: libv4l
no grabber device available

Si vous pouvez m'aider je vous en remercie d'avance

Dernière modification par paulwoisard (Le 22/05/2016, à 15:00)


Actuellement, j'ai une toute petite équipe de bénévoles et on essaye de dév des deux, trois logiciels plus ou moins utile, en voici le site web : https://bit-scripts.github.io/

Hors ligne

#2 Le 21/05/2016, à 11:49

Ayral

Re : [RESOLU] Problème webcam non détectée par cheese ou skype

Le retour de ta commande

dmesg | grep video

à la première ligne renvoie

uvcvideo: Found UVC 1.00 device HP Webcam (0408:030c)

0408:030c est l'dentifiant de ta webcam je pense.
Le problème que tu as a été abordé dans cette discussion, et a semble-t il été résolu.

Sur coogle, on peut faire une recherche avec cet identifiant 0408:030c dans le quel 0408 est le code vendor, et 030c le produit.
Dans ce cas ça répond   ID 0408:030c Quanta Computer, Inc.


Pour mettre les retours de commande entre deux balises code, les explications sont là : https://forum.ubuntu-fr.org/viewtopic.php?id=1614731
Blog d'un retraité
Site de graphisme du fiston Loïc
Ubuntu 22.04 LTS sur un Thinkpad W540

Hors ligne

#3 Le 21/05/2016, à 17:27

paulwoisard

Re : [RESOLU] Problème webcam non détectée par cheese ou skype

Bonjour,

Il y a quelques jours, j'avais réussis à faire fonctionner la webcam.

Là, il y a quelques minutes en redémarrant le pc :
- elle fonctionnait à nouveau mais il y a une erreur.
- j'ai relancé cheese, la webcam a redémarré, puis même crash.
- j'ai relancé cheese puis "pas de caméra détecté"

Là j'ai redémarré à nouveau le pc et j'ai lancé cheese depuis le terminal, elle a fonctionnait puis crash, mais j'ai pu relever l'erreur dans le terminal :

~$ cheese

(cheese:7010): cheese-WARNING **: Impossible de lire à partir de la ressource.: gstv4l2bufferpool.c(1054): gst_v4l2_buffer_pool_poll (): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:camera_source/GstBin:bin18/GstV4l2Src:v4l2src1:
poll error 1: Argument invalide (22)


** (cheese:7010): CRITICAL **: cheese_preferences_dialog_on_source_change: assertion '_tmp2_ > ((guint) 0)' failed

(cheese:7010): cheese-CRITICAL **: cheese_camera_device_get_name: assertion 'CHEESE_IS_CAMERA_DEVICE (device)' failed

(cheese:7010): GLib-CRITICAL **: g_variant_new_string: assertion 'string != NULL' failed

(cheese:7010): GLib-GIO-CRITICAL **: g_settings_schema_key_type_check: assertion 'value != NULL' failed

(cheese:7010): GLib-CRITICAL **: g_variant_get_type_string: assertion 'value != NULL' failed

(cheese:7010): GLib-GIO-CRITICAL **: g_settings_set_value: key 'camera' in 'org.gnome.Cheese' expects type 's', but a GVariant of type '(null)' was given

** (cheese:7010): CRITICAL **: cheese_preferences_dialog_setup_resolutions_for_device: assertion 'device != NULL' failed

Merci d'avance.

Dernière modification par paulwoisard (Le 21/05/2016, à 17:28)


Actuellement, j'ai une toute petite équipe de bénévoles et on essaye de dév des deux, trois logiciels plus ou moins utile, en voici le site web : https://bit-scripts.github.io/

Hors ligne

#4 Le 22/05/2016, à 12:19

paulwoisard

Re : [RESOLU] Problème webcam non détectée par cheese ou skype

Bonjour,

Aujourd'hui, la caméra marche bien et j'ai :

~$ lsusb
Bus 001 Device 002: ID 0408:030c Quanta Computer, Inc. HP Webcam
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

sans avoir rien fait...


Actuellement, j'ai une toute petite équipe de bénévoles et on essaye de dév des deux, trois logiciels plus ou moins utile, en voici le site web : https://bit-scripts.github.io/

Hors ligne

#5 Le 22/05/2016, à 14:59

Ayral

Re : [RESOLU] Problème webcam non détectée par cheese ou skype

Je pensais qu'il n'y avait que Windows qui réclamait des redémarrages à répétition...
Mais bon quand tu verras que ton problème est résolu, tu modifies ton premier message et tu rajoutes l'expression [Résolu] au début du sujet. Merci.


Pour mettre les retours de commande entre deux balises code, les explications sont là : https://forum.ubuntu-fr.org/viewtopic.php?id=1614731
Blog d'un retraité
Site de graphisme du fiston Loïc
Ubuntu 22.04 LTS sur un Thinkpad W540

Hors ligne