Ubuntu 11.10 on ThinkPad X220 ã§ãã¡ã³å¶å¾¡
ããã¾ãã¦ããã§ã¨ããããã¾ãã
ç´åå¹´ã®éã諸äºæ
ã«ããããã°ãä¼ãã§ãã¾ãããã2012å¹´ã«ãªããæ°æã¡ãæ°ãã«ãããã°ãåéãããã¨æãã¾ãã
ã¾ãã¯ãUbuntuãã¿ã
æè¿ä»äºç¨ã«è³¼å
¥ãã ThinkPad X220 ã« Ubuntu 11.10 x86_64 ãã¤ã³ã¹ãã¼ã«ãã¾ããã
ãã°ãããã¦CPUãã¡ã³ã®é³ãæ°ã«ãªããå転æ°ã調ã¹ã¦ã¿ã㨠ç´3600RPMã
ç¹ã«è² è·ãããã£ã¦ããããã§ã¯ãªãã®ã«ãã»ã¼ãã«å転ã
ã¨ãããããã¡ã³ãå¶å¾¡ããæ¹æ³
ããã¯ã¡ãã£ã¨ããããã¨æã£ã¦ã°ã°ãã¦ã¿ãã¨ãThinkPad ã§ã¯CPUãã¡ã³ã®å¶å¾¡ããã¾ãè¡ããªãã¨ããæ å ±ãã
ã«ã¼ãã«ã¢ã¸ã¥ã¼ã«ã®ãªãã·ã§ã³ã§å¯¾å¿ã§ããã¨ã®ãã¨ã
http://www.thinkwiki.org/wiki/How_to_control_fan_speed
vi /etc/modprobe.d/options ãªã©ãã¦ä»¥ä¸ã®ããã«æ¸ãã(Redhatç³»ã§ã¯ /etc/modprobe.d/fan)
options thinkpad_acpi fan_control=1
ã¢ã¸ã¥ã¼ã«ãåãã¼ãã
sudo modprobe -rv thinkpad_acpi sudo modprobe -v thinkpad_acpi
ãã¡ã³å転æ°ãã¬ãã«1ã«ã»ãã
echo level 1 | sudo tee /proc/acpi/ibm/fan
ããã¨ãç´1900RPM ã¾ã§ä¸ãããéãã«ãªã£ããCPU温度ã¯59度ã¾ã§ä¸ãããããã§æ¢ã¾ã£ãã
温度ã«ãã£ã¦å転æ°ãèªåå¶å¾¡ããã
ãã®æ¹æ³ã§ã¯CPUã«è² è·ãããã£ã¦æ¸©åº¦ãä¸ãã£ãã¨ãã«ãã¡ã³ã®å転æ°ãä¸ãããªãã
æåã§å転æ°ãå¤æ´ãããã®ã¯ã¡ãã£ã¨å«ã ã
èªåçã«ãã¡ã³ã®å転æ°ãå¤åããããã«ãããã
ã¨æã£ã¦ã¾ãã°ã°ãã¦ããã¨ãthinkfan ãªããã®ãçºè¦ã
http://www.naney.org/diki/d/2010-11-13-thinkfan.html
ãã£ããã¤ã³ã¹ãã¼ã«ãã¦ã¿ãã
sudo apt-get install thinkfan
è¨å®ãã¡ã¤ã«ã¯ã/etc/default/thinkfan /etc/thinkfan.conf ã«ããã(2012-03-28 ãã¹ãééã£ã¦ãã®ã§ä¿®æ£)
éãã¦ã¿ãã¨ããªã«ãã T61p ã§ã®ãããå¤ã®è¨å®ä¾ãæ¸ããã¦ãããã¨ãããããã®å¤ã§ä½¿ã£ã¦ã¿ããã¨ãããã¨ã§ãthinkfan ãèµ·åãã¦ã¿ãã
sudo thinkfan -n
ã¨ãããã/proc/acpi/ibm/thermal ããªãã¨ãã§ã¨ã©ã¼ã«ãªããå®è¡ã§ããªãã
X220ã§thinkfanãåãã
公式Wiki (ãã¤ãèª)ã«ããã¨ãThinkPad X220/T420s/T420 ã§ã¯ã温度ã»ã³ãµã®ããã¤ã¹ãã¡ã¤ã«ãå¥ã®ä½ç½®ã«ãããããèªèã§ããªããã ã¨ãã
ã§ããã®ãµã¤ãã«ããã¨ãããæåã§ã»ã³ãµã¼ãæ¤åºãããã¹ã対å¦ã
lm-sensors ãã¤ã³ã¹ãã¼ã«ã
sudo apt-get install lm-sensors
ã»ã³ãµã¼ãæ¤åº
sudo sensors-detect
質åã«ã¯ãã¹ã¦ YES ã¨çããã
ï¼ããã©ã«ãYESãªã®ã§Enterãã¼é£æã§ããããä¸çªæå¾ã® Do you want to add these lines automatically to /etc/modules? (yes/NO) ã ãããã©ã«ãNOãªã®ã§æ³¨æããï¼
/etc/modules ãåèªã¿è¾¼ã¿ããããï¼ã¾ãã¯åèµ·åããï¼
sudo start module-init-tools
ã»ã³ãµã¼ã®å¤ãèªãã§ã¿ãã
$ sensors acpitz-virtual-0 Adapter: Virtual device temp1: +50.0°C (crit = +99.0°C) thinkpad-isa-0000 Adapter: ISA adapter fan1: 3498 RPM coretemp-isa-0000 Adapter: ISA adapter Physical id 0: +51.0°C (high = +86.0°C, crit = +100.0°C) Core 0: +47.0°C (high = +86.0°C, crit = +100.0°C) Core 1: +46.0°C (high = +86.0°C, crit = +100.0°C)
ãã®ããã«ãCPUã³ã¢ã®æ¸©åº¦(coretemp)ã表示ãããã°OKã
ããã§ã温度ã»ã³ãµã¼ãèªèãããã¹ãã·ã£ã«ãã¡ã¤ã«ãåºæ¥ã¦ããã¯ããªã®ã§ã以ä¸ã®ã³ãã³ãã§èª¿ã¹ã¦ã¿ãã
$ find /sys/devices -type f -name "temp*_input" /sys/devices/platform/coretemp.0/temp1_input /sys/devices/platform/coretemp.0/temp2_input /sys/devices/platform/coretemp.0/temp3_input /sys/devices/virtual/hwmon/hwmon0/temp1_input
OKã
ä¸çªæåã®ã»ã³ãµã¼ãCPUå ¨ä½ã®æ¸©åº¦ã®ãããªã®ã§ããããã»ã³ãµã¼ããã¤ã¹ã¨ã㦠thinkfan.conf ã«è¨å®ãããï¼ãããå¤è¨å®ã®åã«è¨è¿°ï¼
sensor /sys/devices/platform/coretemp.0/temp1_input
ãã¹ã
ãã¡ã³å転æ°ãå¶å¾¡ããããã©ããããã¹ãã
ã¾ããã¡ã³ã®ã¹ãã¼ããèªåã«è¨å®ã
echo level auto | sudo tee /proc/acpi/ibm/fan
ãã¡ã³ããããããªã£ãã
thinkãã¡ã³ããã©ã¢ã°ã©ã¦ã³ãã§èµ·åã
sudo thinkfan -n
ãããéãã«ãªã£ãã
ããã¦ãæ§åã
Ctrl+C ã§thinkfan ãåæ¢ã
å®é¨
次ã«ãã¡ã³å転æ°ãèªåçã«å¤åãããã©ãããå®é¨ã
ãã¡ã³ãæ¢ããCPU温度ãä¸æããã¦ã¿ãã
echo watchdog 0 | sudo tee /proc/acpi/ibm/fan echo disabled | sudo tee /proc/acpi/ibm/fan
sensorsã³ãã³ããwatchãã温度ä¸æãç£è¦ã
$ watch sensors Every 2.0s: sensors Mon Jan 2 16:36:14 2012 acpitz-virtual-0 Adapter: Virtual device temp1: +60.0°C (crit = +99.0°C) thinkpad-isa-0000 Adapter: ISA adapter fan1: 0 RPM coretemp-isa-0000 Adapter: ISA adapter Physical id 0: +60.0°C (high = +86.0°C, crit = +100.0°C) Core 0: +58.0°C (high = +86.0°C, crit = +100.0°C) Core 1: +58.0°C (high = +86.0°C, crit = +100.0°C)
ã¡ãã£ã¨æãã®ã§ã60度ãããã¾ã§ã§ããã¦ããã
Ctrl+C 㧠watch ããããthinkfan ãèµ·åããã
sudo thinkfan -n
ãã¡ã³ãå転ãã ããã¬ãã«5 â 4 â 3 ã¨ä¸ãã£ã¦ãã£ãã
大æåããã¾ãèªåå¶å¾¡åºæ¥ã¦ããæ§åã
ãã¼ã¢ã³èµ·å
æ¬æ ¼çã« thinkfan ããã¼ã¢ã³ã¨ãã¦èµ·åã
/etc/default/thinkfan ãã¡ã¤ã«ã®ä¿®æ£ãå¿ è¦ã
START=yes
ã¨ãã
sudo /etc/init.d/thinkfan start
thinkfan.conf ã®ãããå¤
ãããã試ããçµæãX220 ã§ã¯ä»¥ä¸ã®ãããªè¨å®ã§éç¨ãããã¨ã«ãã¾ããã
(0, 0, 52) (1, 48, 60) (2, 59, 63) (4, 61, 65) (6, 64, 68) (7, 67, 32767)
ã¨ããããããã§æ§åè¦ã
2012/03/28 追è¨ã
ããå°ãé«ãã®æ¸©åº¦ã§ã大ä¸å¤«ãããªã®ã§ãåºæ¥ãã ãéãã«ãªããã以ä¸ã®è¨å®ã«ä¿®æ£ãã¦éç¨ãã¦ãã¾ãããåèã«ãªãã°ã
(0, 0, 64) (1, 55, 66) (2, 65, 68) (4, 67, 70) (6, 69, 72) (7, 71, 32767)