Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3423

Black screen with webcam Logitech HD Pro C920.

$
0
0
Hello. So my webcam is not working.

I've tried the following software:
* cheese (the simplest.)
* vlc (lots of settings available.)
* guvcview (I'm concentrating on this tool now, it seems to be the best for basic troubleshooting).

I have exactly the same symptoms with all of them: launching one of them immediately turns on the camera (blue led on), but then a black screen appears and persists.

I've tried every usb port (2 are 2.0 and 2 are 3.0, same problem everywhere, and all ports work fine with others usb devices.

I did a few “sensible” tests: lower the fps, lower the resolution, changed the codec, etc. Nothing worked.

Reading the various results you can see below, I've come to the conclusion that this webcam is perfectly recognized by the system, and this is a pure configuration problem. Chance is 99.9999 % that the hardware is not broken (although I don't have a Windows PC around me to prove it).

Any feedback would be greatly appreciated (a step-by-step procedure), I've spent a lot of time struggling with this device and it's driving me crazy.

Code:

mainuser@station1:/tmp$ lsb_release -aNo LSB modules are available.Distributor ID:DebianDescription:Debian GNU/Linux 12 (bookworm)Release:12Codename:bookworm

Code:

mainuser@station1:/tmp$ ls -l /dev/video*crw-rw----+ 1 root video 81, 0 16 févr. 17:38 /dev/video0crw-rw----+ 1 root video 81, 1 16 févr. 17:38 /dev/video1

Code:

mainuser@station1:/tmp$ groupsmainuser cdrom floppy audio dip video plugdev netdev bluetooth lpadmin scanner

Code:

mainuser@station1:/tmp$ lsusb Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubBus 007 Device 003: ID 413c:2106 Dell Computer Corp. QuietKey KeyboardBus 007 Device 002: ID 046d:c05a Logitech, Inc. M90/M100 Optical MouseBus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubBus 001 Device 003: ID 046d:082d Logitech, Inc. HD Pro Webcam C920Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubBus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubBus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubBus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubBus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubBus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Code:

mainuser@station1:/tmp$ lsmod | grep video | sortmc                     81920  5 videodev,snd_usb_audio,videobuf2_v4l2,uvcvideo,videobuf2_commonusb_common             16384  5 xhci_hcd,ohci_hcd,usbcore,uvcvideo,ehci_hcdusbcore               348160  10 xhci_hcd,ohci_hcd,ehci_pci,snd_usb_audio,usbhid,snd_usbmidi_lib,uvcvideo,ehci_hcd,xhci_pci,ohci_pciuvcvideo              131072  0video                  65536  2 amdgpu,radeonvideobuf2_common       73728  4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memopsvideobuf2_memops       20480  1 videobuf2_vmallocvideobuf2_v4l2         36864  1 uvcvideovideobuf2_vmalloc      20480  1 uvcvideovideodev              294912  3 videobuf2_v4l2,uvcvideo,videobuf2_commonwmi                    36864  1 video

Code:

mainuser@station1:/tmp$ v4l2-ctl -d /dev/video0 --allDriver Info:Driver name      : uvcvideoCard type        : HD Pro Webcam C920Bus info         : usb-0000:00:12.2-2Driver version   : 6.1.128Capabilities     : 0x84a00001Video CaptureMetadata CaptureStreamingExtended Pix FormatDevice CapabilitiesDevice Caps      : 0x04200001Video CaptureStreamingExtended Pix FormatMedia Driver Info:Driver name      : uvcvideoModel            : HD Pro Webcam C920Serial           : 825DACCFBus info         : usb-0000:00:12.2-2Media version    : 6.1.128Hardware revision: 0x00000011 (17)Driver version   : 6.1.128Interface Info:ID               : 0x03000002Type             : V4L VideoEntity Info:ID               : 0x00000001 (1)Name             : HD Pro Webcam C920Function         : V4L2 I/OFlags            : defaultPad 0x01000007   : 0: Sink  Link 0x0200001f: from remote pad 0x100000a of entity 'Processing 3' (Video Pixel Formatter): Data, Enabled, ImmutablePriority: 2Video input : 0 (Input 1: ok)Format Video Capture:Width/Height      : 640/480Pixel Format      : 'MJPG' (Motion-JPEG)Field             : NoneBytes per Line    : 0Size Image        : 614400Colorspace        : sRGBTransfer Function : Rec. 709YCbCr/HSV Encoding: ITU-R 601Quantization      : Default (maps to Full Range)Flags             : Crop Capability Video Capture:Bounds      : Left 0, Top 0, Width 640, Height 480Default     : Left 0, Top 0, Width 640, Height 480Pixel Aspect: 1/1Selection Video Capture: crop_default, Left 0, Top 0, Width 640, Height 480, Flags: Selection Video Capture: crop_bounds, Left 0, Top 0, Width 640, Height 480, Flags: Streaming Parameters Video Capture:Capabilities     : timeperframeFrames per second: 24.000 (24/1)Read buffers     : 0User Controls                     brightness 0x00980900 (int)    : min=0 max=255 step=1 default=128 value=128                       contrast 0x00980901 (int)    : min=0 max=255 step=1 default=128 value=128                     saturation 0x00980902 (int)    : min=0 max=255 step=1 default=128 value=128        white_balance_automatic 0x0098090c (bool)   : default=1 value=1                           gain 0x00980913 (int)    : min=0 max=255 step=1 default=0 value=0           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2 (60 Hz)0: Disabled1: 50 Hz2: 60 Hz      white_balance_temperature 0x0098091a (int)    : min=2000 max=6500 step=1 default=4000 value=6500 flags=inactive                      sharpness 0x0098091b (int)    : min=0 max=255 step=1 default=128 value=128         backlight_compensation 0x0098091c (int)    : min=0 max=1 step=1 default=0 value=0Camera Controls                  auto_exposure 0x009a0901 (menu)   : min=0 max=3 default=3 value=3 (Aperture Priority Mode)1: Manual Mode3: Aperture Priority Mode         exposure_time_absolute 0x009a0902 (int)    : min=3 max=2047 step=1 default=250 value=416 flags=inactive     exposure_dynamic_framerate 0x009a0903 (bool)   : default=0 value=0                   pan_absolute 0x009a0908 (int)    : min=-36000 max=36000 step=3600 default=0 value=0                  tilt_absolute 0x009a0909 (int)    : min=-36000 max=36000 step=3600 default=0 value=0                 focus_absolute 0x009a090a (int)    : min=0 max=250 step=5 default=0 value=0 flags=inactive     focus_automatic_continuous 0x009a090c (bool)   : default=1 value=1                  zoom_absolute 0x009a090d (int)    : min=100 max=500 step=1 default=100 value=100                      led1_mode 0x0a046d05 (menu)   : min=0 max=3 default=0 value=0 (Off)0: Off1: On2: Blink3: Auto                 led1_frequency 0x0a046d06 (int)    : min=0 max=255 step=1 default=0 value=0

Statistics: Posted by debian_user0 — 2025-02-16 22:00 — Replies 4 — Views 127



Viewing all articles
Browse latest Browse all 3423

Trending Articles