• Cheese and lsusb not detecting webcam but guvcview works


    Hello all, as in the title, cheese doesn’t detect my webcam but vlc and guvcview work nicely with the cam. I don’t understand the problem. Even lsusb shows nothing about the webcam.

    $cheese
    (cheese:4840): Gtk-WARNING **: 22:10:27.546: Theme parsing error: cheese.css:7:35: The style property GtkScrollbar:min-slider-length is deprecated and shouldn't be used anymore. It will be removed in a future version
    ** Message: 22:10:27.793: cheese-application.vala:211: Error during camera setup: No device found
    
    
    (cheese:4840): cheese-CRITICAL **: 22:10:27.843: cheese_camera_device_get_name: assertion 'CHEESE_IS_CAMERA_DEVICE (device)' failed
    
    (cheese:4840): GLib-CRITICAL **: 22:10:27.843: g_variant_new_string: assertion 'string != NULL' failed
    
    (cheese:4840): GLib-CRITICAL **: 22:10:27.843: g_variant_ref_sink: assertion 'value != NULL' failed
    
    (cheese:4840): GLib-GIO-CRITICAL **: 22:10:27.843: g_settings_schema_key_type_check: assertion 'value != NULL' failed
    
    (cheese:4840): GLib-CRITICAL **: 22:10:27.843: g_variant_get_type_string: assertion 'value != NULL' failed
    
    (cheese:4840): GLib-GIO-CRITICAL **: 22:10:27.843: g_settings_set_value: key 'camera' in 'org.gnome.Cheese' expects type 's', but a GVariant of type '(null)' was given
    
    (cheese:4840): GLib-CRITICAL **: 22:10:27.843: g_variant_unref: assertion 'value != NULL' failed
    
    ** (cheese:4840): CRITICAL **: 22:10:27.843: cheese_preferences_dialog_setup_resolutions_for_device: assertion 'device != NULL' failed
    
    
    $lsusb
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 006: ID 0cf3:e009 Qualcomm Atheros Communications 
    Bus 001 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
    Bus 001 Device 004: ID 0bda:5769 Realtek Semiconductor Corp. 
    Bus 001 Device 003: ID 138a:0010 Validity Sensors, Inc. VFS Fingerprint sensor
    Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    
    

    I found something else too

    $lsusb.py
    usb1             1d6b:0002 09  2.00  480MBit/s 0mA 1IF  (Linux 4.15.15-1-ARCH xhci-hcd xHCI Host Controller 0000:00:14.0) hub
     1-5             0bda:5769 ef  2.00  480MBit/s 500mA 2IFs (CN0F08KG7248774IA6YVA01 Integrated_Webcam_HD 200901010001)
     1-3             046d:c52b 00  2.00   12MBit/s 98mA 3IFs (Logitech USB Receiver)
     1-8             0cf3:e009 e0  2.01   12MBit/s 100mA 2IFs (Qualcomm Atheros Communications)
     1-6             0bda:0129 ff  2.00  480MBit/s 500mA 1IF  (Realtek Semiconductor Corp. RTS5129 Card Reader Controller 20100201396000000)
     1-4             138a:0010 ff  1.10   12MBit/s 100mA 1IF  (Validity Sensors, Inc. VFS Fingerprint sensor 460da6cdd7f0)
    usb2             1d6b:0003 09  3.00 5000MBit/s 0mA 1IF  (Linux 4.15.15-1-ARCH xhci-hcd xHCI Host Controller 0000:00:14.0) hub
    
    

    This shows an integrated hd webcam.

    I don’t have any idea how to fix this. I have read man pages and the wiki too.

  • cheese is not detecting webcams for long time now under Archbased Linux…

    but at archforum someone is say that this is helping:

    sudo systemctl --global disable pipewire.socket

    and reboot

    [updates once a week] = [90% less problems]
    antergos:_rescue
    how to add system logs:
    wget http://bit.ly/2GCG9k2 && sh 2GCG9k2
    :handshake: donate antergos

  • @joekamprad What does the code do?

  • Also why isn’t the camera being detected by lsusb when other apps can use it?

  • @joekamprad said in Cheese and lsusb not detecting webcam but guvcview works:

    cheese is not detecting webcams for long time now under Archbased Linux…

    but at archforum someone is say that this is helping:

    sudo systemctl --global disable pipewire.socket

    and reboot

    It does work but cheese detects camera resolution as 680480 whereas in guvcview I cam select 1280720.

  • @joekamprad said in Cheese and lsusb not detecting webcam but guvcview works:

    pipewire

    https://github.com/PipeWire/pipewire/wiki

    https://wiki.archlinux.org/index.php/PipeWire

    https://blogs.gnome.org/uraeus/2018/01/26/an-update-on-pipewire-the-multimedia-revolution-an-update/

    So as i understand this is kinda new audio system, integrated into GNOME-Wayland and it is still causing inconvinience under X11 session…

    usually lsusb should show your webcam… and kernel shoulöd load the right driver…
    You can track down what happens if youunplug webcam open a terminal and runn live output of kernel journal journalctl -f and lokk what it gives out when you replug webcam…

    [updates once a week] = [90% less problems]
    antergos:_rescue
    how to add system logs:
    wget http://bit.ly/2GCG9k2 && sh 2GCG9k2
    :handshake: donate antergos

  • @joekamprad said in Cheese and lsusb not detecting webcam but guvcview works:

    @joekamprad said in Cheese and lsusb not detecting webcam but guvcview works:

    pipewire

    https://github.com/PipeWire/pipewire/wiki

    https://wiki.archlinux.org/index.php/PipeWire

    https://blogs.gnome.org/uraeus/2018/01/26/an-update-on-pipewire-the-multimedia-revolution-an-update/

    So as i understand this is kinda new audio system, integrated into GNOME-Wayland and it is still causing inconvinience under X11 session…

    usually lsusb should show your webcam… and kernel shoulöd load the right driver…
    You can track down what happens if youunplug webcam open a terminal and runn live output of kernel journal journalctl -f and lokk what it gives out when you replug webcam…

    I have a laptop so I cannot unplug the camera.

  • then its may not connected via usb-system.

    dmesg | grep video
    

    maybe or journalctl -b -0 | grep video

    [updates once a week] = [90% less problems]
    antergos:_rescue
    how to add system logs:
    wget http://bit.ly/2GCG9k2 && sh 2GCG9k2
    :handshake: donate antergos

  • @joekamprad said in Cheese and lsusb not detecting webcam but guvcview works:

    then its may not connected via usb-system.

    dmesg | grep video
    

    maybe or journalctl -b -0 | grep video

    $journalctl -b -0 | grep video
    Apr 12 21:51:39 vostro kernel: Linux video capture interface: v2.00
    Apr 12 21:51:40 vostro kernel: uvcvideo: Found UVC 1.00 device Integrated_Webcam_HD (0bda:5769)
    Apr 12 21:51:40 vostro kernel: uvcvideo 1-5:1.0: Entity type for entity Extension 4 was not initialized!
    Apr 12 21:51:40 vostro kernel: uvcvideo 1-5:1.0: Entity type for entity Extension 7 was not initialized!
    Apr 12 21:51:40 vostro kernel: uvcvideo 1-5:1.0: Entity type for entity Processing 2 was not initialized!
    Apr 12 21:51:40 vostro kernel: uvcvideo 1-5:1.0: Entity type for entity Camera 1 was not initialized!
    Apr 12 21:51:40 vostro kernel: usbcore: registered new interface driver uvcvideo
    Apr 12 21:54:17 vostro kernel: Modules linked in: rfcomm ccm fuse bnep amdgpu chash arc4 joydev hid_rmi rmi_core iTCO_wdt iTCO_vendor_support dell_smbios_wmi dell_wmi wmi_bmof dell_wmi_descriptor snd_hda_codec_hdmi uvcvideo dell_laptop videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core ath10k_pci intel_rapl videodev dell_smbios_smm x86_pkg_temp_thermal dell_smbios radeon media snd_hda_codec_realtek snd_hda_codec_generic ath10k_core dcdbas intel_powerclamp coretemp dell_smm_hwmon rtsx_usb_ms ath kvm_intel memstick mac80211 snd_soc_skl snd_soc_skl_ipc mousedev kvm snd_hda_ext_core snd_soc_sst_dsp snd_soc_sst_ipc r8169 snd_soc_acpi mei_me snd_soc_core cfg80211 mei ttm mii irqbypass snd_compress i915 ac97_bus snd_pcm_dmaengine btusb intel_cstate btrtl intel_uncore btbcm intel_rapl_perf btintel snd_hda_intel
    

    Similar output from your dmesg command

webcam9 lsusb2 detecting2 cheese2 Posts 9Views 418
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.