Announcement

Collapse
No announcement yet.

Webcam do not work

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [Post-Install] Webcam do not work

    Hi!
    This is my computer Lenovo Legion:
    Code:
    Operating System: Kubuntu 25.10
    KDE Plasma Version: 6.4.5
    KDE Frameworks Version: 6.17.0
    Qt Version: 6.9.2
    Kernel Version: 6.17.0-12-generic (64-bit)
    Graphics Platform: Wayland
    Processors: 16 × AMD Ryzen 7 7435HS
    Memory: 24 GiB of RAM (23.2 GiB usable)
    Graphics Processor: NVIDIA GeForce RTX 4070 Laptop GPU
    Manufacturer: LENOVO
    Product Name: 83JC
    System Version: LOQ 15ARP9​

    lsusb
    Code:
    Bus 001 Device 003: ID 0489:e0cd Foxconn / Hon Hai MediaTek Bluetooth Adapter
    Bus 001 Device 024: ID 04f2:b7ec Chicony Electronics Co., Ltd Integrated Camera
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 002: ID 248a:8514 Maxxter Wireless Receiver
    Bus 003 Device 003: ID 048d:c999 Integrated Technology Express, Inc. ITE Device(8176)
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 010 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    ​
    v4l2-ctl --list-devices -D
    Code:
    Integrated Camera: Integrated C (usb-0000:05:00.3-3):
    /dev/video1
    /dev/video2
    /dev/media0
    ​

    My webcam do not work, tried several different program; Kamoso, Webcamoid and guvcview

    Kamoso give me "No device found"

    Sometimes the webcam disappears from lsusb and sometimes it is there.
    I have Googled at lot, done lot of different things, but nothing seems that helps.

    Hope for help here!

    /per
    Last edited by pider; Feb 07, 2026, 04:51 AM.
    /pider
    Kubuntu 25.10

    #2
    Try switching to Plasma (X11)? On a default installation of 25.10, Plasma (X11) isn't installed; Plasma (Wayland) is the default. But you can install it. In a konsole, type: sudo apt update && sudo apt install install plasma-session-x11

    Logout then log in, selecting Plasma (X11) at the SDDM Login Screen.
    Windows no longer obstruct my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Code:
      Operating System: Kubuntu 25.10
      
      KDE Plasma Version: 6.4.5
      
      KDE Frameworks Version: 6.17.0
      
      Qt Version: 6.9.2
      
      Kernel Version: 6.17.0-14-generic (64-bit)
      
      Graphics Platform: Wayland
      
      Processors: 16 × AMD Ryzen 7 7435HS
      
      Memory: 24 GiB of RAM (23.2 GiB usable)
      
      Graphics Processor: NVIDIA GeForce RTX 4070 Laptop GPU
      
      Manufacturer: LENOVO
      
      Product Name: 83JC
      
      System Version: LOQ 15ARP9
      ​
      Updated to
      Code:
      Kernel Version: 6.17.0-14-generic (64-bit)
      And then webcam worked! :-)
      /pider
      Kubuntu 25.10

      Comment


        #4
        Hi!
        The problem with webcam came back, sometimes it shows up in lsusb and sometimes it do not. I run

        sudo modprobe v4l2loopback

        When I run Kamoso it turns up with black screen and not the "no device found" message.

        I tried with plasma-session-x11 and it work there, switch to Wayland again and it worked for 1 min then froze. Could not start again even in plasma-session-x11. When I get up in v4l2-ctl --list-devices, it is given different names: video4 - video 5.
        Code:
        kamoso
        Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
        Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
        error debugMessage: stream error: target not found
        error: "../src/gst/gstpipewiresrc.c(748): on_state_changed (): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:/GstPipeWireSrc:Integrate
        d Camera (V4L2)"




        /pider
        Last edited by pider; Mar 24, 2026, 02:02 PM.
        /pider
        Kubuntu 25.10

        Comment


          #5
          try disabling USB autosuspend
          Code:
          sudo nano /etc/default/grub
          find the line GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" and change it to GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.autosuspend=-1"
          save and exit (ctrl+O - enter - ctrl+X)
          then
          Code:
          sudo update-grub
          Code:
          sudo reboot
          Last edited by die.boer; Mar 24, 2026, 11:07 PM.
          ʟɨռʊӼ ʄօʀ ʟɨʄɛ

          Comment


            #6
            Hi!
            Changed grub, webcam is now showing up in lsusb
            Code:
            sudo lsusb
            Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
            Bus 001 Device 002: ID 04f2:b7ec Chicony Electronics Co., Ltd Integrated Camera
            Bus 001 Device 003: ID 0489:e0cd Foxconn / Hon Hai MediaTek Bluetooth Adapter
            Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
            Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
            Bus 003 Device 002: ID 248a:8514 Maxxter Wireless Receiver
            Bus 003 Device 003: ID 048d:c999 Integrated Technology Express, Inc. ITE Device(8176)
            Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
            Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
            Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
            Bus 007 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
            Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
            Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

            and

            Code:
            v4l2-ctl --list-devices
            
            Dummy video device (0x0000) (platform:v4l2loopback-000):
            
            /dev/video2
            
            Integrated Camera: Integrated C (usb-0000:05:00.3-3):
            
            /dev/video0
            
            /dev/video1
            
            /dev/media0
            Kamoso shows only black screen.

            /pider
            /pider
            Kubuntu 25.10

            Comment


              #7
              Originally posted by pider View Post
              Kamoso shows only black screen.
              Kamoso is ...crap, or at least wildly inconsistent. I do suggest sticking with guvcview, especially if it has worked, as this webcam seems to be a UVC camera.
              I personally use a newer tool called cameractrls, found on flathub. It is a bit easier to use imo that Guvcview with a bit simpler of an interface, and supports non-UVC webcams. It does not record, though.
              Self-built: Asus PRIME B550M-K/Ryzen 5600GT/32Gb/Intel ARC B580 12Gb/KDE neon
              HP Elitedesk 800 G3 Mini: i5-7500T(35w)/32Gb/Kubuntu LTS
              HP Chromebook 14: i5-1135G7/8Gb/512Gb SSD/KDE Linux

              Comment


                #8
                please post output of these 3 commands
                Code:
                guvcview --device=/dev/video0
                Code:
                guvcview --device=/dev/video1
                Code:
                v4l2-ctl --list-formats-ext -d /dev/video0
                ʟɨռʊӼ ʄօʀ ʟɨʄɛ

                Comment


                  #9
                  Hi
                  Here are my commands:

                  Code:
                  guvcview --device=/dev/video0
                  GUVCVIEW: version 2.2.1
                  V4L2_CORE: ERROR opening V4L interface: Fila eller mappa finnes ikke
                  GUVCVIEW (1): Guvcview error
                          no video device (/dev/video0) found
                  
                  (guvcview:80224): Gtk-WARNING **: 14:53:47.372: Theme parsing error: <data>:1:17: not a number
                  
                  (guvcview:80224): Gtk-WARNING **: 14:53:47.372: Theme parsing error: <data>:1:31: Using Pango syntax for the font: style propert
                  y is deprecated; please use CSS syntax
                  
                  (guvcview:80224): Gtk-WARNING **: 14:53:47.372: Theme parsing error: <data>:1:17: not a number
                  
                  (guvcview:80224): Gtk-WARNING **: 14:53:47.372: Theme parsing error: <data>:1:32: Using Pango syntax for the font: style propert
                  y is deprecated; please use CSS syntax
                  
                  (guvcview:80224): Gtk-WARNING **: 14:53:47.372: Theme parsing error: <data>:1:17: not a number
                  
                  (guvcview:80224): Gtk-WARNING **: 14:53:47.372: Theme parsing error: <data>:1:26: Using Pango syntax for the font: style propert
                  y is deprecated; please use CSS syntax​
                  Code:
                  guvcview --device=/dev/video1
                  GUVCVIEW: version 2.2.1
                  V4L2_CORE: ERROR opening V4L interface: Fila eller mappa finnes ikke
                  GUVCVIEW (1): Guvcview error
                  no video device (/dev/video1) found
                  
                  (guvcview:85845): Gtk-WARNING **: 14:57:01.074: Theme parsing error: <data>:1:17: not a number
                  
                  (guvcview:85845): Gtk-WARNING **: 14:57:01.074: Theme parsing error: <data>:1:31: Using Pango syntax for the font: style propert
                  y is deprecated; please use CSS syntax
                  
                  (guvcview:85845): Gtk-WARNING **: 14:57:01.074: Theme parsing error: <data>:1:17: not a number
                  
                  (guvcview:85845): Gtk-WARNING **: 14:57:01.074: Theme parsing error: <data>:1:32: Using Pango syntax for the font: style propert
                  y is deprecated; please use CSS syntax
                  
                  (guvcview:85845): Gtk-WARNING **: 14:57:01.074: Theme parsing error: <data>:1:17: not a number
                  
                  (guvcview:85845): Gtk-WARNING **: 14:57:01.074: Theme parsing error: <data>:1:26: Using Pango syntax for the font: style propert
                  y is deprecated; please use CSS syntax
                  Code:
                  4l2-ctl --list-formats-ext -d /dev/video0
                  ioctl: VIDIOC_ENUM_FMT
                  Type: Video Capture
                  
                  [0]: 'MJPG' (Motion-JPEG, compressed)
                  Size: Discrete 1280x720
                  Interval: Discrete 0.033s (30.000 fps)
                  Size: Discrete 960x540
                  Interval: Discrete 0.033s (30.000 fps)
                  Size: Discrete 640x480
                  Interval: Discrete 0.033s (30.000 fps)
                  Size: Discrete 640x360
                  Interval: Discrete 0.033s (30.000 fps)
                  Size: Discrete 320x240
                  Interval: Discrete 0.033s (30.000 fps)
                  Size: Discrete 320x180
                  Interval: Discrete 0.033s (30.000 fps)
                  [1]: 'YUYV' (YUYV 4:2:2)
                  Size: Discrete 1280x720
                  Interval: Discrete 0.100s (10.000 fps)
                  Size: Discrete 960x540
                  Interval: Discrete 0.067s (15.000 fps)
                  Size: Discrete 640x480
                  Interval: Discrete 0.033s (30.000 fps)
                  Size: Discrete 640x360
                  Interval: Discrete 0.033s (30.000 fps)
                  Size: Discrete 320x240
                  Interval: Discrete 0.033s (30.000 fps)
                  Size: Discrete 320x180
                  Interval: Discrete 0.033s (30.000 fps)​
                  ​
                  Here are 2 more commands:
                  Code:
                  v4l2-ctl --list-devices
                  Integrated Camera: Integrated C (usb-0000:05:00.3-3):
                  /dev/video0
                  /dev/video2
                  /dev/media0​
                  Code:
                  sudo lsusb
                  [sudo: authenticate] Password:
                  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                  Bus 001 Device 003: ID 0489:e0cd Foxconn / Hon Hai MediaTek Bluetooth Adapter
                  Bus 001 Device 005: ID 04f2:b7ec Chicony Electronics Co., Ltd Integrated Camera
                  Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
                  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                  Bus 003 Device 002: ID 248a:8514 Maxxter Wireless Receiver
                  Bus 003 Device 003: ID 048d:c999 Integrated Technology Express, Inc. ITE Device(8176)
                  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
                  Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                  Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                  Bus 007 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
                  Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                  Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub​

                  Hope for help :-)


                  /pider
                  Kubuntu 25.10

                  Comment


                    #10
                    Originally posted by ;nundefined
                    my computer Lenovo Legion:
                    What model?

                    AI Overview

                    Chicony Electronics Co., Ltd integrated cameras on Lenovo Legion laptops generally use the UVC (USB Video Class) driver, which is built directly into the Linux kernel and should work out-of-the-box on Kubuntu 25.10.
                    If the camera is not working, it is likely due to a physical privacy switch, a kernel-level conflict, or missing IPU6/MIPI drivers on newer Legion models (e.g., Legion 7/S7 2023-2024 models).

                    Step 1: Preliminary Check

                    Physical Switch/Keyboard Shortcut: Check for a physical camera slider on top of the screen or a function key (Fn + F8/F10) that disables the camera.

                    Check USB Detection: Run the following command in a terminal to see if the device is recognized:

                    lsusb | grep -i chicony

                    If it appears as ID 04f2:b605 or similar, the camera is detected, and the issue is likely driver-related or software locking it.

                    Step 2: Fixing "Missing" or Non-Functional Camera

                    If the camera is listed in lsusb but not working (black screen, app crashes):

                    Update and Upgrade: Ensure your system is completely up-to-date:

                    sudo apt update && sudo apt full-upgrade

                    Restart Camera Service:

                    sudo systemctl restart pipewire

                    Install IPU6 Drivers (For Newer Legion Laptops): Some new Lenovo Legion laptops use MIPI/IPU6 cameras rather than USB UVC cameras. If you have a newer Legion, you may need specialized drivers (IPU6/MIPI) which are sometimes only provided in patched kernels (e.g., Ubuntu 24.04/25.04) and might require a lower kernel version to work properly.

                    Step 3: Troubleshooting Specific Scenarios

                    Camera Detected as Keyboard: If the system log (dmesg) shows the camera wrongly identified, this is a known bug often resolved by updating to the latest kernel or applying udev rules.

                    Device Power Failure: If the camera fails with a Power Status Failure error (often in dual-boot scenarios), uninstalling the camera driver from Windows Device Manager and restarting allows Windows to reset the power state, which often fixes it for subsequent Linux usage.

                    Lenovo Legion Linux (LLL): For better control of Legion hardware, consider installing the Lenovo Legion Linux project, which provides drivers for specialized hardware features.

                    Typical Driver Information

                    On a working Legion laptop, the camera will show as:

                    Driver Name: uvcvideo

                    Card Type: Integrated Camera: Integrated C

                    If you are using a very new Legion model (2025/late 2024), you may need to wait for kernel 6.18+ or check the Ubuntu Hardware Probes website to find specific camera patches for your model.

                    Last edited by Snowhog; Today, 08:54 AM.
                    Windows no longer obstruct my view.
                    Using Kubuntu Linux since March 23, 2007.
                    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                    Comment

                    Users Viewing This Topic

                    Collapse

                    There is 1 user viewing this topic.

                    Working...
                    X