I2C on Odroid C2 with volumio 2.344 not working

I’m making a fresh install of volumio on my odroid C2.
I want to use some of my python scripts again which use the I2C bus.
I had I2C working on an older version of volumio without any problem.
But now I don’t get it running again. I don’t understand what I’m doing wrong.

This is what I do:
got to x.x.x.x/dev turn SSH on
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get install python-setuptools python-dev
sudo apt install swig3.0
sudo apt-get install python-pip
git clone github.com/hardkernel/WiringPi2-Python.git
cd WiringPi2-Python
git submodule init
git submodule update
swig3.0 -python -threads wiringpi.i
sudo python setup.py build install
sudo apt-get install python-smbus
sudo apt-get install i2c-tools
sudo apt-get install libi2c-dev
sudo modprobe i2c-dev
sudo modprobe aml_i2c

edit file:
sudo nano /etc/modules
add the following lines:

save file

sudo adduser volumio i2c

But unfortunatly when I check I2C: i2cdetect -y -r 1
it returns:
Error: Could not open file /dev/i2c-1' or /dev/i2c/1’: No such file or directory

Hopefully anybody can help me out on this one.

Strange, /dev/I2c-1 works out-of-the-box, we use it to drive the HiFi Shield 2 DAC, always been like that.
Use i2cdetect before you install anything new, i suspect you might be overwriting something.

Thanks, that could be the case.
I’m going tot try that.

Any follow-up or other typical Odroid issues please report in the Odroid topic of the “Community Portings” section.


I downloaded the 14 april 2018 version of volumio and installed it.
I directly looked into the dev folder.
There is still no /dev/i2c-1 file.

In the older version of volumio I know this file was there.

Trying i2cdetect returns
volumio@volumio:/dev$ i2cdetect -y -r 1
-bash: i2cdetect: command not found

Selecting the hifishield/shield+ in settings playback options doesn’t make a difference.
I noticed that it is not possible to select hardware mixer type at settings volume options.
Maybe because I2C isn’t working.

I don’t know of it matters that I don’t use the orginal hifi shield. But that has never been a problem
with the older volumio version.

Thanks again for your help.

HiFi Shield and HiFi Shield + do not use i2c, only Shield 2 does.
I’ll have a closer look to a freshly started odroid c2 and come back with notes to compare.

i2cdetect is not available by default

To install sudo apt-get update sudo apt-get install i2c-tools

It would also help if you could do a log for me.
To create a log: go to the volumio.local/dev page, fill in the description and send.
A URL will be returned after a few seconds, I need that one so I can have a look.
You will get a PM with an email address to send the URL to.

Can we follow up in the Community Portings, Volumio on Odroids section please?

Edit: This topic is now continued in the Community Portings