Hi,
This is my understanding so take it with a box of salt ...
Ref:
PhilE » Wed Jan 21, 2015 4:48 pm https://www.raspberrypi.org/forums/view ... hp?t=97314
In the v104 config.txt the i2c parameters are:
#-------i2c-------------
dtparam=i2c_arm=off
dtparam=i2c1=off <<<<<< This is a alias of the above, not required
i2c_arm_baudrate=100000 <<<<<< This should be dtparam=i2c_baudrate=100000
I thought there was i2c configuration in your dietpi configuration software, but couldn't see it.
Regards,
Gordon Williams
i2c setting in config.txt
Re: i2c setting in config.txt
Hi Gordon,Gord_W wrote:Hi,
This is my understanding so take it with a box of salt ...
Ref:
PhilE » Wed Jan 21, 2015 4:48 pm https://www.raspberrypi.org/forums/view ... hp?t=97314
In the v104 config.txt the i2c parameters are:
#-------i2c-------------
dtparam=i2c_arm=off
dtparam=i2c1=off <<<<<< This is a alias of the above, not required
i2c_arm_baudrate=100000 <<<<<< This should be dtparam=i2c_baudrate=100000
I thought there was i2c configuration in your dietpi configuration software, but couldn't see it.
Regards,
Gordon Williams
Thanks for the info. I will look into those settings and confirm.
The i2c configuration is currently under:
dietpi-config > Display Options
As i2c has many other uses (eg: audio/hat devices), I really need to move it to somewhere else

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.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: i2c setting in config.txt
Ah, I thought that I had seen the i2c setup somewhere. You have an advanced settings menu. That might be the best place for it.
Gordon
Gordon
Re: i2c setting in config.txt
Sounds perfect, will do Gordon.Gord_W wrote:Ah, I thought that I had seen the i2c setup somewhere. You have an advanced settings menu. That might be the best place for it.
Gordon
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.
Donating is the easiest – you can use PayPal or become a DietPi patron.