To install the software in Ubuntu, you must first confirm that the notebook is thinkpad and support acpi. Otherwise, the installation may fail. Of course, some ibm machine models are not successful. I thought the ibmt60 was an example. 1: Install thinkfan fan controller sudoapt-getinstallthinkfan2: Configure thinkfan, need
To install the software in Ubuntu, you must first confirm that the notebook is thinkpad and support acpi. Otherwise, the installation may fail. Of course, some ibm machine models are not successful. I thought the ibm t60 was an example.
1: Install thinkfan fan Controller
- Sudo apt-get install thinkfan
2: Configure thinkfan. The file to be configured is/etc/modprobe. d/thinkfan. conf. If you do not have the thinkfan. conf file in the directory, create one.
- Sudo vi/etc/modprobe. d/thinkfan. conf
Add the following content.
- Options thinkpad_acpi fan_control = 1
Then manually load the current Module
- Sudo modprobe-rv thinkpad_acpi & modprobe-v thinkpad_acpi
3: Activate thinkfan automatically at startup. The file to be modified is/etc/default/thinkfan.
- Sudo vi/etc/default/thinkfan
Change START = no to yes.
4: thinkfan has no UI interface when we need to let thinkfan know a temperature configuration, that is, how much temperature is the fan level, therefore, we can only use the configuration file format. you will understand the configuration below. The file to be configured is/etc/thinkfan. conf
- Sudo vi/etc/thinkfan. conf
The seven lines represent the ones to be modified.
- (0, 0, 55)
- (1, 48, 60)
- (2, 50, 61)
- (3, 52, 63)
- (4, 56, 65)
- (5, 59, 66)
- (7, 63,327 67)
Grid Type: (fan level, minimum temperature range, maximum temperature range), the corresponding fan level is called when the temperature is between the minimum temperature and the maximum temperature.
Change
- (0, 0, 52)
- (1, 46, 59)
- (2, 54, 65)
- (3, 58, 69)
- (4, 62, 72)
- (5, 65, 74)
- (7, 68,327 67)
Of course, you can also modify it at will.
5: Temperature Display. Next we need to check the current temperature value. For the ThinkPad laptop, we can tap the following command to display the values of all temperature sensors.
- Cat/proc/acpi/ibm/thermal
First, check the cpu temperature. Of course, you can also look at the various files under ibm, which indicate the current configuration of your system. For example, the fan file is your fan file, including the fan speed.