Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2795

Camera not working in Cheese in WSL2

$
0
0

I am trying to get my laptop's webcam to work in Cheese, but I get this output:

mohab@DESKTOP-VUD35O1:~$ cheese** Message: 17:24:15.307: cheese-application.vala:214: Error during camera setup: No device found(cheese:6699): cheese-CRITICAL **: 17:24:15.512: cheese_camera_device_get_name: assertion 'CHEESE_IS_CAMERA_DEVICE (device)' failed(cheese:6699): GLib-CRITICAL **: 17:24:15.512: g_variant_new_string: assertion 'string != NULL' failed(cheese:6699): GLib-CRITICAL **: 17:24:15.512: g_variant_ref_sink: assertion 'value != NULL' failed(cheese:6699): GLib-GIO-CRITICAL **: 17:24:15.512: g_settings_schema_key_type_check: assertion 'value != NULL' failed(cheese:6699): GLib-CRITICAL **: 17:24:15.512: g_variant_get_type_string: assertion 'value != NULL' failed(cheese:6699): GLib-GIO-CRITICAL **: 17:24:15.512: g_settings_set_value: key 'camera' in 'org.gnome.Cheese' expects type 's', but a GVariant of type '(null)' was given(cheese:6699): GLib-CRITICAL **: 17:24:15.512: g_variant_unref: assertion 'value != NULL' failed** (cheese:6699): CRITICAL **: 17:24:15.513: cheese_preferences_dialog_setup_resolutions_for_device: assertion 'device != NULL' failed

Cheese doesn't detect the camera and doesn't do anything. It is just a blank screen. There is also no /dev/video.

I connected the camera with USBIP like this:

PS C:\Users\mohab> usbipd wsl listBUSID  VID:PID    DEVICE                                                        STATE3-4    2232:1029  WebCam SC-13HDL11939N                                         Not attached4-3    8086:0189  Generic Bluetooth Adapter                                     Not attachedPS C:\Users\mohab> USBIPD WSL  attach -b 3-4PS C:\Users\mohab> usbipd wsl listBUSID  VID:PID    DEVICE                                                        STATE3-4    2232:1029  WebCam SC-13HDL11939N                                         Attached - Ubuntu4-3    8086:0189  Generic Bluetooth Adapter                                     Not attached

How do I use my camera in WSL2 from Windows 10 Home?


Viewing all articles
Browse latest Browse all 2795

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>