You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the gpiodDetect function of pirLib.js, the chip checking if (label.includes("pinctrl-")) { doesn't work for Le Potato AML-S905X-CC because none of the chip labels begin with pinctrl.
I'm using GPIO8 on the board which corresponds to chip 1 line 91 and I was able to get the module working by just changing the check to if (label.includes("periphs-")) {, but it'd be nice if there was a way in the config to directly specify your chip+line to configure a board, that way it's easier to stay updated with master without having to make the change each time.
The text was updated successfully, but these errors were encountered:
In the gpiodDetect function of pirLib.js, the chip checking
if (label.includes("pinctrl-")) {
doesn't work for Le Potato AML-S905X-CC because none of the chip labels begin with pinctrl.The logs show the following chip labels:
[2025-01-03 00:09:36.224] [LOG] [MMM-Pir] [LIB] [PIR] [GPIOD] Check chip 0: aobus-banks
[2025-01-03 00:09:36.226] [LOG] [MMM-Pir] [LIB] [PIR] [GPIOD] Check chip 1: periphs-banks
I'm using GPIO8 on the board which corresponds to chip 1 line 91 and I was able to get the module working by just changing the check to
if (label.includes("periphs-")) {
, but it'd be nice if there was a way in the config to directly specify your chip+line to configure a board, that way it's easier to stay updated with master without having to make the change each time.The text was updated successfully, but these errors were encountered: