Debian Etch + Atom マシンでCPU 温度を見る(失敗)
Atom の乗ったMSI のWind Board にDebian Etch を入れました.
これの各種センサーの値を見たいです.特にCPU 温度.
ということで設定しようとして失敗したメモです;;
- MSI -- MICRO-STAR INT'L CO., LTD.
http://global.msi.com.tw/index.php?func=proddesc&prod_no=1495&maincat_no=1&cat2_no=170
lm-sensors をパッケージから入れます.
$ sudo apt-get install lm-sensors
とりあえず設定.最後のyes で設定を自動的に/etc/modules に追記して貰います.
$ sudo sensors-detect # sensors-detect revision 4171 (2006-09-24 03:37:01 -0700) 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): Probing for PCI bus adapters... Use driver `i2c-i801' for device 0000:00:1f.3: Intel ICH7 We will now try to load each adapter module in turn. Module `i2c-i801' already loaded. If you have undetectable or unsupported adapters, you can have them scanned by manually loading the modules before running this script. To continue, we need module `i2c-dev' to be loaded. Do you want to load `i2c-dev' now? (YES/no): Module loaded successfully. 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. Next adapter: SMBus I801 adapter at 0400 Do you want to scan it? (YES/no/selectively): Client found at address 0x08 Client found at address 0x30 Client found at address 0x44 Probing for `Maxim MAX6633/MAX6634/MAX6635'... No Client found at address 0x50 Probing for `Analog Devices ADM1033'... No Probing for `Analog Devices ADM1034'... No Probing for `SPD EEPROM'... Success! (confidence 8, driver `eeprom') Probing for `EDID EEPROM'... No Probing for `Maxim MAX6900'... No Client found at address 0x69 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): 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 `Winbond W83627HF' at 0x290... No Probing for `Silicon Integrated Systems SIS5595'... No Probing for `VIA VT82C686 Integrated Sensors'... No Probing for `VIA VT8231 Integrated Sensors'... No Probing for `AMD K8 thermal sensors'... 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): Probing for Super-I/O at 0x2e/0x2f Trying family `ITE'... No Trying family `National Semiconductor'... No Trying family `SMSC'... No Trying family `VIA/Winbond/Fintek'... No Probing for Super-I/O at 0x4e/0x4f Trying family `ITE'... No Trying family `National Semiconductor'... No Trying family `SMSC'... No Trying family `VIA/Winbond/Fintek'... Yes Found unknown chip with ID 0x0541 Now follows a summary of the probes I have just done. Just press ENTER to continue: Driver `eeprom' (should be inserted): Detects correctly: * Bus `SMBus I801 adapter at 0400' Busdriver `i2c-i801', I2C address 0x50 Chip `SPD EEPROM' (confidence: 8) EEPROMs are *NOT* sensors! They are data storage chips commonly found on memory modules (SPD), in monitors (EDID), or in some laptops, for example. I will now generate the commands needed to load the required modules. Just press ENTER to continue: To make the sensors modules behave correctly, add these lines to /etc/modules: #----cut here---- # I2C adapter drivers i2c-i801 # Chip drivers eeprom #----cut here---- Do you want to add these lines to /etc/modules automatically? (yes/NO)yes
ちゃんと書き込まれているか確認.
$ cat /etc/modules # /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. loop # Generated by sensors-detect on Wed Sep 17 02:06:21 2008 # I2C adapter drivers i2c-i801 # Chip drivers eeprom
とりあえず手動で組み込みます.
$ sudo modprobe i2c-i801 $ sudo modprobe eeprom $ lsmod | grep eeprom eeprom 7024 0 i2c_core 19680 3 i2c_dev,eeprom,i2c_i801 $ lsmod | grep i2c_i801 i2c_i801 7468 0 i2c_core 19680 3 i2c_dev,eeprom,i2c_i801
実行してみると…
$ sudo sensors No sensors found! Make sure you loaded all the kernel drivers you need. Try sensors-detect to find out which these are.
なんかうまくいっていません.
念のため再起動して
$ sudo reboot
再度確認.
$ sudo sensors No sensors found! Make sure you loaded all the kernel drivers you need. Try sensors-detect to find out which these are.
- FAQ/Chapter3 - lm-sensors - Trac
"Sensors says No sensors found! ¶"
http://www.lm-sensors.org/wiki/FAQ/Chapter3#SensorssaysNosensorsfound
ドライバは組み込まれている様なのですが….
$ lsmod | grep eeprom eeprom 7024 0 i2c_core 19680 3 i2c_dev,eeprom,i2c_i801 $ lsmod | grep i2c_i801 i2c_i801 7468 0 i2c_core 19680 3 i2c_dev,eeprom,i2c_i801
うーん宿題です….
追記)
Kernel を2.6.24-etchnhalf.1-686 にしてみたけど変わらずorz
No sensors found!