New configuration for Lenovo ThinkPad X120e

The file contains configuration of sensors for Lenovo ThinkPad X120e laptop.
This commit is contained in:
sidorsett authored and GitHub committed 2023-10-29 15:27:37 +01:00
1 parent 42f240d2a4
commit e818c9b1a3
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"