FreeBSD and manual fan control on a Lenovo t410

Here is a quick way to manually control your fan speed on your Lenovo T410 running FreeBSD 10.x:

First load the kernel module:
$ kldload acpi_ibm.ko

Then check your new sysctl’s:

$ sysctl -a | grep -i fan
dev.acpi_ibm.0.fan_speed: 4527
dev.acpi_ibm.0.fan_level: 7
dev.acpi_ibm.0.fan: 1

Turn on manual mode:
$ sysctl dev.acpi_ibm.0.fan=0

Set fan for instance, to level 7:
$ dev.acpi_ibm.0.fan_level: 7

The man page for acpi_ibm.ko details the different levels:

    dev.acpi_ibm.0.fan_level
	     Indicates at what speed the fan should run	when being in manual
	     mode.  Values are ranging from 0 (off) to 7 (max).	 The resulting
	     speed differs from	model to model.	 On a T41p this	is as follows:
	     0		 off
	     1,	2	 ~3000 RPM
	     3,	4, 5	 ~3600 RPM
	     6,	7	 ~4300 RPM

It appears that my max speed is 4527 RPM.
You can check your temperature using
$ sysctl -a|grep temperature

FYI, mine shows 93.0C (!) right now cause this business laptop is utterly s**t since they put the inlet for air next to the air outlet. Really Genious. At least it helps a little to lower the CPU frequency using powerd.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s