$ guvcview
libv4l2: error getting pixformat: Invalid argument
V4L2_CORE: ERROR opening V4L2 interface for /dev/video0
GUVCVIEW: version 2.0.6
GUVCVIEW: couldn't open /home/akhil/.config/guvcview2/video0 for read: No such file or directory
libv4l2: error getting pixformat: Invalid argument
V4L2_CORE: ERROR opening V4L interface: Invalid argument
GUVCVIEW (1): Guvcview error
no video device found
(guvcview:3710): Gtk-WARNING **: 18:14:43.943: Theme parsing error: <data>:1:17: not a number
(guvcview:3710): Gtk-WARNING **: 18:14:43.943: Theme parsing error: <data>:1:31: Using Pango syntax for the font: style property is deprecated; please use CSS syntax
(guvcview:3710): Gtk-WARNING **: 18:14:43.943: Theme parsing error: <data>:1:17: not a number
(guvcview:3710): Gtk-WARNING **: 18:14:43.943: Theme parsing error: <data>:1:32: Using Pango syntax for the font: style property is deprecated; please use CSS syntax
.
$ cheese
** Message: 18:45:33.361: cheese-application.vala:214: Error during camera setup: No device found
(cheese:4318): cheese-CRITICAL **: 18:45:33.378: cheese_camera_device_get_name: assertion 'CHEESE_IS_CAMERA_DEVICE (device)' failed
(cheese:4318): GLib-CRITICAL **: 18:45:33.378: g_variant_new_string: assertion 'string != NULL' failed
(cheese:4318): GLib-CRITICAL **: 18:45:33.378: g_variant_ref_sink: assertion 'value != NULL' failed
(cheese:4318): GLib-GIO-CRITICAL **: 18:45:33.378: g_settings_schema_key_type_check: assertion 'value != NULL' failed
(cheese:4318): GLib-CRITICAL **: 18:45:33.378: g_variant_get_type_string: assertion 'value != NULL' failed
(cheese:4318): GLib-GIO-CRITICAL **: 18:45:33.378: g_settings_set_value: key 'camera' in 'org.gnome.Cheese' expects type 's', but a GVariant of type '(null)' was given
(cheese:4318): GLib-CRITICAL **: 18:45:33.378: g_variant_unref: assertion 'value != NULL' failed
** (cheese:4318): CRITICAL **: 18:45:33.378: cheese_preferences_dialog_setup_resolutions_for_device: assertion 'device != NULL' failed
.
$ v4l2-ctl --list-devices
Dummy video device (0x0000) (platform:v4l2loopback-000):
/dev/video0
$ sudo rmmod uvcvideo && sudo modprobe uvcvideo
[sudo] password for akhil:
rmmod: ERROR: Module uvcvideo is not currently loaded
$ sudo systemctl enable uvcvideo
Failed to enable unit: Unit file uvcvideo.service does not exist.
Perhaps one of the users here have the same laptop and know how to fix this. Since according to Arch for instance the webcam should work out of the box.
$ lsusb
Bus 004 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 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 04ca:3015 Lite-On Technology Corp. Qualcomm Atheros QCA9377 Bluetooth
Bus 001 Device 003: ID 3938:1031 MOSART Semi. 2.4G Wireless Mouse
Bus 001 Device 004: ID 04f2:0833 Chicony Electronics Co., Ltd KU-0833 Keyboard
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Looking at similar devices it seems the camera should be available over USB, but that appears not to be the case here. Can you rule out hardware problems?
Could be. Not sure as I told it works that way on her laptop, no idea if it goes for all laptops.
What I did notice was that before hitting fn+cam button the webcam did not show up in lsusb or v4l2-ctl --list-devices after it there was a webcam listed.