MathJax 3

Friday, 20 May 2022

Webcam not working on Ubuntu

 When it comes to OS upgrade, I'm not the kind of guy who get excited very easily. So, on my main machine which runs on Ubuntu, I tend to install always a LTS versions, which is updated for five years.

The downside is that every year or two, it can happen that some software stops working due to some driver becoming incompatible with a new version of that software, as it happened few days ago with Cheese, the Ubuntu standard webcam application. Also, any other software dependent on that particular driver, stopped functioning.

Luckily, I soon found an easy fix.

After the usual googling, I discovered this project called Linux UVC, which provides kernel support for UVC devices.

To install the webcam drivers, it's enough to install the shared library like this:


sudo apt update

sudo apt install libucv0



To install the development file, instead:


sudo apt update

sudo apt install libucv-dev


 

If you like to build your software from source, here there is their github repository.