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 3,333 07-28-2020, 01:49 PM
Last Post: kuleszdl
  Debian Pine64 h264/5 Video under vlc ozcy 6 9,002 04-15-2020, 05:27 AM
Last Post: dmitrymyadzelets
  OMV/debian/systemd: how to start the network kittyland 0 1,972 12-10-2019, 05:29 PM
Last Post: kittyland
  Debian 10 (Buster) in deep freeze - includes support for Pine64+ amp 5 6,858 07-22-2019, 09:29 PM
Last Post: amp
  Pine64 Debian Stretch/mainline [4.14.7] CallMeFoxie 50 82,510 07-22-2019, 09:24 PM
Last Post: amp
  Installing Debian with the Debian Installer (Buster RC1) amp 1 3,277 06-28-2019, 12:35 PM
Last Post: Kaarme42
  Script to build pure Debian images for Pine64+ amp 1 2,758 05-01-2019, 09:09 PM
Last Post: tllim
  Debian (Stretch) for Pine64-LTS wgray 2 4,120 04-04-2019, 09:54 PM
Last Post: wgray
  Is there just one fuctioning Debian Desktop image? KNERD 7 9,239 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 318,603 05-21-2018, 06:30 AM
Last Post: Luke

Forum Jump:


Users browsing this thread: 1 Guest(s)