I have an external USB web cam that I am trying to run on my Gen12 laptop. I am running Ubuntu 22.04. The camera is not recognized on the computer. It doesn’t show when I do an ‘lsusb’ listing.
That same camera is running perfectly fine on a Gen 11 laptop (also running Ubuntu 22.04)
Plugging the camera into a different USB port on the Gen 12 laptop showed one occasion where lsusb actually saw the camera (but program had issues displaying anything - program is ‘cheese’)
After messing about with moving adapter cards all over the place, the camera seems to now be recognized most (if not all) of the time in lsusb. Unfortunately the ‘Cheese’ program still reports ‘no device found’. Again, this camera works fine on a Gen 11 laptop.
Anybody run into this problem before ? Suggestions ?
Edit: On occasion the program (cheese) recognizes the camera but reports ‘there was an error playing video from the webcam’ … the entire thing is very flaky
Oh, the internal camera works just fine with cheese …
Another edit: well there were three occasions when Cheese actually displayed video but now we are back to ‘error playing video’
I installed ‘guvcview’ and it too reports errors although it does recognize the camera … and as of a minute ago, both programs have decided to work.
Now if this also comes up as flaky, as in, you run that command when the camera is failing and it doesn’t show it in the list shown above…then I’d test out a different slot for your USB expansion card; if this also fails, I’d reach out to support as you may have a bad USB expansion card.
Lastly, make sure the webcam is directly connected - no USB extension cables.
Thank you, for reasons unknown, the camera seems to work now. I did try different USB cards as well as different slots before and there was no definitive ‘yes it works’ or ‘no it doesn’t work’
I have had weird issues with USB before so it’s not completely unexpected … but for now it works.
Glad to hear it’s working now. If it happens again and you installed the package described above, run this immediately so we can see what might be happen. For next time, of course.
It was nice while it lasted - we are back to the USB camera not being recognized.
Running v4l2-ctl – list-devices gets me 'cannot open device /dev/video0, exiting.
A few minutes later things started to work again and now I am back to the camera not being recognized
Running lsusb I see the camera listed as ‘General general webcam’
Multiple reboots did not fix anything - sometimes the camera displays a picture using ‘cheese’ in Ubuntu and sometimes cheese reports ‘no device found’
This is my journal log:
dips-Aspire-A515-51G dbus-daemon[1678]: [session uid=1000 pid=1678] Successfully activated service ‘org.gnome.Calendar’
Jan 23 21:54:48 dips-Aspire-A515-51G dbus-daemon[1678]: [session uid=1000 pid=1678] Successfully activated service ‘org.gnome.Terminal’
Jan 23 21:54:48 dips-Aspire-A515-51G systemd[1655]: Started GNOME Terminal Server.
Jan 23 21:54:48 dips-Aspire-A515-51G nautilus[4198]: Connecting to org.freedesktop.Tracker3.Miner.Files
Jan 23 21:54:50 dips-Aspire-A515-51G dbus-daemon[1678]: [session uid=1000 pid=1678] Activating service name=‘org.gnome.Cheese’ requested by ‘:1.38’ (uid=1000 pid=1851 comm="/usr/bin/gnome-shell " label=“unconfined”)
Jan 23 21:54:50 dips-Aspire-A515-51G dbus-daemon[1678]: [session uid=1000 pid=1678] Successfully activated service ‘org.gnome.Cheese’
Jan 23 21:54:51 dips-Aspire-A515-51G cheese[4291]: Native Windows taller than 65535 pixels are not supported
Jan 23 21:54:51 dips-Aspire-A515-51G cheese[4291]: cheese-application.vala:222: Error during camera setup: No device found
Jan 23 21:54:51 dips-Aspire-A515-51G cheese[4291]: cheese_camera_device_get_name: assertion ‘CHEESE_IS_CAMERA_DEVICE (device)’ failed
Jan 23 21:54:51 dips-Aspire-A515-51G cheese[4291]: g_variant_new_string: assertion ‘string != NULL’ failed
Jan 23 21:54:51 dips-Aspire-A515-51G cheese[4291]: g_variant_ref_sink: assertion ‘value != NULL’ failed
Jan 23 21:54:51 dips-Aspire-A515-51G cheese[4291]: g_settings_schema_key_type_check: assertion ‘value != NULL’ failed
Jan 23 21:54:51 dips-Aspire-A515-51G cheese[4291]: g_variant_get_type_string: assertion ‘value != NULL’ failed
Jan 23 21:54:51 dips-Aspire-A515-51G cheese[4291]: g_settings_set_value: key ‘camera’ in ‘org.gnome.Cheese’ expects type ‘s’, but a GVariant of type ‘(null)’ was given
Jan 23 21:54:51 dips-Aspire-A515-51G cheese[4291]: g_variant_unref: assertion ‘value != NULL’ failed
Jan 23 21:54:51 dips-Aspire-A515-51G cheese[4291]: cheese_preferences_dialog_setup_resolutions_for_device: assertion ‘device != NULL’ failed
Jan 23 21:54:56 dips-Aspire-A515-51G cheese[4291]: Unable to create dummy onscreen: No foreign surface, and wl_shell unsupported by the compositor
Jan 23 21:55:00 dips-Aspire-A515-51G systemd[1]: fprintd.service: Deactivated successfully.
Welcome to the community! This is not for a Aspire-A515-51G, correct? As that would be a completely different community. @Sudo
Assuming this is for a Framework 13, let’s start off with the following, direct connection into USB expansion card - no hub please for troubleshooting: