How to get GPIO running using the new UP Squared Pro?
datachaos
New Member Posts: 3 ✭
Hello,
I followed the instructions from here but without any success to get the GPIO running with mraa under Ubuntu 18.04.5 (server) including the upboard-extras.
Here some system outputs:
uname -a:Linux lidarbox 5.4.0-1-generic #0~upboard2-Ubuntu SMP Sun Oct 25 14:06:23 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
dmesg|grep pinctrl:[ 0.306554] pinctrl core: initialized pinctrl subsystem
mraa-gpio list:Version v2.0.0 on Unknown platform
mraa-gpio listNo Pins
I've also tried to run mraa as sudo with no success.
Tagged:
Comments
-
Update: Using the tool gpiod I can retrieve following data.
gpiodetect:
gpiochip0 [INT3452:00] (78 lines) gpiochip1 [INT3452:01] (77 lines) gpiochip2 [INT3452:02] (47 lines) gpiochip3 [INT3452:03] (43 lines) gpiochip4 [Raspberry Pi compatible UP GPIO] (28 lines)
gpioinfo 4:
gpiochip4 - 28 lines: line 0: unnamed unused input active-high line 1: unnamed unused input active-high line 2: unnamed unused input active-high line 3: unnamed unused input active-high line 4: unnamed unused input active-high line 5: unnamed unused input active-high line 6: unnamed unused input active-high line 7: unnamed unused input active-high line 8: unnamed unused input active-high line 9: unnamed unused input active-high line 10: unnamed unused input active-high line 11: unnamed unused input active-high line 12: unnamed unused input active-high line 13: unnamed unused input active-high line 14: unnamed unused input active-high line 15: unnamed unused input active-high line 16: unnamed unused input active-high line 17: unnamed unused input active-high line 18: unnamed unused input active-high line 19: unnamed unused input active-high line 20: unnamed unused input active-high line 21: unnamed unused input active-high line 22: unnamed unused input active-high line 23: unnamed unused input active-high line 24: unnamed unused input active-high line 25: unnamed unused input active-high line 26: unnamed unused input active-high line 27: unnamed unused input active-high
-
Duplicate post, please follow: https://forum.up-community.org/discussion/4676/how-to-get-gpio-running-using-the-new-up-squared-pro
This discussion has been closed.