/thinkpad_acpi.2ndfan.patch

Thinkpad ACPI 2nd fan control Linux kernel patch

Primary LanguageCGNU General Public License v2.0GPL-2.0

Thinkpad ACPI 2nd fan control patch

Patch for vanilla Linux kernel 5.4.7 to enable 2nd fan control via sysfs.

Based on patches found in discussion: vmatare/thinkfan#58

2nd fan control is enabled for machines which Bios Version begins with N2E (Thinkpad X1 Extreme 1st gen) or N2O (Thinkpad X1 Extreme 2nd gen). You can add other prefixes in fan_quirk_table.

Patch in the file thinkpad_acpi.2ndfan.patch.

build_install.sh is a helper script for Arch Linux to download the kernel sources, patch it, make and install module. Don't use without inspecting it and understanding what it does. The script probably won't be working on another distro.

If everything goes ok you will see fan2_input, pwm2, pwm2_enable under /sys/devices/platform/thinkpad_hwmon/hwmon/hwmon*/.