all repos — nixfiles @ 2de9b6d8556917294c2e56daae2138ebf1517767

System and user configuration, managed by nix and home-manager

thinkpad: fix non-operational fan speed scaling

CPU should not reach 90C without the fans making noise, which is what
was configured.  Let the embedded controller do its job anyway, even
if it is a bit louder during low-utilisation periods.
Alan Pearce alan@alanpearce.eu
Wed, 23 Oct 2019 16:19:54 +0200
commit

2de9b6d8556917294c2e56daae2138ebf1517767

parent

57693135cf3a5dcf3c6373c745846ec80e863aea

2 files changed, 0 insertions(+), 19 deletions(-)

jump to
M system/settings/hardware/thinkpad.nixsystem/settings/hardware/thinkpad.nix
@@ -11,10 +11,6 @@ enable = true;     emulateWheel = true;
   };
 
-  services.thinkfan = {
-    enable = true;
-  };
-
   services.tlp = {
     enable = true;
   };
M system/settings/machines/t470s.nixsystem/settings/machines/t470s.nix
@@ -5,21 +5,6 @@ systemd.services.ModemManager.enable = false; 
   hardware.enableRedistributableFirmware = true;
 
-  services.thinkfan.sensors = ''
-    hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon0/temp3_input
-    hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_input
-    hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_input
-  '';
-  services.thinkfan.levels = ''
-    (0,     0,      48)
-    (1,     45,     52)
-    (2,     50,     57)
-    (3,     55,     63)
-    (6,     60,     65)
-    (7,     60,     85)
-    (127,   80,     32767)
-  '';
-
   boot.postBootCommands = ''
     echo bfq > /sys/block/nvme0n1/queue/scheduler
   '';