GPIO access running Android
#16
(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 Smile


Messages In This Thread
GPIO access running Android - by rddragon888 - 07-14-2016, 10:05 AM
RE: GPIO access running Android - by Beta - 07-19-2016, 02:44 PM
RE: GPIO access running Android - by yusijs - 07-20-2016, 08:06 AM
RE: GPIO access running Android - by jodybrown99 - 07-20-2016, 09:34 AM
RE: GPIO access running Android - by Beta - 07-31-2016, 11:16 AM
RE: GPIO access running Android - by triggers12 - 08-23-2016, 12:44 PM
RE: GPIO access running Android - by neyron - 08-25-2016, 02:12 PM
RE: GPIO access running Android - by coolankur49 - 09-10-2016, 01:02 PM
RE: GPIO access running Android - by Anvesh Reddy - 11-06-2017, 07:18 AM
RE: GPIO access running Android - by coolankur49 - 09-10-2016, 10:20 PM
RE: GPIO access running Android - by Workaholic - 01-17-2017, 04:06 PM
RE: GPIO access running Android - by Skivholme - 03-06-2017, 04:57 AM
RE: GPIO access running Android - by Workaholic - 03-06-2017, 10:54 AM
RE: GPIO access running Android - by Skivholme - 03-07-2017, 04:01 AM
GPIO access running Android - by ltorsini - 09-11-2016, 01:19 PM
RE: GPIO access running Android - by Mr.Loken - 01-13-2017, 03:06 AM
RE: GPIO access running Android - by dkryder - 01-13-2017, 11:03 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Android 6.0 Tablet and TV (release candidate, maintained) ayufan 228 392,406 12-29-2020, 01:13 AM
Last Post: firmwarefile
Shocked Remote for Android? liodra 18 30,052 12-23-2020, 06:11 AM
Last Post: Learnincurve
  Adding an accelerometer to Android modsbyus 11 17,019 11-02-2020, 08:12 PM
Last Post: Little_Johnny
  Android Things OS dqvsra 2 7,052 12-03-2019, 09:52 AM
Last Post: hangglider
  Is there another link for Android images? Maalth 3 7,132 10-10-2019, 07:57 AM
Last Post: tophneal
Question Android SDK Oreo NGC6691 2 5,675 07-15-2019, 08:29 PM
Last Post: dazza5000
  Putting Android 9 RockPro64 source into easier to manage repositories dazza5000 0 3,373 07-15-2019, 08:29 PM
Last Post: dazza5000
  Android 5.1.1 TV (old-stable, no longer maintained) ayufan 194 261,582 03-12-2019, 04:53 PM
Last Post: neosapien
  Issues with SD Card and Running Android Twistedx 0 3,582 02-26-2019, 11:58 AM
Last Post: Twistedx
  Android 7.1 (PINE A64(+)) pineadmin 59 106,213 02-10-2019, 07:44 PM
Last Post: mmmarcus

Forum Jump:


Users browsing this thread: 1 Guest(s)