![]() |
Connect i2c under Remix OS - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4) +--- Forum: Android on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=5) +---- Forum: Remix OS (https://forum.pine64.org/forumdisplay.php?fid=23) +---- Thread: Connect i2c under Remix OS (/showthread.php?tid=978) |
Connect i2c under Remix OS - IlyaM - 05-07-2016 Hi everyone. Could you tell me how can I connect i2c device to pine64 under Remix OS. I plugged pins to pi-2 connector of pine64 Vin -> Pin1 (Vdd) GND -> Pin6 (Gnd) SDA -> Pin3 (SDA) SCL -> Pin5 (SCL) Wrote some app on Android to detect I2C device, it shows no devices, moreover my i2c device has led which is on when the vdd is plugged, i see that led is off. I've attached the picture where you can see how my device plugged and its state (led is off) link RE: Connect i2c under Remix OS - tkaiser - 05-07-2016 (05-07-2016, 06:03 AM)IlyaM Wrote: Wrote some app on Android to detect I2C device, it shows no devices, As expected, Allwinner forgot to enable the necessary kernel config bits. I2C in Android/RemixOS can't work. RE: Connect i2c under Remix OS - IlyaM - 05-07-2016 Hmmm.... Thanks for your reply! Is there any way how to include I2C in kernel? Maybe rebuild it? You share the link where can I find this config file. Thanks in advance p.s.: I was wrong, the power pin from pi-2 is working, my device (BMP180) doesn't have a led (forgot about it), so I attached it to +5v of pi-2 and GND of pi-2 and screened logs from arduino (where I use 2 pins of i2c) |