Re: webcam

Top Page

Reply to this message
Author: Aimé Vareille
Date:  
To: guilde
Subject: Re: webcam
Les webcam sont interfacées en usb, il faut regarder avec lsusb :

en activant avec Fn F10 j'ai :

aime@ellipsognu:~$ lsusb
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 007: ID 04f2:b35a Chicony Electronics Co., Ltd
Bus 003 Device 003: ID 8087:07da Intel Corp.
Bus 003 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

en désactivant avec Fn F10 j'ai :

aime@ellipsognu:~$ lsusb
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 8087:07da Intel Corp.
Bus 003 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Ma webcam est en :

Bus 003 Device 007: ID 04f2:b35a Chicony Electronics Co., Ltd

...

Aimé


Le 10/02/2018 à 22:46, Patrick Dupre a écrit :
> Bonsoir,
>
> Je suppose que c'est lspci
> Mais je ne la vois pas.
> Je ne vois pas sous le BIOS non plus
> D'apres la doc, c'est une
> HD type (30fps@720p)
>
>
> lspci -v
> 00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
>     Subsystem: Micro-Star International Co., Ltd. [MSI] Device 115a
>     Flags: bus master, fast devsel, latency 0
>     Capabilities: <access denied>
>     Kernel driver in use: skl_uncore

>
> 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 07) (prog-if 00 [Normal decode])
>     Flags: bus master, fast devsel, latency 0, IRQ 120
>     Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
>     I/O behind bridge: 0000e000-0000efff [size=4K]
>     Memory behind bridge: de000000-df0fffff [size=17M]
>     Prefetchable memory behind bridge: 00000000c0000000-00000000d1ffffff [size=288M]
>     Capabilities: <access denied>
>     Kernel driver in use: pcieport
>     Kernel modules: shpchp

>
> 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06) (prog-if 00 [VGA controller])
>     Subsystem: Micro-Star International Co., Ltd. [MSI] Device 115a
>     Flags: bus master, fast devsel, latency 0, IRQ 134
>     Memory at dd000000 (64-bit, non-prefetchable) [size=16M]
>     Memory at b0000000 (64-bit, prefetchable) [size=256M]
>     I/O ports at f000 [size=64]
>     [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
>     Capabilities: <access denied>
>     Kernel driver in use: i915
>     Kernel modules: i915

>
> 00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31) (prog-if 30 [XHCI])
>     Subsystem: Micro-Star International Co., Ltd. [MSI] Device 115a
>     Flags: bus master, medium devsel, latency 0, IRQ 125
>     Memory at df410000 (64-bit, non-prefetchable) [size=64K]
>     Capabilities: <access denied>
>     Kernel driver in use: xhci_hcd

>
> 00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal subsystem (rev 31)
>     Subsystem: Micro-Star International Co., Ltd. [MSI] Device 115a
>     Flags: bus master, fast devsel, latency 0, IRQ 18
>     Memory at df42e000 (64-bit, non-prefetchable) [size=4K]
>     Capabilities: <access denied>
>     Kernel driver in use: intel_pch_thermal
>     Kernel modules: intel_pch_thermal

>
> 00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
>     Subsystem: Micro-Star International Co., Ltd. [MSI] Device 115a
>     Flags: bus master, fast devsel, latency 0, IRQ 135
>     Memory at df42d000 (64-bit, non-prefetchable) [size=4K]
>     Capabilities: <access denied>
>     Kernel driver in use: mei_me
>     Kernel modules: mei_me

>
> 00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA Controller [AHCI mode] (rev 31) (prog-if 01 [AHCI 1.0])
>     Subsystem: Micro-Star International Co., Ltd. [MSI] Device 115a
>     Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 124
>     Memory at df428000 (32-bit, non-prefetchable) [size=8K]
>     Memory at df42c000 (32-bit, non-prefetchable) [size=256]
>     I/O ports at f090 [size=8]
>     I/O ports at f080 [size=4]
>     I/O ports at f060 [size=32]
>     Memory at df42b000 (32-bit, non-prefetchable) [size=2K]
>     Capabilities: <access denied>
>     Kernel driver in use: ahci

>
> 00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1 (rev f1) (prog-if 00 [Normal decode])
>     Flags: bus master, fast devsel, latency 0, IRQ 121
>     Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
>     I/O behind bridge: None
>     Memory behind bridge: df300000-df3fffff [size=1M]
>     Prefetchable memory behind bridge: None
>     Capabilities: <access denied>
>     Kernel driver in use: pcieport
>     Kernel modules: shpchp

>
> 00:1c.3 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #4 (rev f1) (prog-if 00 [Normal decode])
>     Flags: bus master, fast devsel, latency 0, IRQ 122
>     Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
>     I/O behind bridge: 0000d000-0000dfff [size=4K]
>     Memory behind bridge: df200000-df2fffff [size=1M]
>     Prefetchable memory behind bridge: None
>     Capabilities: <access denied>
>     Kernel driver in use: pcieport
>     Kernel modules: shpchp

>
> 00:1c.4 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #5 (rev f1) (prog-if 00 [Normal decode])
>     Flags: bus master, fast devsel, latency 0, IRQ 123
>     Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
>     I/O behind bridge: None
>     Memory behind bridge: df100000-df1fffff [size=1M]
>     Prefetchable memory behind bridge: None
>     Capabilities: <access denied>
>     Kernel driver in use: pcieport
>     Kernel modules: shpchp

>
> 00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
>     Subsystem: Micro-Star International Co., Ltd. [MSI] Device 115a
>     Flags: bus master, medium devsel, latency 0

>
> 00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
>     Subsystem: Micro-Star International Co., Ltd. [MSI] Device 115a
>     Flags: bus master, fast devsel, latency 0
>     Memory at df424000 (32-bit, non-prefetchable) [size=16K]

>
> 00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)
>     Subsystem: Micro-Star International Co., Ltd. [MSI] Device 115a
>     Flags: bus master, fast devsel, latency 32, IRQ 137
>     Memory at df420000 (64-bit, non-prefetchable) [size=16K]
>     Memory at df400000 (64-bit, non-prefetchable) [size=64K]
>     Capabilities: <access denied>
>     Kernel driver in use: snd_hda_intel
>     Kernel modules: snd_hda_intel

>
> 00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
>     Subsystem: Micro-Star International Co., Ltd. [MSI] Device 115a
>     Flags: medium devsel, IRQ 16
>     Memory at df42a000 (64-bit, non-prefetchable) [size=256]
>     I/O ports at f040 [size=32]
>     Kernel driver in use: i801_smbus
>     Kernel modules: i2c_i801

>
> 01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev a2)
>     Subsystem: Micro-Star International Co., Ltd. [MSI] Device 115a
>     Flags: bus master, fast devsel, latency 0, IRQ 11
>     Memory at de000000 (32-bit, non-prefetchable) [size=16M]
>     Memory at c0000000 (64-bit, prefetchable) [size=256M]
>     Memory at d0000000 (64-bit, prefetchable) [size=32M]
>     I/O ports at e000 [size=128]
>     Expansion ROM at df000000 [disabled] [size=512K]
>     Capabilities: <access denied>
>     Kernel modules: nouveau

>
> 02:00.0 Network controller: Intel Corporation Wireless 3165 (rev 81)
>     Subsystem: Intel Corporation Dual Band Wireless AC 3165
>     Flags: bus master, fast devsel, latency 0, IRQ 136
>     Memory at df300000 (64-bit, non-prefetchable) [size=8K]
>     Capabilities: <access denied>
>     Kernel driver in use: iwlwifi
>     Kernel modules: iwlwifi

>
> 03:00.0 Ethernet controller: Qualcomm Atheros Killer E2400 Gigabit Ethernet Controller (rev 10)
>     Subsystem: Micro-Star International Co., Ltd. [MSI] Device 115a
>     Flags: bus master, fast devsel, latency 0, IRQ 19
>     Memory at df200000 (64-bit, non-prefetchable) [size=256K]
>     I/O ports at d000 [size=128]
>     Capabilities: <access denied>
>     Kernel driver in use: alx
>     Kernel modules: alx

>
> 04:00.0 USB controller: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller (prog-if 30 [XHCI])
>     Subsystem: Micro-Star International Co., Ltd. [MSI] Device 115a
>     Flags: bus master, fast devsel, latency 0, IRQ 16
>     Memory at df100000 (64-bit, non-prefetchable) [size=32K]
>     Capabilities: <access denied>
>     Kernel driver in use: xhci_hcd

>
> ===========================================================================
>  Patrick DUPRÉ                                 | | email: pdupre@???
>  Laboratoire de Physico-Chimie de l'Atmosphère | |
>  Université du Littoral-Côte d'Opale           | |
>  Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
>  189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
> ===========================================================================

>
>
>> Sent: Saturday, February 10, 2018 at 10:35 PM
>> From: "Olivier Allard-Jacquin" <olivieraj@???>
>> To: guilde@???
>> Subject: Re: webcam
>>
>>     Bonsoir

>>
>> Le 10/02/2018 à 21:06, Patrick Dupre a écrit :
>>> Bonsoir,
>>>
>>> J'ai une camera sur mon laptop que je n'ai jamais utilisee.
>>> cheese me dit
>>> "no device detected"
>>>
>>> et
>>> mplayer tv://
>>> MPlayer 1.3.0-7 (C) 2000-2016 MPlayer Team
>>>
>>> Playing tv://.
>>> TV file format detected.
>>> Selected driver: v4l2
>>> name: Video 4 Linux 2 input
>>> author: Martin Olschewski <olschewski@???>
>>> comment: first try, more to come ;-)
>>> v4l2: unable to open '/dev/video0': No such file or directory
>>> v4l2: ioctl set mute failed: Bad file descriptor
>>> v4l2: 0 frames successfully processed, 0 frames dropped.
>>>
>>>
>>> Exiting... (End of file)
>>>
>>>
>>> Est-ce qu'il y a des pilotes a installer ?
>>     Il faut d'abord identifier le harwdare de la webcam.
>> lspic
>> lscpi -v

>>
>> devraient pouvoir t'aider.
>>
>>     Cordialement,

>>
>>                         Olivier
>> -- 
>> ~~~~~~~  _____/\_____  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> Phoenix /   _ \/ _   \    Olivier Allard-Jacquin
>>        /   / \  / \   \   Web:  http://olivieraj.free.fr/
>>       /___/  /  \  \___\  Mail: olivieraj@???
>> ~~~~ /////  ///\\\  \\\\\ ~~~~~~~~~~~~~~~~~~~~~~~ Linux Powered !!

>>
>>