Merge pull request 'New configuration for Lenovo ThinkPad X120e' (#465) from sidorsett/master into master

Reviewed-on: http://localhost:8888/hramrach/lm-sensors/pulls/465
This commit is contained in:
hramrach committed 2023-12-24 13:03:04 +01:00
commit 61800efe18
1 file changed
+34
+34
View File
@@ -0,0 +1,34 @@
chip "thinkpad-isa-0000"
# Fan speed is erroneously reported in revolutions per clock tick
# rather than in RPM. This formula recalculates fan speed, while
# also avoiding devision by zero when the fan is idle.
# 1350000 states for the number of 22.5 kHz clock ticks in 1 minute.
compute fan1 1350000 * (1 - ^-@) / (@ + ^-@), 1350000 * (1 - ^-@) / (@ + ^-@)
compute fan2 1350000 * (1 - ^-@) / (@ + ^-@), 1350000 * (1 - ^-@) / (@ + ^-@)
label fan1 "Fan speed"
label fan2 "Fan speed"
label temp1 "CPU temperature"
ignore temp2
label temp3 "GPU temperature"
ignore temp4
ignore temp5
ignore temp6
label temp7 "CMOS battery temperature"
ignore temp8
chip "acpitz-acpi-0"
label temp1 "CPU temperature"
chip "k10temp-pci-00c3"
label temp1 "CPU temperature"
chip "radeon-pci-0008"
label in0 "GPU voltage"
label temp1 "GPU temperature"
chip "BAT1-acpi-0"
label in0 "Battery voltage"
chip "drivetemp-*"
label temp1 "Storage temperature"