Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Linux provides some tools to interact with the gpiochip interface (which
Motivation for this change
In the upgrade to 20.03, the sysfs interface for GPIO pins was removed for the stock kernel. The new gpiochip interface is less straightforward to interact with, and these tools were not previously packaged.
I've tested the binaries on a raspberry pi 3.
10 packages built:
- linuxPackages.gpio-utils (linuxPackages_5_4.gpio-utils ,linuxPackages_hardened.gpio-utils ,linuxPackages_xen_dom0.gpio-utils ,linuxPackages_xen_dom0_hardened.gpio-utils)
- linuxPackages_5_6.gpio-utils (linuxPackages_latest.gpio-utils ,linuxPackages_latest_hardened.gpio-utils ,linuxPackages_latest_xen_dom0.gpio-utils ,linuxPackages_latest_xen_dom0_hardened.gpio-utils)
- linuxPackages_hardkernel_4_14.gpio-utils (linuxPackages_hardkernel_latest.gpio-utils)
Linux provides some tools to interact with the gpiochip interface (which replaces the deprecated sysfs GPIO interface). Expose these as a package. The tool has not changed much recently, so there is no need to package a version for each kernel.