Power & Source of Big Ideas

GPIO wrong access address

Moderators: chensy, FATechsupport

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?
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!
After installing android 4.4 the problem is solved, apparently the error occurs for Android 5.1
Thanks Chensy. The problem is solved. The GPIOexport funtion is also working properly. SPI is working fine as well.
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

Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 5 minutes)
Most users ever online was 106 on Tue Jun 04, 2019 5:48 pm

Users browsing this forum: No registered users and 2 guests