power: allow manual fan control on the ThinkPad

thinkpad_acpi ignores writes to /proc/acpi/ibm/fan unless loaded
with fan_control=1. Enable it so the fan can be set to a level (0-7)
or full-speed by hand; the firmware stays in charge while the level
is "auto". Applies from the next boot or a reload of the module.

Assisted-by: Claude:opus-5
This commit is contained in:
Sergei Poljanski 2026-10-16 05:41:33 +04:00
commit bb58347c93
Signed by: asxpi
GPG key ID: 4F8851660FA4121B

View file

@ -10,6 +10,10 @@
# on P14s G6 AMD. See https://lore.kernel.org/all/ZnFYpWHJ5Ml724Nv@ohnotp/ # on P14s G6 AMD. See https://lore.kernel.org/all/ZnFYpWHJ5Ml724Nv@ohnotp/
boot.kernelParams = [ "amd_pstate=active" "resume_offset=1769472" "acpi.ec_no_wakeup=1" ]; boot.kernelParams = [ "amd_pstate=active" "resume_offset=1769472" "acpi.ec_no_wakeup=1" ];
# Allow manual fan control via /proc/acpi/ibm/fan (level 0-7, auto,
# full-speed). Firmware stays in charge while level is "auto".
boot.extraModprobeConfig = "options thinkpad_acpi fan_control=1";
# Hibernate / resume from encrypted swapfile on LUKS root. # Hibernate / resume from encrypted swapfile on LUKS root.
# P14s G6 AMD has no S3 (Modern Standby only); this enables # P14s G6 AMD has no S3 (Modern Standby only); this enables
# suspend-then-hibernate so long sleeps drain to disk. # suspend-then-hibernate so long sleeps drain to disk.