Am Montag, dem 22.12.2025 um 22:52 +0000 schrieb andy pugh:
> The new API for libgpiod is a lot more limited than the old one. It
> used to be possible to find a GPIO line by name, and it also used to
> be possible to iterate through gpiochips by number.
> 
> Now the only way seems to be to iterate through the chips then
> iterate
> through the lines for each chip, comparing to the name list in the
> module parameter.

this tool supplied with libgpiod scans for chips and lines:

https://github.com/brgl/libgpiod/blob/master/tools/gpiodetect.c


-- 
Robert Schöftner <[email protected]>


_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to