i2c in android
#2
(03-09-2017, 06:24 AM)Skivholme Wrote: Hi,

Has anyone had luck using i2c in android ?

So, I've been trying to play with this, mostly from within a chroot linux environment for better visibility into what's going on... I really want to extend via i2c more than GPIO, and perhaps daisy chain sensors or arduinos off of it...

I'm running ayufan's 6.0 android build with a Kali chroot inside linux deploy. The pine64 GPIO pins are supported fine from both 'environments', but from looking at dmesg, /dev/ and messing with i2c-utils, I don't think that the built kernel has the i2c dev support.
I started considering how to just rebuild a custom kernel for the image, just adding i2c device support to the .config... but got sidetracked. I didn't confirm that this is the actual cause or solution; I'm just going off of the fact there's no /dev/i2c* . May they just need mknod'ed, if the config is already in there; Haven't verified at all.


Messages In This Thread
i2c in android - by Skivholme - 03-09-2017, 06:24 AM
RE: i2c in android - by elixx - 09-03-2017, 06:42 AM
RE: i2c in android - by elixx - 09-03-2017, 08:42 AM
RE: i2c in android - by elixx - 09-09-2017, 06:48 AM

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

Forum Jump:


Users browsing this thread: 1 Guest(s)