14.04 12.04 amd64 w530 x200 通过。。。。。
1:安装thinkfan
代码: sudo apt-get install thinkfan sysfsutils
2:管理员身份在 /etc/modprobe.d 下面增加一个配置文件 thinkfan-acpi.conf ,
sudo gedit /etc/modprobe.d/thinkfan-acpi.conf
内容: options thinkpad_acpi experimental=1 fan_control=1
3:管理员身份打开 /etc/default/thinkfan
START=no
改为:
START=yes
注:w530 没有/proc/acpi/ibm/thermal文件。(如果有thermal文件,就跳过这部分),继续下面:
参考:
http://thinkwiki.de/Thinkfan
sudo apt-get install lm-sensors
sudo sensors-detect # 一路yes,最后有个提示,就是下面的命令
sudo start module-init-tools
find /sys/devices -type f -name "temp*_input"
我的w530显示如下:
/sys/devices/platform/coretemp.0/temp1_input
/sys/devices/platform/coretemp.0/temp2_input
/sys/devices/platform/coretemp.0/temp3_input
/sys/devices/platform/coretemp.0/temp4_input
/sys/devices/platform/coretemp.0/temp5_input
/sys/devices/virtual/hwmon/hwmon0/temp1_input
4:编辑 /etc/thinkfan.conf ,另外加入温度侦测( 有thermal文件,就不需要这部分),我的内容如下:
sensor /sys/devices/platform/coretemp.0/temp1_input
sensor /sys/devices/platform/coretemp.0/temp2_input
sensor /sys/devices/platform/coretemp.0/temp3_input
sensor /sys/devices/platform/coretemp.0/temp4_input
sensor /sys/devices/platform/coretemp.0/temp5_input
sensor /sys/devices/virtual/hwmon/hwmon0/temp1_input
(0, 0, 55)
(1, 45, 62)
(2, 61, 64)
(3, 63, 66)
(4, 65, 68)
(5, 67, 70)
(7, 69, 32767)
重启,OK!!!!