Hello there. Not sure where this fits in, but had to post it somewhere.
Since the gpio-sysfs interface has been deprecated since somewhere around 2020-ish, (meaning that some newer 5.15 kernels does not have the /sys/class/gpio interface anymore by default) how would one go to control the gpios, without having access to the /sys/class/gpio interface?
Apparently, there’s a few commands one can use to read/set the gpiochip device’s inputs/outputs, with library access as well. (gpioset, gpioinfo and gpioget)
While one could still enable the legacy gpio-sysfs stuff, but since I need to monitor/control quite a few inputs/outputs (32 inputs/outputs on top off my head) without hogging the system with read/write requests to /sys/class/gpio/gpioX devices, would it be better to somehow grant access the libgpiod library (no idea what it accesses and where) through the gadget snap?
@ogra This might fire-off some debates, so not sure who to involve in this, that Ubuntu Core can support the gpio-char devices? Usually, they are available through /dev/gpiochipX…