I’ve enabled thinkfan
in my configuration.nix
with services.thinkfan.enable = true;
. However, the sensors are not detected:
$ journalctl -u thinkfan
Jul 03 11:41:30 laptop systemd[1]: thinkfan.service: Scheduled restart job, restart counter is at 40.
Jul 03 11:41:30 laptop systemd[1]: Starting thinkfan 1.3.1...
Jul 03 11:41:30 laptop thinkfan[6746]: ERROR: /proc/acpi/ibm/thermal: No such file or directory
Jul 03 11:41:30 laptop systemd[1]: thinkfan.service: Control process exited, code=exited, status=1/FAILURE
Jul 03 11:41:30 laptop systemd[1]: thinkfan.service: Failed with result 'exit-code'.
Jul 03 11:41:30 laptop systemd[1]: Failed to start thinkfan 1.3.1.
The ideapad_laptop
acpi is loaded (lsmod
shows this) and i can successfully enable the battery conservation mode with
services.tlp = {
enable = true;
settings = {
STOP_CHARGE_THRESH_BAT0 = "1"; # Lenovo conservation mode
};
};
so i’m wondering why the acpi doesn’t expose the sensors to thinkfan
.
The directory it’s looking for for the data actually doesn’t exist:
$ cat /proc/acpi/ibm/thermal
/run/current-system/sw/bin/cat: /proc/acpi/ibm/thermal: No such file or directory
Should this directory be created by ideapad_laptop
automatically or is there somehing that i need to do?