GPIO access in Android on OrangePi i96

Has anyone managed to get the GPIO working in Android on the i96?

I can control LED2 using gpio#126 (C30) via the /sys/class/gpio interface but I can’t seem to get any of the other GPIO to function as an output. I’m just using /sys/class/gpio/* files as root to export each GPIO, set the direction to “out” and use “value” to attempt to change the output.

I’m using the OrangePi_i96_NandStartup_V1.2.rar image Android image provided on OrangePi.org.

If someone can verify that they’ve been able to do this, it would be a great help.

Problem is the 2G-IOT board and i96 board use the same SOC (RDA8810) but internal PCB wiring is quite different. See my note in this OPi Forum thread WiringPi on OrangePi 2G-IOT[Beta] - page 3 - News - OrangePi - Powered by Discuz! (comparision table)