Conky and i2c. Help needed

Add functionality to your desktop
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Conky and i2c. Help needed

Post by Logansfury »

Hello all,

I recently had a bad experience with the app i2c-tools and had to purge it from my system and rescript the conky widget that got it's data from i2c-tools to use a different resource

Now I have learned that there is an i2c version built into mint by default, and it is referenced in the conky manual:

Code: Select all

       i2c (dev) type n (factor offset)
              I2C  sensor from sysfs (Linux 2.6). Parameter dev may be omitted
              if you have only one I2C device. Parameter type is  either  'in'
              or 'vol' meaning voltage; 'fan' meaning fan; 'temp' meaning tem‐
              perature.  Parameter  n   is   number   of   the   sensor.   See
              /sys/bus/i2c/devices/ on your local computer. The optional argu‐
              ments 'factor' and 'offset' allow precalculation of the raw  in‐
              put, which is being modified as follows: 'input = input * factor
              + offset'. Note that they have to be  given  as  decimal  values
              (i.e. contain at least one decimal place).
I note there is a fan parameter. I am curious if it can get RPM data from my GPU fan. I would also like to determine which i2c buses are associated with which display monitors.

Can anyone help me with the usage of this conky command please?

Thanks for reading,

Logan
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
Post Reply

Return to “Compiz, Conky, Docks & Widgets”