Home > ThinPad X31 | Xubuntu > fan-control

fan-control

ふと気がつきました。熱い!
これでは我が X31 はすぐオシャカになってしまうので対策を施します。
詳細は こここちら を。
要はスクリプトを走らせる必要があります。
なお、 kernel 2.6.22 以上の場合は /etc/modprove.d/ibm_acpi.modprove の編集が必要です。

まずはhttp://thinkwiki.org/wiki/How_to_control_fan_speedからスクリプトをtp-fancontrolという名前でダウンロードします。
sudo chmod 775 ./tp-fancontral とかで実行権を与えてください。

続いて、常に PC 起動時に有効となるように deamon に登録します。
本来の方法は不明ですが、ダウンロードしたスクリプトは -d オプションで deamon 起動されるので、とりあえず次のようにしました。

1) tp-fancontral を /usr/local/bin/ に置く。

2) /etc/init.d/ に tp-fan とかのスクリプトを置く。
中身は

#!/bin/sh
/usr/local/bin/tp-fancontrol -d

です。

3) sysv-rc.conf をインストールして、先ほどの tp-fan をランレベル2〜5で有効とする。

概略は以上のとおりです。
とりあえずこれで FAN は無事に動作しました。
ターミナルから tp-fancontrol -t で様子が確認できます。
以下で CPU に負荷をかけて様子を見てみましょう。

# while true
>do
>echo test
>done

以上です。

コメント:0

コメントフォーム
Remember personal info

トラックバック:0

このエントリーのトラックバックURL
http://x31.yoshi-1968.com/2007/09/24/fan-control/trackback/
Listed below are links to weblogs that reference
fan-control from ThinkPad X31 with Xubuntu

Home > ThinPad X31 | Xubuntu > fan-control

Return to page top