gpiodetect

Tools for interacting with Linux GPIO character device - binary

Install

All systems
curl cmd.cat/gpiodetect.sh
Debian Debian
apt-get install gpiod
Ubuntu
apt-get install gpiod
image/svg+xml Kali Linux
apt-get install gpiod
Fedora
dnf install libgpiod-utils
Windows (WSL2)
sudo apt-get update sudo apt-get install gpiod
Raspbian
apt-get install gpiod

gpiod

Tools for interacting with Linux GPIO character device - binary

libgpiod encapsulates the ioctl calls and data structures behind a straightforward API. This new character device interface guarantees all allocated resources are freed after closing the device file descriptor and adds several new features that are not present in the obsolete sysfs interface (like event polling, setting/reading multiple values at once or open-source and open-drain GPIOs). This package contains the gpiod binary tools.

libgpiod-utils

Utilities for GPIO