Today, a whim, want to Toss Orange pi Gpio, go to the group to ask a bit, to Gpio to/sys/gpio_sw/operation, behold, turned over also did not find this directory, Gpio words how can not find, originally thought is system problem, The official system all tried once did not find GPIO_SW, after unremitting efforts, and then the help of foreign friends, fix, spit groove under the official QQ group, ask a question are no one, also irrelevantly replying, really hehe, therefore, I decided to study English well, in order to read foreign literature, and foreign friends to communicate.
Workaround: Execute with Root privileges:
modprobe Gpio-sunxi
So the GPIO_SW will appear, do not believe ls/sys/class/try.
Thanks again to foreign friends.
proved again, and clothed himself with hands.
Finally can use the GPIO, the next more interesting things can start to do, please look forward to.
http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=148
Orangepi cannot find a workaround for Gpio