On Tue, 23 Dec 2025 at 10:15, Robert Schöftner <[email protected]> wrote:
> this tool supplied with libgpiod scans for chips and lines: > > https://github.com/brgl/libgpiod/blob/master/tools/gpiodetect.c There is sample code that replicates the previously built-in gpio_line_find_by_name: https://github.com/brgl/libgpiod/blob/master/examples/find_line_by_name.c This uses dirent.h I am still annoyed that the new API is so much less functional than the old one. (Especially as I wrote the original hal_gpio for fun, have never used it myself, and now have the task of rewriting it when it doesn't feel like fun) Whether the existing driver could work with RTAI in the kernel I have never tested, not having a non-ARM PC with usable GPIO (and RTAI being x86-only AFAIK) But the driver does have conventional provision for using different versions of the RTAPI. -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1912 _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
