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 # cd i2c-2.8.8 # make # make install # cd ../lm_sensors-2.0.7 # cd ../lm_sensors-2.8.8 # make # make install *lm_sensorの設定 lm_sensorsのディレクトリーで # cd ./prog/detect # ./sensors-detect Vine Linux の - Vine Linux 2.6/3.1の場合はカーネルを再構築する必要なし. - Vine 3.1ではflex&bisonを入れる必要がある。 **センサーの検出 * 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へ #----cut here---- # I2C adapter drivers modprobe i2c-i801 modprobe i2c-isa # I2C chip drivers modprobe eeprom modprobe w83627hf # sleep 2 # optional /usr/local/bin/sensors -s # recommended #----cut here---- /sbin/modprobe i2c-amd756 /sbin/modprobe i2c-dev /sbin/modprobe w83781d /etc/modules.conf: #----cut here---- # I2C module options alias char-major-89 i2c-dev #----cut here----