Решил поэкспериметировать с Superkaramba - попробовать создать пару тем и пр. Выянил, что для отображения температуры процессора, скорости вращения куллера и пр. необходимо установить lm_sensors - что я и попытался сделать.
Сначала скачал и установил:
Код: Выделить всё
urpmi lm_sensorsВсе установилось. Затем как и положено (было сообщено по окончанию установки) выполнил команду
Код: Выделить всё
sensors-detectПолучил следующий результат:
Код:
Driver `eeprom' (should be inserted):
Detects correctly:
* Bus `SMBus I801 adapter at 5000'
Busdriver `i2c-i801', I2C address 0x50
Chip `SPD EEPROM' (confidence: 8)
* Bus `NVIDIA i2c adapter 0 at 1:00.0'
Busdriver `UNKNOWN', I2C address 0x50 (and 0x51 0x52 0x53 0x54 0x55 0x56 0x57)
Chip `DDC monitor' (confidence: 8)
Driver `to-be-written' (should be inserted):
Detects correctly:
* ISA bus address 0x0290 (Busdriver `i2c-isa')
Chip `ITE 8702F Super IO Sensors' (confidence: 9)
I will now generate the commands needed to load the I2C modules.
To make the sensors modules behave correctly, add these lines to
/etc/modules.conf:
#----cut here----
# I2C module options
alias char-major-89 i2c-dev
#----cut here----
To load everything that is needed, add this to some /etc/rc* file:
#----cut here----
# I2C adapter drivers
modprobe i2c-i801
# modprobe unknown adapter TT-Budget-S-1401 PCI
# modprobe unknown adapter NVIDIA i2c adapter 0 at 1:00.0
# modprobe unknown adapter NVIDIA i2c adapter 1 at 1:00.0
# modprobe unknown adapter NVIDIA i2c adapter 2 at 1:00.0
modprobe i2c-isa
# I2C chip drivers
modprobe eeprom
# no driver for ITE 8702F Super IO Sensors yet
# sleep 2 # optional
/usr/bin/sensors -s # recommended
#----cut here----
WARNING! If you have some things built into your kernel, the list above
will contain too many modules. Skip the appropriate ones! You really should
try these commands right now to make sure everything is working properly.
Monitoring programs won't work until it's done.
Do you want to generate /etc/sysconfig/lm_sensors? (YES/no): y
Copy prog/init/lm_sensors.init to /etc/rc.d/init.d/lm_sensors
for initialization at boot time.Как я понял, не были опеределны соотв. модули для DVB-карты и для видеокарты - но они меня не слишком интересуют.
Далее добавил соотв. строки в указаные файлы.
Перезагрузился.
Однако, похоже, что не все прошло успешно, т.к. пытаясь проверить работу сенсеров получаю следующие сообщение:
Код: Выделить всё
# sensors -s
Can't access procfs/sysfs file
Unable to find i2c bus information;
For 2.6 kernels, make sure you have mounted sysfs and libsensors
was compiled with sysfs support!
For older kernels, make sure you have done 'modprobe i2c-proc'!Как с этим справится?
ОС: Mandriva 2007.0
Ядро: родное, 2.6.17-5mdv