nedson.net | links | pgp

Coreboot, Gentoo, and the Thinkpad X201 Fan

The Blue Pill and the X201!

Coreboot is not able to control the fan in the ThinkPad X201. After flashing the bios chip with Coreboot, you will need to control your fan with something like thinkfan. Installing Gentoo, especially compiling the system, uses a good amount of cpu power which in turn generates heat. You will want to do the following when installing Gentoo to get the fan going:

$ touch /etc/modprobe.d/thinkpad_acpi.conf
$ echo 'options thinkpad_acpi fan_control=1' > /etc/modprobe.d/thinkpad_acpi.conf
$ rmmod thinkpad_acpi
$ modprobe thinkpad_acpi
$ echo level 7 > /proc/acpi/ibm/fan

Next make sure that it is running properly. You should also be able to hear it!

$ cat /proc/acpi/ibm/fan
status: enabled
speed: 6003
level: disengaged
commands: level ( is 0-7, auto, disengaged, full-speed)
commands: enable, disable
commands: watchdog ( is 0 (off), 1-120 (seconds))

Now you can continue the installation. Without this step, your laptop will overheat and turn itself off or self-destruct.


contact: nme at nedson.net