Great little distro and super for my headless controller application.
I am trying to install a real time clock - , but after installing i2c-tools I am getting the following:
when i2cdetect used:
could not open /dev/i2c-0
I had the same issue with Raspian Wheezy and had to use raspi-config to enable i2c kernel hardware
There must be a file to configure , but I cannot find it, can anyone advise please?
Aidan Hedley wrote:Great little distro and super for my headless controller application.
I am trying to install a real time clock - , but after installing i2c-tools I am getting the following:
when i2cdetect used:
could not open /dev/i2c-0
I had the same issue with Raspian Wheezy and had to use raspi-config to enable i2c kernel hardware
There must be a file to configure , but I cannot find it, can anyone advise please?
Hi Aidan,
I'll have to look into this further. But in the mean time, you can still use raspi-config with DietPi to enable i2c:
Edit:
Turns out you can just add this to your /DietPi/config.txt
dtparam=i2c_arm=on Reference
Kind Regards,
Dan
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.