当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 9 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : thinkpad E420, Ubuntu16.04.1, 风扇问题(一直转或者不转)
帖子发表于 : 2016-09-02 14:48 

注册: 2016-09-02 14:22
帖子: 3
系统: win10/ubuntu 16.04.1
送出感谢: 0 次
接收感谢: 0 次
新手求助,首次使用linux。
背景介绍:thinkpad E420 笔记本,安装了win10和Ubuntu16.04.1双系统。
问题描述:首次登陆时风扇一直全速的转,然后根据google到的解决方案,安装了thinkfan,lmsensors,sysfsutils,并进行了相关的配置(/etc/thinkfan.conf, /etc/modprobe.d/thinkpad_acpi.conf, /etc/default/thinkfan.conf)
风扇现状:在输入 sudo /etc/init.d/thinkfan start 前,用sensors 命令里fan level=auto, fan speed=0。
输入sudo /etc/init.d/thinkfan start 后,sensors命令结果显示,fan level =数字,fan speed=0。level对应的的数字
与sensors中得到的温度和thinkfan.conf中设置的等级相吻合。风扇的实际速度为最大还是零,和开机时CPU温度有关。若重启时CPU
温度超过thinkfan.conf 中设置的0级,开机后风扇速度为最大,反之,风扇实际速度为0。
: 解决方案


页首
 用户资料  
 
2 楼 
 文章标题 : Re: thinkpad E420, Ubuntu16.04.1, 风扇问题(一直转或者不转)
帖子发表于 : 2016-09-02 15:19 
头像

注册: 2011-03-20 13:12
帖子: 4455
地址: 山东省寿光县
系统: Debian
送出感谢: 105
接收感谢: 974
1. 尝试执行以下指令看能否启动风扇到对应等级
代码:
echo level 5 | sudo tee /proc/acpi/ibm/fan
echo level 6 | sudo tee /proc/acpi/ibm/fan


2. 执行以下指令将结果全部复制贴上来
代码:
cat /etc/thinkfan.conf
cat /etc/modprobe.d/thinkpad*
cat /etc/default/thinkfan*
cat /proc/acpi/ibm/fan
lsmod | grep thinkpad
systemctl status thinkfan.service


leiyel 写道:
全速的转

确定速度为“全速”,即最大等级?

leiyel 写道:
首次登陆时风扇一直全速的转

风扇控制问题可能性小,操作系统一般不干涉。先考虑是否为电源管理问题,如某设备耗电大导致发热大,从而导致风扇高速运转


_________________
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户


页首
 用户资料  
 
3 楼 
 文章标题 : Re: thinkpad E420, Ubuntu16.04.1, 风扇问题(一直转或者不转)
帖子发表于 : 2016-09-02 23:30 

注册: 2016-09-02 14:22
帖子: 3
系统: win10/ubuntu 16.04.1
送出感谢: 0 次
接收感谢: 0 次
vickycq 写道:
1. 尝试执行以下指令看能否启动风扇到对应等级
代码:
echo level 5 | sudo tee /proc/acpi/ibm/fan
echo level 6 | sudo tee /proc/acpi/ibm/fan


可以将风扇切换到相应等级,用cat /proc/acpi/ibm/fan 可以查看已经为5级或者6级,但是实际上风扇并没有转。sensors显示风扇为0 rpm。

[quote=“vickycq"]2. 执行以下指令将结果全部复制贴上来
代码:
cat /etc/thinkfan.conf
cat /etc/modprobe.d/thinkpad*
cat /etc/default/thinkfan*
cat /proc/acpi/ibm/fan
lsmod | grep thinkpad
systemctl status thinkfan.service
[/quote]


命令结果如下:
[email protected]:~$ cat /etc/thinkfan.conf
######################################################################
# thinkfan 0.7 example config file
# ================================
#
# ATTENTION: There is only very basic sanity checking on the configuration.
# That means you can set your temperature limits as insane as you like. You
# can do anything stupid, e.g. turn off your fan when your CPU reaches 70°C.
#
# That's why this program is called THINKfan: You gotta think for yourself.
#
######################################################################
#
# IBM/Lenovo Thinkpads (thinkpad_acpi, /proc/acpi/ibm)
# ====================================================
#
# IMPORTANT:
#
# To keep your HD from overheating, you have to specify a correction value for
# the sensor that has the HD's temperature. You need to do this because
# thinkfan uses only the highest temperature it can find in the system, and
# that'll most likely never be your HD, as most HDs are already out of spec
# when they reach 55 °C.
# Correction values are applied from left to right in the same order as the
# temperatures are read from the file.
#
# For example:
# tp_thermal /proc/acpi/ibm/thermal (0, 0, 10)
# will add a fixed value of 10 °C the 3rd value read from that file. Check out
# http://www.thinkwiki.org/wiki/Thermal_Sensors to find out how much you may
# want to add to certain temperatures.

# Syntax:
# (LEVEL, LOW, HIGH)
# LEVEL is the fan level to use (0-7 with thinkpad_acpi)
# LOW is the temperature at which to step down to the previous level
# HIGH is the temperature at which to step up to the next level
# All numbers are integers.
#

# I use this on my T61p:
#tp_fan /proc/acpi/ibm/fan
#tp_thermal /proc/acpi/ibm/thermal (0, 10, 15, 2, 10, 5, 0, 3, 0, 3)


hwmon /sys/devices/virtual/hwmon/hwmon0/temp1_input
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp2_input



(0, 0, 40)
(1, 40, 48)
(2, 48, 55)
(3, 55, 58)
(4, 58, 60)
(5, 60, 63)
(6, 63, 65)
(7, 65, 32767)

[email protected]:~$ cat /etc/modprobe.d/thinkpad*
options thinkpad_acpi experimental=1 fan_control=1
[email protected]:~$ cat /etc/default/thinkfan*
# Should thinkfan be started automatically on boot?
# Only say "yes" when you know what you are doing, have configured
# thinkfan correctly for *YOUR* machine and loaded thinkpad_acpi
# with fan_control=1 (if you have a ThinkPad).
START=yes

# Additional startup parameters
# DAEMON_ARGS="-q -b 1 -s 15"
# Should thinkfan be started automatically on boot?
# Only say "yes" when you know what you are doing, have configured
# thinkfan correctly for *YOUR* machine and loaded thinkpad_acpi
# with fan_control=1 (if you have a ThinkPad).
START=yes

# Additional startup parameters
DAEMON_ARGS="-q -b 1 -s 3"





[email protected]:~$ cat /proc/acpi/ibm/fan
status: enabled
speed: 0
level: auto
commands: level <level> (<level> is 0-7, auto, disengaged, full-speed)
commands: enable, disable
commands: watchdog <timeout> (<timeout> is 0 (off), 1-120 (seconds))
[email protected]:~$ lsmod | grep thinkpad
thinkpad_acpi 90112 1
nvram 16384 1 thinkpad_acpi
snd 81920 18 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,thinkpad_acpi,snd_seq_device
video 40960 2 i915,thinkpad_acpi

[email protected]:~$ systemctl status thinkfan.service
● thinkfan.service - simple and lightweight fan control program
Loaded: loaded (/lib/systemd/system/thinkfan.service; disabled; vendor preset
Active: inactive (dead)



vickycq][quote="leiyel 写道:
全速的转

确定速度为“全速”,即最大等级?[/quote]

不知道具体等级,但是是非常吵得状态。并且在温度降到0级范围后仍不停止。

vickycq]
[quote="leiyel 写道:
首次登陆时风扇一直全速的转

风扇控制问题可能性小,操作系统一般不干涉。先考虑是否为电源管理问题,如某设备耗电大导致发热大,从而导致风扇高速运转[/quote][/quote]

请问电源管理问题如何查看?同时,windows下风扇一切正常。

谢谢


页首
 用户资料  
 
4 楼 
 文章标题 : Re: thinkpad E420, Ubuntu16.04.1, 风扇问题(一直转或者不转)
帖子发表于 : 2016-09-04 12:24 
头像

注册: 2011-03-20 13:12
帖子: 4455
地址: 山东省寿光县
系统: Debian
送出感谢: 105
接收感谢: 974
leiyel 写道:
可以将风扇切换到相应等级,用cat /proc/acpi/ibm/fan 可以查看已经为5级或者6级,但是实际上风扇并没有转。sensors显示风扇为0 rpm。options thinkpad_acpi experimental=1 fan_control=1

thinkpad_acpi 模块参数设置未发现问题。thinkpad_acpi 模块无法正常控制风扇原因待确定
网搜可见相同或相似型号 TP Edge 机型遇到相似问题,原因待确定
https://ubuntuforums.org/showthread.php?t=2235908
http://crunchbang.org/forums/viewtopic.php?id=20555
http://superuser.com/questions/716044/cannot-control-fan-in-ubuntu-13-10-thinkpad-edge-e531

leiyel 写道:
(0, 0, 40)
(1, 40, 48)
(2, 48, 55)
(3, 55, 58)
(4, 58, 60)
(5, 60, 63)
(6, 63, 65)
(7, 65, 32767)

此处应为每一级留出区间。即前一行的第三个数值应大于这一行的第二个数值,且应留出一定距离
例如:
(0, 0, 59)
(1, 46, 70)
(7, 65, 65535)
即:
59 度启动 level 1,46 度回到 level 0
70 度启动 level 7,65 度回到 level 1

leiyel 写道:
请问电源管理问题如何查看?同时,windows下风扇一切正常。

1. 安装 powerstat 套件,断开外接电源适配器,执行以下指令查看消耗功率
代码:
powerstat -d0


2. 执行以下指令将结果全部复制贴上来
代码:
uname -a
sudo lspci -vv | grep -i aspm
sudo lshw -numeric -C display
cat /sys/class/dmi/id/{sys_vendor,product_name}
cat /proc/cpuinfo | grep model
cat /sys/devices/system/cpu/cpu0/cpufreq/{scaling_driver,scaling_available_governors}


_________________
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户


页首
 用户资料  
 
5 楼 
 文章标题 : Re: thinkpad E420, Ubuntu16.04.1, 风扇问题(一直转或者不转)
帖子发表于 : 2016-09-04 23:16 

注册: 2016-09-02 14:22
帖子: 3
系统: win10/ubuntu 16.04.1
送出感谢: 0 次
接收感谢: 0 次
vickycq 写道:
1. 安装 powerstat 套件,断开外接电源适配器,执行以下指令查看消耗功率
代码:
代码:
powerstat -d0


结果如下:

[email protected]:~$ powerstat -d0
Running for 480.0 seconds (48 samples at 10.0 second intervals).
Power measurements will start in 0 seconds time.

Time User Nice Sys Idle IO Run Ctxt/s IRQ/s Watts
10:59:11 0.6 0.0 0.3 99.0 0.1 1 393 126 7.81
10:59:21 0.7 4.3 0.7 94.3 0.1 1 439 241 10.56
10:59:31 0.6 0.0 0.2 99.1 0.1 1 410 119 11.18
10:59:41 0.6 0.0 0.1 99.3 0.1 1 354 105 11.30
10:59:51 0.6 0.0 0.2 99.2 0.1 1 383 115 11.38
11:00:01 0.7 0.0 0.2 99.1 0.0 2 360 124 11.46
11:00:11 1.4 0.0 0.6 96.3 1.8 1 592 219 11.62
11:00:21 1.1 0.0 1.6 97.3 0.1 2 506 192 11.71
11:00:31 0.6 0.0 0.1 99.2 0.0 1 393 112 11.61
11:00:41 0.5 0.0 0.2 99.3 0.0 2 348 110 11.55
11:00:51 0.5 0.0 0.2 99.2 0.1 2 389 116 11.53
11:01:01 0.5 0.0 0.3 99.1 0.1 2 366 110 11.50
11:01:11 0.5 0.0 0.2 99.3 0.0 1 389 110 11.50
11:01:21 0.5 0.0 0.2 99.3 0.1 2 354 108 11.48
11:01:31 0.6 0.0 0.3 99.1 0.0 2 389 116 11.49
11:01:41 0.5 0.0 0.2 99.3 0.1 2 354 109 11.53
11:01:51 0.7 0.0 0.2 99.1 0.1 1 383 112 11.50
11:02:01 0.5 0.0 0.3 99.2 0.0 1 359 112 11.50
11:02:11 0.6 0.0 0.6 98.8 0.1 1 411 129 11.55
11:02:21 0.7 0.0 1.5 97.7 0.1 1 468 177 11.68
11:02:31 0.6 0.0 0.2 99.2 0.0 2 390 112 11.57
11:02:41 0.6 0.0 0.1 99.3 0.1 1 352 104 11.51
Time User Nice Sys Idle IO Run Ctxt/s IRQ/s Watts
11:02:51 0.7 0.0 0.3 99.0 0.1 2 390 114 11.49
11:03:01 0.6 0.0 0.2 99.2 0.1 2 365 114 11.49
11:03:11 0.6 0.0 0.3 99.1 0.1 1 425 129 11.04
11:03:21 0.9 0.0 0.2 98.5 0.5 2 361 116 10.49
11:03:31 1.5 0.0 0.3 98.2 0.1 1 475 134 10.26
11:03:41 0.9 0.0 0.2 98.9 0.1 1 379 126 10.12
11:03:51 0.5 0.0 0.2 99.1 0.1 2 399 120 10.09
11:04:01 0.5 0.0 0.2 99.2 0.0 2 354 101 10.01
11:04:11 4.8 0.0 2.1 93.0 0.1 1 1629 290 11.68
11:04:21 3.2 0.0 2.3 94.3 0.2 2 1305 261 11.20
11:04:31 1.0 0.0 0.2 98.8 0.0 2 408 124 10.00
11:04:41 1.1 0.0 0.3 98.5 0.1 1 459 125 9.33
11:04:51 0.6 0.0 0.3 99.1 0.1 1 385 139 8.90
11:05:01 1.5 0.0 0.5 98.0 0.1 1 557 185 8.77
11:05:11 4.1 0.0 1.6 94.1 0.2 2 1024 324 11.23
11:05:21 1.6 0.0 1.0 97.4 0.0 2 881 294 11.49
11:05:31 1.5 0.0 0.8 97.7 0.1 2 803 224 11.68
11:05:41 2.8 0.0 0.8 96.4 0.1 3 1178 254 11.70
11:05:51 1.1 0.0 0.5 98.3 0.1 1 780 147 11.93
11:06:01 2.3 0.0 0.8 96.8 0.1 1 1114 394 12.04
11:06:11 0.7 0.0 0.7 98.5 0.1 1 579 207 11.88
11:06:21 1.5 0.0 2.1 96.4 0.0 1 870 309 12.00
Time User Nice Sys Idle IO Run Ctxt/s IRQ/s Watts
11:06:31 1.7 0.0 0.7 97.6 0.1 1 823 257 11.90
11:06:41 1.1 0.0 0.6 98.3 0.1 1 709 223 11.84
11:06:51 1.5 0.0 0.8 97.7 0.1 2 686 209 11.83
11:07:01 0.9 0.0 0.4 98.7 0.1 1 613 202 11.76
-------- ----- ----- ----- ----- ----- ---- ------ ------ ------
Average 1.1 0.1 0.5 98.2 0.1 1.5 556.8 166.7 11.14
StdDev 0.9 0.6 0.6 1.5 0.3 0.5 287.0 71.8 0.91
-------- ----- ----- ----- ----- ----- ---- ------ ------ ------
Minimum 0.5 0.0 0.1 93.0 0.0 1.0 348.3 101.4 7.81
Maximum 4.8 4.3 2.3 99.3 1.8 3.0 1628.9 393.5 12.04
-------- ----- ----- ----- ----- ----- ---- ------ ------ ------
Summary:
System: 11.14 Watts on average with standard deviation 0.91

vickycq 写道:
2. 执行以下指令将结果全部复制贴上来
代码:
代码:
uname -a
sudo lspci -vv | grep -i aspm
sudo lshw -numeric -C display
cat /sys/class/dmi/id/{sys_vendor,product_name}
cat /proc/cpuinfo | grep model
cat /sys/devices/system/cpu/cpu0/cpufreq/{scaling_driver,scaling_available_governors}




结果如下:
[email protected]:~$ uname -a
Linux leiyel-ThinkPad-E420 4.4.0-36-generic #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
[email protected]:~$ sudo lspci -vv | grep -i aspm
LnkCap: Port #2, Speed 5GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <256ns, L1 <4us
ClockPM- Surprise- LLActRep- BwNot+ ASPMOptComp-
LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled+ CommClk+
LnkCap: Port #1, Speed 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <1us, L1 <16us
ClockPM- Surprise- LLActRep+ BwNot- ASPMOptComp-
LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- CommClk-
LnkCap: Port #2, Speed 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <512ns, L1 <16us
ClockPM- Surprise- LLActRep+ BwNot- ASPMOptComp-
LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- CommClk+
LnkCap: Port #3, Speed 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <512ns, L1 <16us
ClockPM- Surprise- LLActRep+ BwNot- ASPMOptComp-
LnkCtl: ASPM L1 Enabled; RCB 64 bytes Disabled- CommClk+
LnkCap: Port #4, Speed 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <512ns, L1 <16us
ClockPM- Surprise- LLActRep+ BwNot- ASPMOptComp-
LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- CommClk+
LnkCap: Port #8, Speed 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <1us, L1 <16us
ClockPM- Surprise- LLActRep+ BwNot- ASPMOptComp-
LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- CommClk-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <512ns, L1 <64us
ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp-
LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- CommClk+
LnkCap: Port #1, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <4us, L1 unlimited
ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp-
LnkCtl: ASPM L1 Enabled; RCB 64 bytes Disabled- CommClk+
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <512ns, L1 <64us
ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp-
LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- CommClk+
[email protected]:~$ sudo lshw -numeric -C display
*-display
description: VGA compatible controller
product: 2nd Generation Core Processor Family Integrated Graphics Controller [8086:116]
vendor: Intel Corporation [8086]
physical id: 2
bus info: [email protected]:00:02.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:27 memory:e0000000-e03fffff memory:d0000000-dfffffff ioport:7000(size=64)
[email protected]:~$ cat /sys/class/dmi/id/{sys_vendor,product_name}
LENOVO
1141A88
[email protected]:~$ cat /proc/cpuinfo | grep model
model : 42
model name : Intel(R) Core(TM) i3-2350M CPU @ 2.30GHz
model : 42
model name : Intel(R) Core(TM) i3-2350M CPU @ 2.30GHz
model : 42
model name : Intel(R) Core(TM) i3-2350M CPU @ 2.30GHz
model : 42
model name : Intel(R) Core(TM) i3-2350M CPU @ 2.30GHz
[email protected]:~$ cat /sys/devices/system/cpu/cpu0/cpufreq/{scaling_driver,scaling_available_governors}
intel_pstate
performance powersave


页首
 用户资料  
 
6 楼 
 文章标题 : Re: thinkpad E420, Ubuntu16.04.1, 风扇问题(一直转或者不转)
帖子发表于 : 2016-09-05 17:29 
头像

注册: 2011-03-20 13:12
帖子: 4455
地址: 山东省寿光县
系统: Debian
送出感谢: 105
接收感谢: 974
leiyel 写道:
System: 11.14 Watts on average with standard deviation 0.91

功耗较小,发热较小。对风扇控制问题的怀疑加重
可制作 Fedora 24 / Fedora 25 Alpha Live CD/Live USB 测试
http://mirrors.ustc.edu.cn/fedora/linux/releases/test/25_Alpha/Workstation/x86_64/iso/
或安装 Linux 4.7 测试
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7.2/

leiyel 写道:
intel_pstate
performance powersave

将频率调度驱动由 intel_pstate 改为 acpi_cpufreq 试试看,若效果不理想再改回来
增加内核参数 intel_pstate=disable 从而将频率调度驱动由 intel_pstate 改为 acpi_cpufreq

===============
附增加内核参数方法
===============
1 - 临时增加
开机到 GRUB 界面时,按 e 进入编辑界面
在 'linux' 一行末尾增加内核参数。看起来像这样:ro splash vt.handoff=7 pcie_aspm=force intel_pstate=disable
按 Ctrl+x 启动

2 - 永久增加
编辑 /etc/default/grub 在 GRUB_CMDLINE_LINUX_DEFAULT 中增加内核参数
看起来像这样:
GRUB_CMDLINE_LINUX_DEFAULT="ro splash vt.handoff=7 pcie_aspm=force intel_pstate=disable"
保存后执行 update-grub


_________________
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户


页首
 用户资料  
 
7 楼 
 文章标题 : Re: thinkpad E420, Ubuntu16.04.1, 风扇问题(一直转或者不转)
帖子发表于 : 2017-10-04 22:06 
头像

注册: 2009-05-06 0:36
帖子: 1045
送出感谢: 1
接收感谢: 13
ubuntu 16.04.3

附件:
2017-10-04 21-56-14屏幕截图.png
2017-10-04 21-56-14屏幕截图.png [ 914.13 KiB | 被浏览 930 次 ]



页首
 用户资料  
 
8 楼 
 文章标题 : Re: thinkpad E420, Ubuntu16.04.1, 风扇问题(一直转或者不转)
帖子发表于 : 2017-10-04 23:28 

注册: 2017-09-20 20:51
帖子: 3
送出感谢: 0 次
接收感谢: 0 次
看看能不能通过更新bios的方法来自动管理风扇吧


页首
 用户资料  
 
9 楼 
 文章标题 : Re: thinkpad E420, Ubuntu16.04.1, 风扇问题(一直转或者不转)
帖子发表于 : 2017-10-05 9:17 
头像

注册: 2009-05-06 0:36
帖子: 1045
送出感谢: 1
接收感谢: 13
thinkpad应该不能在bios中控制风扇吧。

抄袭前人之总结:http://blog.sina.com.cn/s/blog_55e606c20102wstv.html

1:安装thinkfan: sudo apt-get install thinkfan sysfsutils lm-sensors hddtemp
2:安装indicator: https://launchpad.net/~alexmurray/+arch ... _amd64.deb 或:https://launchpadlibrarian.net/187273218/indicator-sensors_0.8-2_amd64.deb
安装: sudo dpkg -i indicator-sensors_0.8-2_amd64.deb

3:管理员身份在 /etc/modprobe.d 下面增加一个配置文件 thinkfan-acpi.conf ,
sudo gedit /etc/modprobe.d/thinkfan-acpi.conf
内容: options thinkpad_acpi experimental=1 fan_control=1
4:管理员身份打开 /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,最后有个提示: You may want to run '/etc/init.d/kmod start'
sudo /etc/init.d/kmod start
运行sensors,测试。

运行:find /sys/devices -type f -name "temp*_input"
我的w530显示如下:
/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp2_input
/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp5_input
/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp3_input
/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp4_input
/sys/devices/virtual/hwmon/hwmon0/temp1_input


5:编辑 /etc/thinkfan.conf ,另外加入温度侦测( 有thermal文件,就不需要这部分),我的内容如下:

sensor /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp2_input
sensor /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp5_input
sensor /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp3_input
sensor /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
sensor /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp4_input
sensor /sys/devices/virtual/hwmon/hwmon0/temp1_input

(0, 0, 50)
(1, 48, 65)
(2, 64, 70)
(3, 68, 75)
(4, 69, 80)
(5, 78, 88)
(7, 85, 32767)


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 9 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译