cristianoav
(usa CentOS)
Enviado em 23/03/2009 - 00:34h
Senhores, gostaria de monitorar temperatura e velocidade rpm do cooler e jogar isso no mrtg.
mas para isso necessito configurar antes o lm_sensors e o i2c.
meu kernel é superior ao 2.6 portanto acho que já tem suporte ao i2c.
[root@localhost ~]# modprobe -l | grep i2c
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/i2c/chips/ds1337.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/i2c/chips/ds1374.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/i2c/chips/eeprom.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/i2c/algos/i2c-algo-bit.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/i2c/algos/i2c-algo-pca.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/i2c/algos/i2c-algo-pcf.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/i2c/busses/i2c-ali1535.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/i2c/busses/i2c-ali1563.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/i2c/busses/i2c-ali15x3.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/i2c/busses/i2c-amd756.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/i2c/busses/i2c-amd756-s4882.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/i2c/busses/i2c-amd8111.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/i2c/i2c-core.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/i2c/i2c-dev.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/i2c/busses/i2c-i801.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/i2c/busses/i2c-i810.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/i2c/busses/i2c-isa.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/i2c/busses/i2c-nforce2.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/i2c/busses/i2c-parport.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/i2c/busses/i2c-parport-light.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/i2c/busses/i2c-piix4.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/i2c/busses/i2c-prosavage.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/i2c/busses/i2c-savage4.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/i2c/busses/i2c-sis5595.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/i2c/busses/i2c-sis630.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/i2c/busses/i2c-sis96x.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/i2c/busses/i2c-stub.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/i2c/busses/i2c-via.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/i2c/busses/i2c-viapro.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/i2c/busses/i2c-voodoo3.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/acpi/i2c_ec.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/media/video/ir-kbd-i2c.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/i2c/chips/max6875.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/i2c/chips/pca9539.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/i2c/chips/pcf8574.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/drivers/i2c/chips/pcf8591.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/sound/i2c/other/snd-ak4114.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/sound/i2c/other/snd-ak4xxx-adda.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/sound/i2c/snd-cs8427.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/sound/i2c/snd-i2c.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/sound/i2c/other/snd-pt2258.ko
/lib/modules/2.6.18-92.1.22.el5xen/kernel/sound/i2c/other/snd-tea575x-tuner.ko
Já instalei o lm-sensors, mas o comando sensors traz o seguinte erro:
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'!
como devo proceder agora ? aguardo resposta, obrigado