WiringOP for orange pi pc plus (Android) 看全部

I am trying to get the wiringOP to work on the pc plus board running Android , I have downloaded https://github.com/zhaolei/WiringOP and followed the instructions given there, but when  I run the command 'gpio readall' nothing happens . Can anyone help me out, Is it not supposed to work with android?   
  • Sofa pmpp
  • 2017-5-10 04:10:22
Edited by pmpp at 2017-5-10 04:29

hi @flyingbaloon ,  you need root (uid=0) access to make WiringPI-OP works because it access /dev/mem
WiringOP's gpio command works fine on Orange PI PC , I have tested it on H3Droid 1.2.3+  ( which allows terminal root access and gcc 4.9.2 static builds ), while I2C works fine only so far on opipc Lite.


attachment: 您需要登录才可以下载或查看附件。没有账号?Register
quote: pmpp replied at 2017-5-10 04:10
hi @flyingbaloon ,  you need root (uid=0) access to make WiringPI-OP works because it ac ...

Hi @pmpp  can you please tell me how you have managed to get root access , using h3droid , I am unable to run kingoroot in orange pi pc plus with h3droid .   
  • Floor pmpp
  • 2017-6-20 14:00:51
Edited by pmpp at 2017-6-20 18:31

@flyingbaloon  h3droid has permanent full root access on UART debug port ( three wires and a $.50 debug uart ttl adapter ) you' ll have password less /system/bin/sh as root there even before the system is up. This is enough for most of situations ...

The screen shown above is the  terminal choosen for my future SDK (called "u-root") connected to H3Droid ssh root daemon that use the same priv/pub key used in official installer. It offers bash, gcc 6.3, python 3.6.1 + wiriing pi python. It also offer *non root gpio/serial/pwm/i2c/serialports via a specialized su daemon* via json rpc or hessian rpc for standard user applications.
quote: pmpp replied at 2017-6-20 14:00
@flyingbaloon  h3droid has permanent full root access on UART debug port ( three wires and a $.50 de ...

thanks
12NextPage