Added support for absolute device paths for the temperature module.

This commit is contained in:
BoostCookie
2020-03-12 22:04:00 +01:00
parent 4471d4aba1
commit 2f975f870a
2 changed files with 11 additions and 0 deletions

View File

@ -20,6 +20,14 @@ Addressed by *temperature*
typeof: string ++
The temperature path to use, e.g. */sys/class/hwmon/hwmon2/temp1_input* instead of one in */sys/class/thermal/*.
*hwmon-path-abs*: ++
typeof: string ++
The path of the hwmon-directory of the device, e.g. */sys/devices/pci0000:00/0000:00:18.3/hwmon*. (Note that the subdirectory *hwmon/hwmon#*, where *#* is a number is not part of the path!) Has to be used together with *input-filename*.
*input-filename*: ++
typeof: string ++
The temperature filename of your *hwmon-path-abs*, e.g. *temp1_input*
*critical-threshold*: ++
typeof: integer ++
The threshold before it is considered critical (Celsius).