Use mainline to easily upgrade your kernel

Use mainline to easily upgrade your kernel

Table of Contents

When I installed Xubuntu 22.04, I was shocked to see that Bluetooth wasn’t working. I’ve got a pretty standard and well-supported Bluetooth chipset, Intel Wireless-AC 3168 Bluetooth, so this threw me for a loop. After blaming and apologizing to Blueman, I found a hint on the Arch Linux forum. The kernel version on 22.04, 5.15.0.18.18, is currently broken with several Intel Bluetooth chipsets. Reports in that same thread said the issue was resolved in 5.15.4, so I set out to upgrade my kernel… something I haven’t had to do in a really long time. It was surprisingly easy. Here’s a guide to upgrade your kernel.

Upgrading my kernel

The good news is that upgrading your kernel no longer requires compiling it yourself. Did I mention that it’s been a really long time since I’ve had to do this? After searching for a bit, I came across suggestions to use a utility called Ukuu (the “Ubuntu Kernel Update Utility”). However, this project is no longer free. Instead, you should now use a project called mainline.

Fair warning now… installing alternative kernels could leave your system worse than you started. Like the version currently available in Xubuntu 22.04, kernel updates can have regressions and will be less tested than those in the standard Ubuntu repositories. You have been warned!

Installing mainline

To easily install the latest version of mainline and stay up-to-date, use the cappelikan PPA. Fire up a terminal and enter the following commands:

sudo add-apt-repository ppa:cappelikan/ppa
sudo apt update
sudo apt install mainline

Once installed, you will find Ubuntu Mainline Kernel Installer in your application menu.

Using mainline

The application interface is pretty straightforward. Select a kernel version, click Install, and it will be installed!
The application interface is pretty straightforward. Select a kernel version, click Install, and it will be installed!

From here, everything is easy. Select your desired kernel version (I opted for 5.15.24) and click Install. The kernel and my NVIDIA kernel modules were successfully installed. Upon rebooting, everything, including my Bluetooth, was functional!

Your mileage may vary, but this was the last thing I needed to be running at 100% with Xubuntu 22.04. Here’s hoping this helps somebody else with unexplainable Bluetooth issues. 😉

comments powered by Disqus

Related Posts

Catfish 1.4.2 Released

Catfish 1.4.2 Released

Catfish 1.4.2 has been released with support for closing the app from the terminal, many bug fixes, and significantly expanded translations.

Read More
LightDM GTK Greeter 2.0.4 Released

LightDM GTK Greeter 2.0.4 Released

LightDM GTK Greeter 2.0.4 is a long-awaited release that improves accessibility, cursor theme options, and resolves a years-old bug.

Read More
SGT Puzzles Collection 0.2.5 Released

SGT Puzzles Collection 0.2.5 Released

SGT Puzzles Collection 0.2.5 has been released. It features various user-facing improvements and a refreshed codebase. Game on!

Read More