Navigation :
Top/lm_sensors
- バックアップ一覧
- 差分 を表示
- 現在との差分 を表示
- バックアップ を表示
- lm_sensors へ行く。
- 1 (2004-07-24 (土) 17:31:09)
*内容 -hardwareのモニター -インストールも結構ハード *ファイルの入手先 i2cとlm_sensors -http://www2.lm-sensors.nu/~lm78/index.html -------------------------- *インストール i2cとlm_sensorsをtarしてmakeしてインストール. Vine Linux 2.6の場合はカーネルを再構築する必要なし. # cd i2c-2.7.0 # make # make install # cd ../lm_sensors-2.0.7 # make # make install *lm_sensorの設定 lm_sensorsのディレクトリーで # cd ./prog/detect # ./sensors-detect **センサーの検出 * Do (as root) `depmod -a'. * Verify that /usr/local/lib is listed in /etc/ld.so.conf; add it if it isn't. * Do (as root) `ldconfig'. * Run (as root) `prog/mkdev/mkdev.sh' to create the device files, unless you already have them or are running devfs. * Run (as root) `prog/detect/sensors-detect' to detect your hardware, put the lines it suggests into /etc/modules.conf and enter the modprobe lines sensors-detect suggests. Add the line `sensors -s' after the modprobe lines. * Reboot, or else type in the modprobe lines and `sensors -s'. * Run `sensors' to see your output. 結果は/etc/sysconfig/lm_sensorsに自動的に保存される **lm_sensorの設定を行う. # # cp etc/sensors.conf.eg /etc/sensors.conf 起動時に lm_sensors 関係のモジュールを自動的に読み込ませる ように設定します.まずは,起動用ファイルのサンプルを一度実行し, 正常に動くかどうかを確認してください. # ./prog/init/lm_sensors.init restart 実行後,sensor コマンドを実行し,次のように温度情報等が出たとしたら, 正常に動作しています. # /usr/local/bin/sensors *lm_sensor deamonの設定 問題が無いようであれば,起動時に自動的に必要なモジュールが 読み込まれるように設定します. # cp ./prog/init/lm_sensors.init /etc/rc.d/init.d/lm_sensors # /sbin/chkconfig --add lm_sensors /etc/rc.localへ /sbin/modprobe i2c-amd756 /sbin/modprobe i2c-dev /sbin/modprobe w83781d