最新版はこちら。 突っ込みは各日付の BBS エントリのほか、 メール (nakano@st.seikei.ac.jp) や フォーム からどうぞ。 なおスパム除けのため、BBS 機能には 緩い認証を入れて います。 検索エンジンから来た方は、エンジンの方のキャッシュを見るか、 下の簡易検索を試してみてください。
|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
||||||||||||||||||||||||||||||||||||||||||||||
# apt-get isntall lm-sensors lm-sensors-source i2c-source # cd /usr/src # tar zxf lm-sensors.tar.gz # tar zxf i2c.tar.gz # cd /usr/src/kernel-source-2.4.18 # make-kpkg modules_image # cd .. # dpkg -i i2c-2.4.18*.deb lm-sensors-2.4.18*.deb # depmod -a # sensors-detect [←以下はこの表示を見て] (/etc/modutils/local 編集) # update-modules # modprobe i2c-piix4 # modprobe lm78までが作業。結果。
% sensors lm79-i2c-0-2d Adapter: SMBus PIIX4 adapter at 5000 Algorithm: Non-I2C SMBus adapter VCore 1: +2.01 V (min = +1.90 V, max = +2.09 V) VCore 2: +1.48 V (min = +1.90 V, max = +2.09 V) ALARM +3.3V: +3.26 V (min = +3.13 V, max = +3.45 V) +5V: +5.11 V (min = +4.72 V, max = +5.24 V) +12V: +11.40 V (min = +11.36 V, max = +12.58 V) -12V: -11.82 V (min = -12.55 V, max = -11.33 V) -5V: -4.98 V (min = -5.24 V, max = -4.74 V) fan1: 2743 RPM (min = 3000 RPM, div = 2) ALARM fan2: 0 RPM (min = 3000 RPM, div = 2) ALARM fan3: 3835 RPM (min = 3000 RPM, div = 2) temp: +35.0庵 (limit = +60庵, hysteresis = +50庵) vid: +2.00 V eeprom-i2c-0-50 Adapter: SMBus PIIX4 adapter at 5000 Algorithm: Non-I2C SMBus adapter Memory type: SDRAM DIMM SPD SDRAM Size (MB): 128 eeprom-i2c-0-51 Adapter: SMBus PIIX4 adapter at 5000 Algorithm: Non-I2C SMBus adapter Memory type: SDRAM DIMM SPD SDRAM Size (MB): 128
Driver `w83781d' (should be inserted but causes problems): Detects correctly: * Bus `SMBus AMD7X6 adapter at 80e0' (Non-I2C SMBus adapter) Busdriver `i2c-amd756', I2C address 0x2c (and 0x48 0x49) Chip `Winbond W83627HF' (confidence: 8) Misdetects: * Bus `SMBus AMD7X6 adapter at 80e0' (Non-I2C SMBus adapter) Busdriver `i2c-amd756', I2C address 0x2d (and 0x48 0x49) Chip `Winbond W83782D' (confidence: 8) Driver `lm75' (may not be inserted): Misdetects: * Bus `SMBus AMD7X6 adapter at 80e0' (Non-I2C SMBus adapter) Busdriver `i2c-amd756', I2C address 0x48 Chip `National Semiconductor LM75' (confidence: 3) * Bus `SMBus AMD7X6 adapter at 80e0' (Non-I2C SMBus adapter) Busdriver `i2c-amd756', I2C address 0x49 Chip `National Semiconductor LM75' (confidence: 3) Driver `eeprom' (should be inserted): Detects correctly: * Bus `SMBus AMD7X6 adapter at 80e0' (Non-I2C SMBus adapter) Busdriver `i2c-amd756', I2C address 0x50 Chip `Serial EEPROM (PC-100 DIMM)' (confidence: 8) * Bus `SMBus AMD7X6 adapter at 80e0' (Non-I2C SMBus adapter) Busdriver `i2c-amd756', I2C address 0x54 Chip `Serial EEPROM (PC-100 DIMM)' (confidence: 1)のように探索結果がちょっと変わった。 しかし option なしで modprobe w83781d するとやっぱ落ちる。
modprobe w83781d ignore_range=0,0x00,0x2c,0,0x2e,0x7f init=0してみたところ、
% sensors w83782d-i2c-0-2d Adapter: SMBus AMD7X6 adapter at 80e0 Algorithm: Non-I2C SMBus adapter VCore 1: +1.74 V (min = +1.64 V, max = +2.04 V) VCore 2: +2.08 V (min = +1.64 V, max = +2.04 V) ALARM +3.3V: +1.53 V (min = +2.81 V, max = +3.79 V) +5V: +4.84 V (min = +4.50 V, max = +5.48 V) +12V: +4.71 V (min = +10.79 V, max = +13.11 V) -12V: -2.01 V (min = -13.21 V, max = -10.90 V) -5V: +2.71 V (min = -5.51 V, max = -4.51 V) V5SB: +4.27 V (min = +4.50 V, max = +5.48 V) VBat: +3.29 V (min = +2.70 V, max = +3.29 V) fan1: 0 RPM (min = 3000 RPM, div = 2) fan2: 0 RPM (min = 3000 RPM, div = 2) fan3: 2860 RPM (min = 3000 RPM, div = 2) temp1: +78庵 (limit = +60庵, hysteresis = +50庵) sensor = thermistor temp2: +77.5庵 (limit = +80庵, hysteresis = +75庵) sensor = thermistor temp3: +76.0庵 (limit = +80庵, hysteresis = +75庵) sensor = thermistor vid: +1.85 V alarms: beep_enable: Sound alarm enabledのように無事表示された。
* init=[0,1] (default 1) Use 'init=0' to bypass initializing the chip. Try this if your computer crashes when you load the module.ということらしい。 ignore_range はハングアップに関係ないみたいだ。 あほな回り道をした。
W8378* PROBLEMS ----------------- Known problems: - Some chips are misidentified. This is caused by the chip having the wrong WCHIPID register value, so there is no fix. The workaround is to use the force_CHIP parameter. (modprobe w83781d force_CHIP=BUS,0x2d where CHIP is the chip name and BUS is your i2c bus number - cat /proc/bus/i2c to see a list of bus numbers)ということのようなので、 最初の sensors-detect の結果 を見て
modprobe w83781d force_w83627hf=0,0x2c init=0で入れてみた。すると
% sensors w83627hf-i2c-0-2c Adapter: SMBus AMD7X6 adapter at 80e0 Algorithm: Non-I2C SMBus adapter VCore 1: +1.72 V (min = +1.64 V, max = +2.04 V) ALARM VCore 2: +1.72 V (min = +1.64 V, max = +2.04 V) ALARM +3.3V: +3.23 V (min = +2.81 V, max = +3.79 V) +5V: +4.86 V (min = +4.50 V, max = +5.48 V) +12V: +9.42 V (min = +10.79 V, max = +13.11 V) ALARM -12V: -12.39 V (min = -13.21 V, max = -10.90 V) -5V: -0.05 V (min = -5.51 V, max = -4.51 V) ALARM V5SB: +5.43 V (min = +4.50 V, max = +5.48 V) VBat: +3.23 V (min = +2.70 V, max = +3.29 V) fan1: 4655 RPM (min = 3000 RPM, div = 2) fan2: 4720 RPM (min = 3000 RPM, div = 2) fan3: 0 RPM (min = 3000 RPM, div = 2) ALARM temp1: +77庵 (limit = +60庵, hysteresis = +50庵) sensor = thermistor ALARM temp2: +78.5庵 (limit = +80庵, hysteresis = +75庵) sensor = thermistor temp3: +77.0庵 (limit = +80庵, hysteresis = +75庵) sensor = thermistor vid: +1.85 V alarms: beep_enable: Sound alarm enabledという感じで、電圧表示もまともになったっぽい。 いや、まだ -5V がおかしいか。
People learn from their failures. Seldom do they learn anything from success.
--Harold Geneen (1910-97)