[Comm] lm sensors

Vladimir Karpinsky =?iso-8859-1?q?vkarpinsky_=CE=C1_mail=2Eru?=
Вс Апр 27 22:28:24 MSD 2008


Здравствуйте!

Пытаюсь настроить lm_sensors: sensors-detect отрабатывает и выдаёт:

Driver `to-be-written' (should be inserted):
   Detects correctly:
   * Bus `NVIDIA i2c adapter 2 at 5:00.0'
     Busdriver `UNKNOWN', I2C address 0x09
     Chip `Smart Battery Charger' (confidence: 5)
   * Bus `NVIDIA i2c adapter 2 at 5:00.0'
     Busdriver `UNKNOWN', I2C address 0x0a
     Chip `Smart Battery Manager/Selector' (confidence: 5)
   * Bus `NVIDIA i2c adapter 2 at 5:00.0'
     Busdriver `UNKNOWN', I2C address 0x18
     Chip `Philips Semiconductors PCA9556' (confidence: 1)
   * Bus `NVIDIA i2c adapter 2 at 5:00.0'
     Busdriver `UNKNOWN', I2C address 0x19
     Chip `Philips Semiconductors PCA9556' (confidence: 1)
   * Bus `NVIDIA i2c adapter 2 at 5:00.0'
     Busdriver `UNKNOWN', I2C address 0x1a
     Chip `Philips Semiconductors PCA9556' (confidence: 1)
   * Bus `NVIDIA i2c adapter 2 at 5:00.0'
     Busdriver `UNKNOWN', I2C address 0x1b
     Chip `Philips Semiconductors PCA9556' (confidence: 1)
   * Bus `NVIDIA i2c adapter 2 at 5:00.0'
     Busdriver `UNKNOWN', I2C address 0x1c
     Chip `Philips Semiconductors PCA9556' (confidence: 1)
   * Bus `NVIDIA i2c adapter 2 at 5:00.0'
     Busdriver `UNKNOWN', I2C address 0x1d
     Chip `Philips Semiconductors PCA9556' (confidence: 1)
   * Bus `NVIDIA i2c adapter 2 at 5:00.0'
     Busdriver `UNKNOWN', I2C address 0x1e
     Chip `Philips Semiconductors PCA9556' (confidence: 1)
   * Bus `NVIDIA i2c adapter 2 at 5:00.0'
     Busdriver `UNKNOWN', I2C address 0x1f
     Chip `Philips Semiconductors PCA9556' (confidence: 1)

Driver `smartbatt' (should be inserted):
   Detects correctly:
   * Bus `NVIDIA i2c adapter 2 at 5:00.0'
     Busdriver `UNKNOWN', I2C address 0x0b
     Chip `Smart Battery' (confidence: 5)

Driver `eeprom' (should be inserted):
   Detects correctly:
   * Bus `NVIDIA i2c adapter 2 at 5:00.0'
     Busdriver `UNKNOWN', I2C address 0x50
     Chip `eeprom' (confidence: 6)
   * Bus `NVIDIA i2c adapter 2 at 5:00.0'
     Busdriver `UNKNOWN', I2C address 0x51
     Chip `eeprom' (confidence: 6)
   * Bus `NVIDIA i2c adapter 2 at 5:00.0'
     Busdriver `UNKNOWN', I2C address 0x52
     Chip `eeprom' (confidence: 6)
   * Bus `NVIDIA i2c adapter 2 at 5:00.0'
     Busdriver `UNKNOWN', I2C address 0x53
     Chip `eeprom' (confidence: 6)
   * Bus `NVIDIA i2c adapter 2 at 5:00.0'
     Busdriver `UNKNOWN', I2C address 0x54
     Chip `eeprom' (confidence: 6)
   * Bus `NVIDIA i2c adapter 2 at 5:00.0'
     Busdriver `UNKNOWN', I2C address 0x55
     Chip `eeprom' (confidence: 6)
   * Bus `NVIDIA i2c adapter 2 at 5:00.0'
     Busdriver `UNKNOWN', I2C address 0x56
     Chip `eeprom' (confidence: 6)
   * Bus `NVIDIA i2c adapter 2 at 5:00.0'
     Busdriver `UNKNOWN', I2C address 0x57
     Chip `eeprom' (confidence: 6)
   * Bus `SMBus I801 adapter at 0400'
     Busdriver `i2c-i801', I2C address 0x50
     Chip `eeprom' (confidence: 6)
   * Bus `SMBus I801 adapter at 0400'
     Busdriver `i2c-i801', I2C address 0x51
     Chip `eeprom' (confidence: 6)
   * Bus `SMBus I801 adapter at 0400'
     Busdriver `i2c-i801', I2C address 0x52
     Chip `eeprom' (confidence: 6)
   * Bus `SMBus I801 adapter at 0400'
     Busdriver `i2c-i801', I2C address 0x53
     Chip `eeprom' (confidence: 6)
   * Bus `SMBus I801 adapter at 0400'
     Busdriver `i2c-i801', I2C address 0x54
     Chip `eeprom' (confidence: 6)
   * Bus `SMBus I801 adapter at 0400'
     Busdriver `i2c-i801', I2C address 0x55
     Chip `eeprom' (confidence: 6)

   EEPROMs are *NOT* sensors! They are data storage chips commonly
   found on memory modules (SPD), in monitors (EDID), or in some
   laptops, for example.

Driver `w83627ehf' (should be inserted):
   Detects correctly:
   * ISA bus, address 0x290
     Chip `Winbond W83627DHG Super IO Sensors' (confidence: 9)

Driver `coretemp' (should be inserted):
   Detects correctly:
   * Chip `Intel Core family thermal sensor' (confidence: 9)

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/modprobe.d/lm_sensors:

#----cut here----
# I2C module options
alias char-major-89 i2c-dev
#----cut here----

...

modprobe i2c-i801
# Chip drivers
# no driver for Smart Battery Charger yet
# Warning: the required module smartbatt is not currently installed
# on your system. For status of 2.6 kernel ports check
# http://www.lm-sensors.org/wiki/Devices. If driver is built
# into the kernel, or unavailable, comment out the following line.
modprobe smartbatt
modprobe eeprom
modprobe w83627ehf
# Warning: the required module coretemp is not currently installed
# on your system. For status of 2.6 kernel ports check
# http://www.lm-sensors.org/wiki/Devices. If driver is built
# into the kernel, or unavailable, comment out the following line.
modprobe coretemp

Ну, и далее: модули i2c и eeprom загружаются, coretemp и smartbatt 
отсутствуют, как класс, а modprobe w83627ehf даёт ошибку:
FATAL: Error inserting w83627ehf 
(/lib/modules/2.6.18-std-smp-alt7/kernel/drivers/hwmon/w83627ehf.ko): No 
such device

И, как следствие:

# sensors
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.

Можно всё-таки заставить работать сенсоры?

# sensors -v
sensors version 2.10.2 with libsensors version 2.10.2

# uname -a
Linux newseismix 2.6.18-std-smp-alt7 #1 SMP Sat Aug 4 00:07:54 MSD 2007 
i686 GNU/Linux


-- 
	С уважением,
		Владимир.



Подробная информация о списке рассылки community