WernherVonData
Members
-
Joined
-
Last visited
Solutions
-
WernherVonData's post in Missing GPIO on Armbian for BananaPI M2B was marked as the answerNever mind. Solved it.
Went here: https://linux-sunxi.org/GPIO (this image is on sunxi kernel, probably for other kernels it might be different).
Checked this file
cat /sys/kernel/debug/pinctrl/*/pinmux-pins And there finally I was able to know which pin on the board is mapped to which port in the system. 24 is not on that list, thus it was raising an error.
Then just went with the libgpiod library and the magic happened.