03-06-2017, 10:54 AM
(03-06-2017, 04:57 AM)Skivholme Wrote:(01-17-2017, 04:06 PM)Workaholic Wrote:(09-10-2016, 01:11 PM)MarkHaysHarris777 Wrote: I was reading in the sunxi manual for gpio access, and found that the kernel option CONFIG_GPIO_SYSFS must be enabled. I checked my Android /sys/class/ folder and found that gpio is not there; the kernel in my Android has not been anabled for CONFIG_GPIO_SYSFS.
It should be easy to enable this option, and frankly, it should be enabled by default.
edit: PS I spoke with ayufan about this, and will be updating the configs for his kernel, so that the CONFIG_GPIO_SYSFS will be enabled in his kernel soon...
marcus
Is there any progress regarding GPIO under Android?
I'd like to use at least couple GPIO (at least output) pins, for example intended for LED flashlight and vibration motor. I need them to control slave devices, to re-init USB OTG connection or for hard reset if it hangs and doesn't response.
There is a android 7.0 beta image on the download page where GPIO is enabled, i have tried it a little and it works
Good to know! Will try too, fortunately now there are images combined for LCD and HDMI ...
Could you share your experience "how-to" a bit and which exactly things were working well?
Thanks a lot in advance Skivholme!
d;-)