Add hwmon /sensors support (#278)

* Add hwmon support (mainly known from lm-sensors)

This commit adds initial support for linux hardware sensors, exported
through sysfs.

Details of the interface can be found at
https://www.kernel.org/doc/Documentation/hwmon/sysfs-interface

* Add end-to-end test with some real life data

* Cleanup comments on hwmon collector

* Drop raw sensor name from hwmon output

* Let the sensor label be "sensor"

* Add hwmon short description to README.
This commit is contained in:
Rene Treffer 2016-10-06 17:33:24 +02:00 committed by Brian Brazil
commit 081ecc5db0
99 changed files with 753 additions and 79 deletions

View file

@ -0,0 +1 @@
../../devices/platform/coretemp.0/hwmon/hwmon0

View file

@ -0,0 +1 @@
../../devices/platform/nct6775.656/hwmon/hwmon1

View file

@ -0,0 +1 @@
../../devices/platform/applesmc.768/hwmon/hwmon2