debian i2c-dev
#1
I'm new to this so please don't be too hard on me.

I'm setting up an ADS1115 and I have it connected. (nothing being measured yet)

On the pine, I when I run
sudo i2cdetect -y 1
I can see that the ADS1115 is showing up at spot 48

sudo i2cdetect -y 0
shows nothing connected, all "--"

These are my two separate busses, right?

I try to run the sample script
sudo simpletest.py
sample code that is part of the github example for the ADS1115 and it returns a runtime error -
"Could not determine default I2C bus for platform"

I'm lost at what to do to fix it.
I've tried changing the python script to look specifically at address=0x48 on busnum=1, but I get the same error.

On another note, I tried adding i2c-dev to /etc/modules so that it will load and I don't have root access and cannot determine the password - does anyone know what the root password is for debian mate on the pine from longsleep? i've tried debian, password, root and all sorts of things but can't get in to change that /etc/modules file.

Thanks for your help.
  Reply


Messages In This Thread
debian i2c-dev - by pine.adam - 12-15-2016, 09:32 AM
RE: debian i2c-dev - by KnReLe - 12-16-2016, 02:49 AM
RE: debian i2c-dev - by KnReLe - 12-16-2016, 05:19 AM
RE: debian i2c-dev - by pine.adam - 12-16-2016, 07:31 AM
RE: debian i2c-dev - by KnReLe - 12-16-2016, 08:06 AM
RE: debian i2c-dev - by pine.adam - 12-16-2016, 08:09 AM
RE: debian i2c-dev - by pine.adam - 12-16-2016, 04:21 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Debian installer on Pine A64+ but no hdmi mrwick 1 5,883 07-28-2020, 01:49 PM
Last Post: kuleszdl
  Debian Pine64 h264/5 Video under vlc ozcy 6 14,081 04-15-2020, 05:27 AM
Last Post: dmitrymyadzelets
  OMV/debian/systemd: how to start the network kittyland 0 3,261 12-10-2019, 05:29 PM
Last Post: kittyland
  Debian 10 (Buster) in deep freeze - includes support for Pine64+ amp 5 11,220 07-22-2019, 09:29 PM
Last Post: amp
  Pine64 Debian Stretch/mainline [4.14.7] CallMeFoxie 50 130,458 07-22-2019, 09:24 PM
Last Post: amp
  Installing Debian with the Debian Installer (Buster RC1) amp 1 5,206 06-28-2019, 12:35 PM
Last Post: Kaarme42
  Script to build pure Debian images for Pine64+ amp 1 4,660 05-01-2019, 09:09 PM
Last Post: tllim
  Debian (Stretch) for Pine64-LTS wgray 2 6,989 04-04-2019, 09:54 PM
Last Post: wgray
  Is there just one fuctioning Debian Desktop image? KNERD 7 14,458 03-29-2019, 02:00 AM
Last Post: desai_amogh
  (ARCHIVED) Debian Jessie Images (3.10.102 BSP Kernel) New Release lenny.raposo-pine64.pro 259 508,332 05-21-2018, 06:30 AM
Last Post: Luke

Forum Jump:


Users browsing this thread: 5 Guest(s)