i2c setting in config.txt

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
Gord_W
Posts: 134
Joined: Sat Oct 24, 2015 6:30 pm

i2c setting in config.txt

Post by Gord_W »

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
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: i2c setting in config.txt

Post by Fourdee »

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
Hi Gordon,

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 :)
Attachments
Untitled.png
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.
Gord_W
Posts: 134
Joined: Sat Oct 24, 2015 6:30 pm

Re: i2c setting in config.txt

Post by Gord_W »

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
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: i2c setting in config.txt

Post by Fourdee »

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
Sounds perfect, will do 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.
Post Reply