[lm-sensors] [RFC PATCH v1 0/2] Add the sensors-config tool

Andre Prendel andre.prendel at gmx.de
Fri Feb 19 20:38:21 CET 2010

Hi Hans,

here is an updated version of the sensors-config tool.

Changes in v2:

Now the tool parses the configuration pages from lm-sensors.org to
determine the available config files.

Further I've introduced some metadata to the config files. For the
moment these are

# board_vendor: BOARDVENDOR
# board_name: BOARDNAME

The related files are located under /sys/class/dmi/id. board_name can
appear multiple times. So one config file can be used for several

The config files now will be installed under /var/lib and a matching
config will be copied as automobo.conf to /etc/sensors.d.

And I added a short script for use at startup. The script looks for an
suitable config and installs it otherwise it deletes an existing one.

So, this should address most of your comments from last email.

First question: What do you thing about the header keywords?

Maybe we could choose some of the available configs and add a
header. So you and can test the tool by yourself.

Second question: What should we use for the header data?

I'd suggest to only use a substring of the real dmi string. The
sensors-config tool don't need an exact match of the string.

For example

# board_vendor: Asus

matches for

ASUSTeK Computer INC.

Ok Hans, it's your turn.


More information about the lm-sensors mailing list