How do I go about controlling the fan on a Libreboot-ed Thinkpad X60?

17 replies [Last post]
northernarcher
Offline
Joined: 12/24/2014

No matter how how hot it gets the fan stays the same. When I had a different ubuntu-based OS on it I simply followed the directions here:

http://www.thinkwiki.org/wiki/How_to_control_fan_speed

>To enable fan control, the module parameter fan_control=1 must be given to thinkpad-acpi.

>For example, in Ubuntu 8.04 (Hardy Heron), add the following to /etc/modprobe.d/options: options thinkpad_acpi fan_control=1

and then do

> echo level 7 | sudo tee /proc/acpi/ibm/fan

In Trisquel 7 however it does not work, and my X60 is always overheated. What I want is for it to be running at level 7 at all times, on boot, but in Trisquel I can't get it so even run on command. Instead I get the error

>tee: /proc/acpi/ibm/fan: Invalid argument

So how do I control the fan?

ovine
Offline
Joined: 12/25/2015

Have you tried opening /proc/acpi/ibm/fan in a text editor and making it run level 7 manually?

northernarcher
Offline
Joined: 12/24/2014

Yes, but it seems impossible to edit it. I can open it in nano, I change "auto" to "7" and hit control+o, hit enter, and then get this:

>File was modified since you opened it, continue saving ?

I type yes and get this error:

> [ Error writing /proc/acpi/ibm/fan: Invalid argument ]

So I have tried, but I can't.

ovine
Offline
Joined: 12/25/2015

This is a silly question, but you're opening it as root, right?

northernarcher
Offline
Joined: 12/24/2014

Yes.

northernarcher
Offline
Joined: 12/24/2014

Yes.

lembas
Offline
Joined: 05/13/2010

Also, if you cat the file a few times apart, what kind of values does it contain?

northernarcher
Offline
Joined: 12/24/2014

The speed changes a little, from 2798 to 2801, nothing else changes.

northernarcher
Offline
Joined: 12/24/2014

The speed changes a little, from 2798 to 2801, nothing else changes.

ovine
Offline
Joined: 12/25/2015

This is a silly question, but you're opening it as root, right?

lembas
Offline
Joined: 05/13/2010

Also, if you cat the file a few times apart, what kind of values does it
contain?

northernarcher
Offline
Joined: 12/24/2014

Yes, but it seems impossible to edit it. I can open it in nano, I change
"auto" to "7" and hit control+o, hit enter, and then get this:

>File was modified since you opened it, continue saving ?

I type yes and get this error:

> [ Error writing /proc/acpi/ibm/fan: Invalid argument ]

So I have tried, but I can't.

vita_cell
Offline
Joined: 07/19/2015

I have no problem, at start, the fan doesn't run, after using about 10min the laptop, the fan goes to 3000rpm, and it dead silent. Runs about 37-45º.

northernarcher
Offline
Joined: 12/24/2014

Now, I've tried editing both

/etc/modprobe.d/options

and

/etc/modprobe.d/thinkpad_acpi.conf

Even though this is not Debian, I can't find anything else to try editing for this problem. I tried running thinkfan but the program never opens to I try doing 'sudo thinkfan -n' and this is what I get.


grey@x60:~$ sudo thinkfan -n
[sudo] password for grey:
WARNING: Using default fan control in /proc/acpi/ibm/fan.
WARNING: Using default temperature inputs in /proc/acpi/ibm/thermal.
WARNING: You're using simple temperature limits without correction values, and your fan will only start at 55 °C. This can be dangerous for your hard drive.
Module thinkpad_acpi doesn't seem to support fan_control
grey@x60:~$

So THAT does not work either. How do I control the fan in Trisquel? This is driving me insane.

northernarcher
Offline
Joined: 12/24/2014

No matter how how hot it gets the fan stays the same. When I had a different
ubuntu-based OS on it I simply followed the directions here:

http://www.thinkwiki.org/wiki/How_to_control_fan_speed

>To enable fan control, the module parameter fan_control=1 must be given to
thinkpad-acpi.

>For example, in Ubuntu 8.04 (Hardy Heron), add the following to
/etc/modprobe.d/options: options thinkpad_acpi fan_control=1

and then do

> echo level 7 | sudo tee /proc/acpi/ibm/fan

In Trisquel 7 however it does not work, and my X60 is always overheated. What
I want is for it to be running at level 7 at all times, on boot, but in
Trisquel I can't get it so even run on command. Instead I get the error

>tee: /proc/acpi/ibm/fan: Invalid argument

So how do I control the fan?

ovine
Offline
Joined: 12/25/2015

Have you tried opening /proc/acpi/ibm/fan in a text editor and making it run
level 7 manually?

vita_cell
Offline
Joined: 07/19/2015

I have no problem, at start, thee fan doesn't run, after using about 10min
the laptop, the fan goes to 3000rpm, and it dead silent. Runs about 37-45º.

northernarcher
Offline
Joined: 12/24/2014

Now, I've tried editing both

/etc/modprobe.d/options

and

/etc/modprobe.d/thinkpad_acpi.conf

Even though this is not Debian, I can't find anything else to try editing for
this problem. I tried running thinkfan but the program never opens to I try
doing 'sudo thinkfan -n' and this is what I get.

grey@x60:~$ sudo thinkfan -n
[sudo] password for grey:
WARNING: Using default fan control in /proc/acpi/ibm/fan.
WARNING: Using default temperature inputs in /proc/acpi/ibm/thermal.
WARNING: You're using simple temperature limits without correction values,
and your fan will only start at 55 °C. This can be dangerous for your hard
drive.
Module thinkpad_acpi doesn't seem to support fan_control
grey@x60:~$

So THAT does not work either. How do I control the fan in Trisquel? This is
driving me insane.