Hello there,
I have built a package (PlebGPIO) which simplifies access to the GPIO bus used by Raspberry Pi and some other companies. Written in ‘C’, the repo is here:
https://github.com/briantbutton/plebgpio. We use it in production on Ubuntu 24.04. AFAIK,
it is only relevant in an ARM64 architecture.
The GPIO can used for a lot of things, but mostly for LEDs and buttons, which is the sweet spot for PlebGPIO. GPIO interfaces on Raspberry Pi are currently a mess of partial, abandoned and nonfunctional libraries (see links below).
https://raspberrypi.stackexchange.com/questions/145013/future-of-gpio-access-on-pi5
https://raspberrypi.stackexchange.com/questions/147465/current-proper-way-to-interface-gpio-from-c-code
https://raspberrypi.stackexchange.com/questions/145295/raspberry-pi-5-gpio-library-questions/150707
Since we use SystemD to simplify things for the application software, it seemed like a Debian package would be the best way to deliver this to folks. You know, official, easy, authorized. Installable with apt without any special hassle.
I have a package together as of today. It installs correctly with dpkg but I do not know what to do next.
Hopefully someone will tell me.
Best,
Brian
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode:
space; line-break: after-white-space;" class=""><span style="font-size: 14px;" class=""><font face="Trebuchet MS" class="">Hello there,</font></span></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-
space;" class=""><font face="Trebuchet MS" class=""><span style="font-size: 14px;" class=""><br class=""></span></font></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><font face="
Trebuchet MS" class=""><span style="font-size: 14px;" class="">I have built a package (PlebGPIO) which simplifies access to the GPIO bus used by Raspberry Pi and some other companies. Written in ‘C’, the repo is here: <a href="https:/
/github.com/briantbutton/plebgpio" class="">
https://github.com/briantbutton/plebgpio</a>. We use it in production on Ubuntu 24.04. AFAIK, it is only relevant in an ARM64 architecture.</span></font></div><div dir="auto" style="word-wrap: break-
word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><font face="Trebuchet MS" class=""><span style="font-size: 14px;" class=""><br class=""></span></font></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space;
line-break: after-white-space;" class=""><font face="Trebuchet MS" class=""><span style="font-size: 14px;" class="">The GPIO can used for a lot of things, but mostly for LEDs and buttons, which is the sweet spot for PlebGPIO. </span></font><span
style="font-family: "Trebuchet MS"; font-size: 14px;" class="">GPIO interfaces on Raspberry Pi are currently a mess of partial, abandoned and nonfunctional libraries (see links below).</span></div><div dir="auto" style="word-wrap: break-word; -
webkit-nbsp-mode: space; line-break: after-white-space;" class=""><font face="Trebuchet MS" class=""><span style="font-size: 14px;" class=""><a href="
https://raspberrypi.stackexchange.com/questions/145013/future-of-gpio-access-on-pi5" class="">
https://
raspberrypi.stackexchange.com/questions/145013/future-of-gpio-access-on-pi5</a></span></font></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><font face="Trebuchet MS" class=""><span
style="font-size: 14px;" class=""><a href="
https://raspberrypi.stackexchange.com/questions/147465/current-proper-way-to-interface-gpio-from-c-code" class="">
https://raspberrypi.stackexchange.com/questions/147465/current-proper-way-to-interface-gpio-from-
c-code</a></span></font></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><font face="Trebuchet MS" class=""><span style="font-size: 14px;" class=""><a href="
https://raspberrypi.
stackexchange.com/questions/145295/raspberry-pi-5-gpio-library-questions/150707" class="">
https://raspberrypi.stackexchange.com/questions/145295/raspberry-pi-5-gpio-library-questions/150707</a></span></font></div><div dir="auto" style="word-wrap: break-
word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><font face="Trebuchet MS" class=""><span style="font-size: 14px;" class=""><br class=""></span></font></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space;
line-break: after-white-space;" class=""><span style="font-family: "Trebuchet MS"; font-size: 14px;" class="">Since we use SystemD to simplify things for the application software, it seemed like a Debian package would be the best way to deliver
this to folks. You know, official, easy, authorized. Installable with </span><span style="font-size: 14px; background-color: rgb(235, 235, 235);" class=""><font face="Menlo" class="">apt</font></span><span style="font-family: "Trebuchet
MS"; font-size: 14px;" class=""> without any special hassle.</span></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><span style="font-family: "Trebuchet MS"; font-size:
14px;" class=""><br class=""></span></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><font face="Trebuchet MS" class=""><span style="font-size: 14px;" class="">I have a package
together as of today. It installs correctly with dpkg but I do not know what to do next.</span></font></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><font face="Trebuchet MS"
class=""><span style="font-size: 14px;" class=""><br class=""></span></font></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><font face="Trebuchet MS" class=""><span style="font-size:
14px;" class="">Hopefully someone will tell me.</span></font></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><font face="Trebuchet MS" class=""><span style="font-size: 14px;"
class=""><br class=""></span></font></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><font face="Trebuchet MS" class=""><span style="font-size: 14px;" class=""><br class=""></span></
font></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><font face="Trebuchet MS" class=""><span style="font-size: 14px;" class=""><br class=""></span></font></div><div dir="auto" style="
word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><font face="Trebuchet MS" class=""><span style="font-size: 14px;" class="">Best,</span></font></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode:
space; line-break: after-white-space;" class=""><font face="Trebuchet MS" class=""><span style="font-size: 14px;" class=""><br class=""></span></font></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-
space;" class=""><font face="Trebuchet MS" class=""><span style="font-size: 14px;" class="">Brian</span></font></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><font face="Trebuchet MS"
class=""><span style="font-size: 14px;" class=""><br class=""></span></font></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><br class=""></div></div>
</body></html>
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)