Hi, @Terry
I want to send the hight/low voltage level to GPIOH_5 (pin 37) on VIM1_Pie_V211022 image, I follow your instructions How to access GPIO on Android but it not work.
My re-produce steps:
$ adb shell
kvim:/ $ su
kvim:/ # echo 176 > /sys/class/gpio/export
1|kvim:/ # echo “out” > /sys/class/gpio/gpio176/direction
/system/bin/sh: can't create /sys/class/gpio/gpio176/direction: No such file or directory
And I list files in /sys/class/gpio, I got
1|kvim: # ls -la /sys/class/gpio
total 0
drwxr-xr-x 2 root root 0 2023-01-04 11:12 .
drwxr-xr-x 124 root root 0 2023-01-04 11:12 ..
-rw-rw-rw- 1 root root 4096 2023-01-04 14:01 export
lrwxrwxrwx 1 root root 0 2023-01-04 12:16 gpiochip401 -> ../../devices/platform/pinctrl@4b0/gpio/gpiochip401
lrwxrwxrwx 1 root root 0 2023-01-04 12:16 gpiochip501 -> ../../devices/platform/pinctrl@14/gpio/gpiochip501
-rw-rw-rw- 1 root root 4096 2023-01-04 11:12 unexport
Please give me an advise, thank you.