
Ubuntu日本語フォーラム

ログインしていません。
Ubuntu9.04を使い始めて(Linux自体初めてですが)sensorsにphenom2X3-720beの温度表示をする方法をご存知の方いらっしゃいますでしょうか?初心者のためあまりUbuntuの操作が分かりませんが、色々調べたところK10のパッチを適用すればいいようなのですが、
・K10パッチのダウンロードの場所?・K10パッチをUbuntuのどこに保管した方がその後の操作がしやすいのか?
・sensorsにK10パッチの適用方法? が、分かりません。ご存知の方、いたら教えてください。
現状 PC:自作 マザー:ASUS−M4N78PRO CPU:Phenom2−X3−720BE ハードディスク:HITACHI−Deskstar P7K500
OS:ubuntu9.04(WindowsXP HOME EditionとのディアルブートでハードディスクにUbuntuを成功法で(Wubi等使わず直接Ubuntuを
利用しています)をインストール)
CPUのオンデマンド周波数表示:ハードディスクの温度表示はできておりますが、CPUの温度表示がどうしてもできません。
お手数ですが、よろしくお願いいたします。
オフライン
sensorsが入っているということはlm_sensorsはインストール済みということでよろしいでしょうか?
であるならば、
$ sudo sensors-detect
を実行して、質問には(大体)yで答えていくことで各センサーの出力を拾ってくれるようになるかと思います。
個別の質問の内容までは把握してなくて申し訳ないのですが・・・
で、再起動してsensorsの実行結果が増えていれば成功です。(sensorsだけ再起動でもいい様なのですが、再起動のほうが簡単で確実かと思います。)
/sys/class/hwmon/hwmon2/deviceあたりにファイルがあるのですが、hwmon2というところは環境により変わってしまいますので、hwmon0 hwmon1などになってることがあるかと思います。
当方環境ではこれで720BE+TA790GX、720BE+MA78-UD2HにてCPU温度は拾ってくれています。
ただ、コア温度をたぶん拾ってくれていない(それらしき項目が出てこない)というのと、CPU温度らしきものが複数あってConkyやSensors-Appletに表示させるのにはちょっと紛らわしいかなと。
オフライン
お答えいただきありがとうございます。
お答えいただいたとおり実行鵜してみましたが、当初のとおりhddtempの表示しか出てきませんでした。
また、/sys/class/hwmon/には何もファイルがありません。
当初の設定を書き漏れておりましたが、Ubuntuは32BIT版なのですが、それがそもそも表示できない理由なのでしょうか。
お手数をお掛けしますが、よろしくお願いいたします。
オフライン
こんばんは
Phenom MBで同じかどうか分かりませんが、lm_sensorsの使い方を含めて、書きますので、参考にしてください。
私の場合は(MBはIntel D945GCLF2 Ubuntu9.0432bit版)
6 温度センサーの導入 ( MB温度センサーの有効化とgnomeでの表示 )
a GNOME端末からsudo apt-get update
sudo apt-get install lm-sensors
b 端末からsudo sensors-detectを実行し/etc/modulesにセンサードライバーの項目を記入する(sudo gedit /etc/modules)。
(i2ci801,smsc47m192,smsc47m1の3行を加えて、CLIで使えるようにする。)
c 端末からsensors コマンドで温度等が設定できるか確認
d 端末から sudo apt-get install sensors-appletでアプレットをインストール。
(hddtempは自動起動させない。:私の場合使っていないので)
e 下部パネル上で、右ボタンで『パネルに追加』を選択し、Hardware Sensors Monitorを選択し、追加を押す。とじる。
f 温度センサー表示を右ボタンで『preference』を選び、表示させるものだけをチェックする。
以上です。
結果
$ sensors smsc47m192-i2c-0-2d Adapter: SMBus I801 adapter at 2000 +2.5V: +2.54 V (min = +0.00 V, max = +3.32 V) VCore: +1.15 V (min = +0.00 V, max = +2.99 V) +3.3V: +3.28 V (min = +0.00 V, max = +4.38 V) +5V: +4.97 V (min = +0.00 V, max = +6.64 V) +12V: +12.31 V (min = +0.00 V, max = +15.94 V) VCC: +3.28 V (min = +0.00 V, max = +4.38 V) +1.5V: +1.56 V (min = +0.00 V, max = +1.99 V) +1.8V: +1.77 V (min = +0.00 V, max = +2.39 V) Chip Temp: +33.0°C (low = -127.0°C, high = +127.0°C) CPU Temp: +49.0°C (low = +48.0°C, high = +55.0°C) Sys Temp: +41.0°C (low = -127.0°C, high = +127.0°C) cpu0_vid: +2.050 V smsc47m1-isa-0680 Adapter: ISA adapter fan1: 2118 RPM (min = 1280 RPM, div = 4) fan2: 4726 RPM (min = 1280 RPM, div = 4)
これでだめだった場合、K10pacheを探してください。
オフライン
tenntyannさん、説明不足で済みませんでした。
tenntyann による投稿:
また、/sys/class/hwmon/には何もファイルがありません。
当初の設定を書き漏れておりましたが、Ubuntuは32BIT版なのですが、それがそもそも表示できない理由なのでしょうか。
とのことなので、lm-sensors自体が未インストールじゃないでしょうか?
32bitであることは多分関係なく大丈夫だと思います。
funatogawaさんが導入について詳しくご説明してくださいましたので、この手順で大丈夫かと思います。
当方環境では
$ sensors
it8718-isa-0228
Adapter: ISA adapter
in0: +1.01 V (min = +0.00 V, max = +4.08 V)
in1: +1.94 V (min = +0.00 V, max = +4.08 V)
in2: +3.42 V (min = +0.00 V, max = +4.08 V)
in3: +3.09 V (min = +0.00 V, max = +4.08 V)
in4: +3.07 V (min = +0.00 V, max = +4.08 V)
in5: +4.08 V (min = +0.00 V, max = +4.08 V) ALARM
in6: +4.08 V (min = +0.00 V, max = +4.08 V) ALARM
in7: +1.98 V (min = +0.00 V, max = +4.08 V)
in8: +3.09 V
fan1: 2170 RPM (min = 0 RPM)
fan2: 0 RPM (min = 0 RPM)
fan3: 0 RPM (min = 0 RPM)
fan4: 0 RPM (min = 0 RPM)
temp1: +36.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor
temp2: +33.0°C (low = +127.0°C, high = +127.0°C) sensor = thermal diode
temp3: +36.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor
cpu0_vid: +1.550 V
となってまして、temp1,2,3が若干紛らわしいものの一応監視はいけてます。(多分1がCPU温度)
*監視機能はMBに依存するかも?
オフライン
ご回答ありがとうございます。色々親切に教えていただきありがとうございます。
再度調べましたが、lm-sensorsはインストール済みでした。
sudo sensors-detectを実行したところ以下の表示が出ました。
# sensors-detect revision 5249 (2008-05-11 22:56:25 +0200)
This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.
We can start with probing for (PCI) I2C or SMBus adapters.
Do you want to probe now? (YES/no): y
Probing for PCI bus adapters...
Found unknown SMBus adapter 10de:0752 at 0000:00:01.1.
Sorry, no supported PCI bus adapters found.
If you have undetectable or unsupported I2C/SMBus adapters, you can have
them scanned by manually loading the modules before running this script.
We are now going to do the I2C/SMBus adapter probings. Some chips may
be double detected; we choose the one with the highest confidence
value in that case.
If you found that the adapter hung after probing a certain address,
you can specify that address to remain unprobed.
Some chips are also accessible through the ISA I/O ports. We have to
write to arbitrary I/O ports to probe them. This is usually safe though.
Yes, you do have ISA I/O ports even if you do not have any ISA slots!
Do you want to scan the ISA I/O ports? (YES/no): y
Probing for `National Semiconductor LM78' at 0x290... No
Probing for `National Semiconductor LM78-J' at 0x290... No
Probing for `National Semiconductor LM79' at 0x290... No
Probing for `Winbond W83781D' at 0x290... No
Probing for `Winbond W83782D' at 0x290... No
Probing for `IPMI BMC KCS' at 0xca0... No
Probing for `IPMI BMC SMIC' at 0xca8... No
Some Super I/O chips may also contain sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): y
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'... No
Trying family `SMSC'... No
Trying family `VIA/Winbond/Fintek'... No
Trying family `ITE'... Yes
Found unknown chip with ID 0x8720
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor'... No
Trying family `SMSC'... No
Trying family `VIA/Winbond/Fintek'... No
Trying family `ITE'... No
Some south bridges, CPUs or memory controllers may also contain
embedded sensors. Do you want to scan for them? (YES/no): y
Silicon Integrated Systems SIS5595... No
VIA VT82C686 Integrated Sensors... No
VIA VT8231 Integrated Sensors... No
AMD K8 thermal sensors... No
AMD K10 thermal sensors... Success!
(driver `to-be-written')
Intel Core family thermal sensor... No
Intel AMB FB-DIMM thermal sensor... No
Now follows a summary of the probes I have just done.
Just press ENTER to continue:
Driver `to-be-written' (should be inserted):
Detects correctly:
* Chip `AMD K10 thermal sensors' (confidence: 9)
I will now generate the commands needed to load the required modules.
Just press ENTER to continue:
To load everything that is needed, add this to /etc/modules:
#----cut here----
# Chip drivers
# no driver for AMD K10 thermal sensors yet
#----cut here----
Do you want to add these lines automatically? (yes/NO)y
K10パッチは適用されているようですが、どうもマザーボードの監視機能が
sensors の表示とあっていないように見受けられます。
ただ、初心者のため上記認識で合っているかどうかも確認できません。
いかがでしょうか?
オフライン
追加で申し訳ありません。
sennsorがつかえるのであれば、ご回答いただいた内容の内
b 端末からsudo sensors-detectを実行し/etc/modulesにセンサードライバーの項目を記入する
(sudo gedit /etc/modules)。
(i2ci801,smsc47m192,smsc47m1の3行を加えて、CLIで使えるようにする。)
の挿入はどこに行えば良いのでしょうか?(申し訳ありません。解りませんでした。)
具体的に教えていただけると大変助かります。
オフライン
こんばんは
sudo sennsors-detect を実行するとセンサー一覧のファイルを作りますので、それをコピペするだけです。
# /etc/modules: kernel modules to load at boot time. # # This file contains the names of kernel modules that should be loaded # at boot time, one per line. Lines beginning with "#" are ignored. lp ← ここまでは前から入っていた。 # Generated by sensors-detect on Thu May 21 00:58:38 2009 ← ここから下がペーストした部分 # I2C adapter drivers i2c-i801 # Chip drivers smsc47m192 smsc47m1
オフライン
お世話になります。
tminさん funatogawaさん ご回答いただいてありがとうこざいます。
教えていただいた方法・自分でネットで調べた方法を行いましたが、
どうしても適用できませんでした。
マザーボードが対応していないものだと。
勝手に解釈致します。
毎日見ることができず、また、現在の自分のUbuntuの知識では対応できないため、
一旦取り下げさせていただきます。
近々に再度色々勉強し再度質問させていただきます。
丁寧なご回答いただき、有難うございました。
オフライン