Skip to contentSkip to conversation

Per motherboard config

lm-sensors Phillip Susi 2 participants 3 messages Jan 20, 2012 – Jan 24, 2012

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The default sensors3.conf does a good job configuring the sensors on a per-chip basis, but there is a good deal of variation on a per-motherboard basis as well. Is it possible to key the config on the motherboard model, and would there be any interest in gathering known motherboard configs into the default sensors3.conf to do things like hide sensors that are known to not be connected and thus have invalid readings?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPGbxzAAoJEJrBOlT6nu75pGQIAI+rcJ2/8AGYJsr4Y01lUJmO 3tOINRMgGsuNvkZlE/JV8+cQmWced1gndNJk5VilioYmg1zco1oqi7D8gyRpCdXr UeG2CE6S2buH4Jk6h6B6hHMOwV3TnVhvZV+v1xDeOHe4rkTR8WBqbJylzV98t6cy NmBMlVXuAMLQB3hsyhNumFltyaX34smqx4HnB6pOpH/6WoCIuNHl7h88UUVF2iNK Qlve9Ru3NfKI45zOV4L5R6ZZsPe3SqBkzZhK7LjWUjbx/gpEG/fb22DKsA0P0mVn re1NKUKUPztVSpdpVBgw0jgEZmHp+5BjnqQ6Npwp/Dnf3BrCzZtIz7Vgap9CHow=Etu5 -----END PGP SIGNATURE-----

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#1 lore raw

Hi Phillip,

Quoted 4 lines · Phillip Susi

The default sensors3.conf does a good job configuring the sensors on a per-chip basis, but there is a good deal of variation on a per-motherboard basis as well. Is it possible to key the config on the motherboard model,

No, this isn't possible (at least not currently.) libsensors has now way to know which chip is on what board on a given system. It could check the DMI IDs but this could lead to false positives on some motherboards / graphics cards combinations for example. Plus we have no syntax to express this in the sensors3.conf format anyway.

Quoted 4 lines

and would there be any interest in gathering
known motherboard configs into the default sensors3.conf to do things like hide sensors that are known to not be connected and thus have invalid readings?

We do already gather known motherboard configuration files, see:
http://www.lm-sensors.org/wiki/Configurations
http://khali.linux-fr.org/devel/lm-sensors/
If you have more, feel free to send them to the list and we'll add them, or we can create a wiki account for you and you add them yourself.

These aren't meant to go to the default sensors3.conf file, we used to do that years ago and this resulted in a huge default configuration file which took long to parse and was a pain to maintain.

The missing piece now is a script that would check the DMI data of the motherboard, look for a suitable configuration file and download it to /etc/sensors.d semi-automatically. This could be integrated into sensors-detect or made a separate script. This has been discussed in the past already, some implementations have even been floating around. Now it's really a matter of someone taking the time to integrate it all properly.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#2 lore raw
In reply to Phillip Susi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 7 lines · Jean Delvare

The missing piece now is a script that would check the DMI data of the motherboard, look for a suitable configuration file and download it to /etc/sensors.d semi-automatically. This could be integrated into sensors-detect or made a separate script. This has been discussed in the past already, some implementations have even been floating around. Now it's really a matter of someone taking the time to integrate it all properly.

Now that sounds like a good idea!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPHr0bAAoJEJrBOlT6nu75R/QH/jU6CAqg8FMSpAzXvc/7CDTt 5m21j6zJPCJmqZm3yX2aUkc5aPrqS8m2gsfg11aBwYeCPCsL5eQq2Ke2fu33hR4l U22E5QfComWjoYaos52h8F92C2mrBpdcW4Oxx9xp1SqTL42IhRgiQgBGdEEmXH4i qV2Uhdvdm5XT9IpMajFl8cgN9l88nwdGnVRXMXEBlQ2OAVbzTlBROCToDHu5pRR6 oCje7jrs9KYB+7Qv8NWOoJsp/tWZS8zaC4tx3xGxUGl/nPtZ9CwgH1TvotgxFRT3 6K4+J47MebRpBnfJw502pc1pHdVhYUgSR+aPqIYOOBY71Wb1k8vGYQknvcL0ebM=MiV0 -----END PGP SIGNATURE-----

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors