Page 1 of 1

GPIO wrong access address

Posted: Tue Feb 28, 2017 5:12 am
by ehsanaboo
I'm trying to use the HardwareController and libfriendlyarm-hardware.so to get access to GPIO.
But it comes with this error: "D/FriendlyARM-HW-Lib: Unable to open file /sys/devices/virtual/gpio/gpio62/direction"
I guess the problem is with the library file which is trying to look into wrong location.
Any solution to this?

Re: GPIO wrong access address

Posted: Wed Mar 22, 2017 8:32 am
by chensy
Hi,
We updated the latest 2017-03-08 (4418,6818) img has support android 4 android 5 hardware access library, you can refer to
http://wiki.friendlyarm.com/wiki/index. ... are_Access
Thanks!

Re: GPIO wrong access address

Posted: Wed Mar 22, 2017 2:08 pm
by lz2021
After installing android 4.4 the problem is solved, apparently the error occurs for Android 5.1

Re: GPIO wrong access address

Posted: Fri May 05, 2017 3:01 am
by ehsanaboo
Thanks Chensy. The problem is solved. The GPIOexport funtion is also working properly. SPI is working fine as well.

Re: GPIO wrong access address

Posted: Mon May 15, 2017 9:09 am
by ekrem
chensy wrote:
Hi,
We updated the latest 2017-03-08 (4418,6818) img has support android 4 android 5 hardware access library, you can refer to
http://wiki.friendlyarm.com/wiki/index. ... are_Access
Thanks!



PLEASE ADD KERNEL LI-ION BATTAERY CHARGE OPTION