added hwmon alias map

linux kernel does not guarantee order of hwmon devices, so use alias instead that gets replaced with teh correct hwmonX, based on hwmonX/name
This commit is contained in:
2019-09-11 14:43:49 +02:00
parent 0bd909d157
commit 67ba3d8fca
3 changed files with 81 additions and 65 deletions

View File

@@ -1,26 +1,26 @@
loglevel: DEBUG
thermalzones:
-
name: GPU+SYSTEM
source: hwmon3/temp1_input
factor: 1000
fan:
- hwmon2/pwm2
- hwmon3/pwm1: 170
target: 60
pid:
p: 1
i: 1.5
d: 2
-
name: CPU
source: hwmon1/temp1_input
factor: 1000
fan:
- hwmon2/pwm1
target: 50
pid:
p: 1
i: 1.5
d: 2
- name: GPU+SYSTEM
hwmon: amdgpu
source: temp1_input
factor: 1000
fan:
- it8686/pwm2
- amdgpu/pwm1: 170
target: 60
pid:
p: 1
i: 1
d: 1.5
- name: CPU
hwmon: it8686
source: coretemp/temp1_input
factor: 1000
fan:
- it8686/pwm1
target: 50
pid:
p: 1
i: 1
d: 1.5