Skip to content
systemcoding.dev

Tag

libgpiod

7 posts

Flat illustration of a single-board computer with its SoC, memory, header and ports, with the Linux, NXP and Raspberry Pi logos.
Embedded Linux

Scan an I2C Bus for Devices With i2cdetect

Enable /dev/i2c-N, list adapters with i2cdetect -l, scan a bus with i2cdetect -y and read the address grid, including reserved ranges and missing devices.

6 min read
Flat illustration of a single-board computer with its SoC, memory, header and ports, with the Linux, NXP and Debian logos.
Embedded Linux

Why the sysfs GPIO Interface Is Deprecated

The /sys/class/gpio interface is deprecated in Linux 6.12 because of unstable numbering, leaked pins, races and missing features. Here is what replaced it.

6 min read