Enabling ThinkFan on a ThinkPad X230 with Artix Linux

3 min

language: ja bn en es hi pt ru zh-cn zh-tw

Hello, this is an incompetent person.

It didn't boot just by following the Arch Wiki normally, so I'm leaving a memo here.


https://wiki.archlinux.jp/index.php/Lenovo_ThinkPad_X230

Install thinkfan

yay -S thinkfan

Configure it according to the Arch Wiki.

Write the following in vi /etc/thinkfan.conf

tp_fan /proc/acpi/ibm/fan
hwmon /sys/class/thermal/thermal_zone0/temp

(0, 0,  60)
(1, 53, 65)
(2, 55, 66)
(3, 57, 68)
(4, 61, 70)
(5, 64, 71)
(7, 68, 32767)

Let's try to start it.

blksheep:[haturatu]:~$ sudo thinkfan

ERROR: ~TpFanDriver: Resetting fan control in /proc/acpi/ibm/fan: Invalid argument
ERROR: Module thinkpad_acpi doesn't seem to support fan_control

It gave an error.

This message seems to be appearing because the thinkpad_acpi module is not loaded, so I will load it.

echo "options thinkpad_acpi fan_control=1" | sudo tee /etc/modprobe.d/thinkpad_acpi.conf

Once the module is removed, load it again.

sudo modprobe -rv thinkpad_acpi
sudo modprobe -v thinkpad_acpi

If 'Y' appears with the following command, it's successfully OK.

cat /sys/module/thinkpad_acpi/parameters/fan_control

Let's check it again.

blksheep:[haturatu]:~$ sudo thinkfan

Daemon PID: 17119

Let's also check with ps, just in case.

blksheep:[haturatu]:~$ ps -ef | grep thinkfan
root     17119     1  0 18:56 ?        00:00:00 thinkfan
haturatu 22016  7362  0 19:18 pts/1    00:00:00 grep --colour=auto thinkfan

It seems to be working successfully.


That's all for now.

Best regards.

Related Posts