Your submission was sent successfully! Close

Jump to main content
  1. Blog
  2. Article

Rhys Davies
on 25 May 2021


We are proud to announce that Ubuntu 21.04 includes support for the GPIO pins on the Raspberry Pi. This has been a long time coming. We know. With support for the camera modules and Bluetooth added last year GPIO was the obvious next step. But with our Raspberry Pi focused engineers working to make sure there was Pi support for the Ubuntu Core 20 launch earlier this year, GPIO got pushed back. But not longer.

What’s changed?

As of the Linux Kernel 5.11, the old methods of communicating with the header pins on the Raspberry Pi no longer work. Even in Raspberry Pi OS. This means that packages such as RPi.GPIO no longer function properly with the newer kernels. Fortunately, there is a new package in Ubuntu 21.04 called LGPIO that allows full control over the header pins with the latest kernel version. 

Now you might be thinking, ‘Wait, Ubuntu 21.04 released last month, why is this blog post so late?’ Well, it’s because we opened the doors to community members first, and I wanted to organise a community stream over on UbuntuOnAir

What next?

We published a tutorial on Ubuntu dot com where users can follow along and test the GPIO pins for themselves and let us know what they think. The tutorial covers some basic functionality of LGPIO, including examples using basic GPIO control, I²C, PWM, and SPI. I wrote a brief note in the Raspberry Pi forum Ubuntu sub-category to see if there was interest over there too, and, as a part of our (the Ubuntu Community team’s) initiative to restart UbuntuOnAir we’ve scheduled a live stream.   

This is all because we want to build a more interactive community around Ubuntu on the Raspberry Pi. A big part of building a community like this is starting conversations. That started with our call for feedback and to ‘try things out’, and continues next week (June 1st) when Will Wilson (jawn-smith, the author of the tutorial), Dave Jones (waveform and long time Ubuntu Pi guy), and I sit down on a YouTube and Twitch live stream to talk about Ubuntu on Raspberry Pi, the past, the future, and the community. 

Set yourself a reminder and come along. We’ll be answering all the questions and talking more about how you can get involved. 



Related posts


Aaron Prisk
21 September 2023

Join Canonical and the Ubuntu Community at UbuCon LA

Community Article

UbuCon LA is an annual gathering of free and open source enthusiasts, experts and industry leaders all coming together in Latin America. Since 2010, the conference has rotated between different countries in the region with this year’s event taking place in Medellín, Columbia. Folks who attend can expect to find a broad spectrum of talks, ...


Aaron Prisk
21 June 2023

Why you should attend the Ubuntu Summit

Community Article

We are very excited about the upcoming Ubuntu Summit 2023! This year, we’ll be gathering in the beautiful city of Riga, Latvia, from November 3rd-5th. There are many reasons to attend the Ubuntu Summit, including electrifying talks from industry leaders, invigorating hands-on workshops, and a unique opportunity to network with like-minded ...


Philipp Kewisch
15 June 2023

KDE, Ubuntu, and a Million Reasons Why Snaps are Important: Akademy 2023

Ubuntu Article

Join us in Thessaloniki this July for KDE Akademy! Witness the convergence of Ubuntu’s passion for user-friendly, cutting-edge technology with KDE’s innovative spirit. Engage in inspiring discussions and envision the future of the open-source community with us. ...