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

Xfce Screensaver 0.1.1 Released

Xfce Screensaver 0.1.1 Released

Xfce Screensaver 0.1.1 is now available! It features several bug fixes, new translations, and many other improvements. It's a major upgrade!

Read More
Xfce Screensaver 0.1.4 Released

Xfce Screensaver 0.1.4 Released

Xfce Screensaver 0.1.4 has been released, featuring numerous performance improvements and an improved low-power resource footprint.

Read More
Xubuntu 19.04 "Disco Dingo" Released

Xubuntu 19.04 "Disco Dingo" Released

Xubuntu 19.04 “Disco Dingo” is just around the corner. It features numerous updates and an updated snapshot of Xfce 4.14 development.

Read More