关于thinkpad 风扇,和温度检测的问题,供大家参考!!!

笔记本/便携移动设备,手机平板等软硬件
回复
头像
ahwad
帖子: 1116
注册时间: 2009-05-06 0:36

关于thinkpad 风扇,和温度检测的问题,供大家参考!!!

#1

帖子 ahwad » 2012-12-17 16:20

参考:http://thinkwiki.de/Thinkfan
在thinkpad w530 12.04 amd64 通过。。。。。。。

thinkfan
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!!!!
alanfly
帖子: 334
注册时间: 2007-12-19 16:15

Re: 关于thinkpad 风扇,和温度检测的问题,供大家参考!!!

#2

帖子 alanfly » 2012-12-17 18:17

之前一直用tpfand,试了下thinkfan比tpfand好用,最大的优点就是降低和提高风扇到某转速的阈值是可以分别设置的,这样就不会有风扇频繁改变转速的困扰了。
另外0.8版可以针对每个单独的传感器设置阈值了。

代码: 全选

# Sensor count:
#    1  2  3  4  5  6  7  8  9  10 11 12 13 14 15 16
######################################################
{ "level 0"                                               # the fan level
    (0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0)      # LOWER limit
    (50 57 .  50 50 .  50 .  57 50 .  .  .  .  .  .)      # UPPER limit
}

{ "level 1"
    (45 50 .  45 45 .  45 .  51 45 .  .  .  .  .  .)
    (60 65 .  60 60 .  60 .  60 60 .  .  .  .  .  .)
}

{ "level 3"
    (50 57 .  50 50 .  50 .  50 50 .  .  .  .  .  .)
    (70 75 .  70 70 .  70 .  70 70 .  .  .  .  .  .)
}

{ "level 5"
    (60 65 .  60 60 .  60 .  60 60 .  .  .  .  .  .)
    (80 85 .  80 80 .  80 .  80 80 .  .  .  .  .  .)
}

{ "level 7"
    (70 75 .  70 70 .  70 .  70 70 .  .  .  .  .  .)
    (90 90 .  90 90 .  90 .  90 90 .  .  .  .  .  .)
}

{ "level disengaged" # nice idea: "level auto" can also be used.
    (80 85 .  80 80 .  80 .  80 80 .  .  .  .  .  .)
    (99 99 .  99 99 .  99 .  99 99 .  .  .  .  .  .)
}
ixepet
帖子: 25
注册时间: 2012-12-14 4:42
系统: MAC OS X

Re: 关于thinkpad 风扇,和温度检测的问题,供大家参考!!!

#3

帖子 ixepet » 2012-12-18 2:52

ahwad 写了:参考:http://thinkwiki.de/Thinkfan
在thinkpad w530 12.04 amd64 通过。。。。。。。

thinkfan
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!!!!
这个装完之后tp的风扇就可以被智能控制了吗?
大虾 我的是tp T430
不知道大虾的电脑在ubuntu12•04下续航怎么样呢?
还有出现别的异样状况么?
我正在考虑要不要装ubuntu
因为以前的电脑装ubuntu之后 摄像头的位置就会发热
我总觉得小U让电脑的好多硬件不用的时候也开着 所以觉得很头疼就放弃了 怕弄坏电脑嘛 嘿嘿
ap20001
帖子: 5
注册时间: 2012-10-24 10:24
系统: LM13

Re: 关于thinkpad 风扇,和温度检测的问题,供大家参考!!!

#4

帖子 ap20001 » 2013-03-05 14:30

学习了,有空研究下怎么设置
dongfengkuayue
帖子: 1
注册时间: 2013-04-17 14:08
系统: ubuntu12.10

Re: 关于thinkpad 风扇,和温度检测的问题,供大家参考!!!

#5

帖子 dongfengkuayue » 2013-04-17 14:52

各位前辈,问下我安装了thinkfan 0.7版本,如何升级到0.8版本?
回复