come premessa voglio dirvi che ho letto tutti i post sul forum riguardanti il seguente argomento ma nn sono riuscito a risolvere il mio problema!!!
Il problema :
ho configurato il kernel come dice la guida presente sul sito di lm sensors ovvero in questo modo :
quando vado a fare un lsmod l'unico modulo caricato è i2c_i801....vabbè ci passo sopra leggendo qua e la capisco che i moduli "indispensabili" sono i2c_dev e i2c_stub oltre a quello caricato...allora provvedo a caricare i suddetti moduli e lancio da root il comando sensors-detect dopo le varie domande arriva alla fine e mi da il seguente output :Recommended Kernel Configuration
* Code maturity level options
o [*] Prompt for development and/or incomplete code/drivers
* Bus options (PCI, PCMCIA, EISA, MCA, ISA)
o [*] PCI support
o [*] ISA support (not needed anymore since 2.6.2-rc1)
* Device Drivers
o I2C support
+ <*> I2C support
+ <M> I2C device interface
+ I2C Algorithms
# <M> (configure all of them as modules)
+ I2C Hardware Bus support
# <M> (configure all of them as modules)
+ I2C Hardware Sensors Chip support (up to 2.6.13-rc2)
# <M> (configure all of them as modules)
o Hardware Monitoring support (since 2.6.13-rc3)
+ <M> (configure all of them as modules)
posso capire che ci mancano alcuni moduli allora provvedo a caricarli ma nonostante la mia configurazione del kernel mi dice che i seguenti moduli :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
options to-be-written ignore=0,0x1b,0,0x1f
options lm92 ignore=0,0x48,0,0x48,0,0x49,0,0x49,0,0x4a,0,0x4a,0,0x4b,0,0x4b,0,0x 4c,0,0x4d,0,0x4e,0,0x4f
options ds1621 ignore=0,0x48,0,0x4b
#----cut here----
To load everything that is needed, add this to some /etc/rc* file:
#----cut here----
# I2C adapter drivers
# modprobe unknown adapter SMBus stub driver
modprobe i2c-i801
# I2C chip drivers
# no driver for Smart Battery Charger yet
# Warning: the required module smartbatt is not currently installed on your syst em.
# For status of 2.6 kernel ports see http://secure.netroedge.com/~lm78/supported .html
# If driver is built-in to the kernel, or unavailable, comment out the following line.
modprobe smartbatt
# Warning: the required module max6650 is not currently installed on your system .
# For status of 2.6 kernel ports see http://secure.netroedge.com/~lm78/supported .html
# If driver is built-in to the kernel, or unavailable, comment out the following line.
modprobe max6650
# Warning: the required module saa1064 is not currently installed on your system .
# For status of 2.6 kernel ports see http://secure.netroedge.com/~lm78/supported .html
# If driver is built-in to the kernel, or unavailable, comment out the following line.
modprobe saa1064
modprobe lm92
modprobe ds1621
modprobe eeprom
# Warning: the required module smbus-arp is not currently installed on your syst em.
# For status of 2.6 kernel ports see http://secure.netroedge.com/~lm78/supported .html
# If driver is built-in to the kernel, or unavailable, comment out the following line.
modprobe smbus-arp
# Warning: the required module pca9540 is not currently installed on your system .
# For status of 2.6 kernel ports see http://secure.netroedge.com/~lm78/supported .html
# If driver is built-in to the kernel, or unavailable, comment out the following line.
modprobe pca9540
# sleep 2 # optional
/usr/local/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): yes
Copy prog/init/lm_sensors.init to /etc/rc.d/init.d/lm_sensors
for initialization at boot time.
smartbatt
max6550
saa1064
smbus-arp
pca9540
non può caricarli perchè non ci sono !!!
allora carico solo quelli che riesco a caricare e lancio prima il comando sensors -s e poi il comando sensors ecco il risultato :
che vuol dire che ho un cadavere al posto del pc???root@shuttle:/# sensors
ds1621-i2c-1-4f
Adapter: SMBus stub driver
temp: +0.00°C (low = +0.0°C, high = +0.0°C)
ds1621-i2c-1-4e
Adapter: SMBus stub driver
temp: +0.00°C (low = +0.0°C, high = +0.0°C)
ds1621-i2c-1-4d
Adapter: SMBus stub driver
temp: +0.00°C (low = +0.0°C, high = +0.0°C)
ds1621-i2c-1-4c
Adapter: SMBus stub driver
temp: +0.00°C (low = +0.0°C, high = +0.0°C)
lm92-i2c-1-4b
Adapter: SMBus stub driver
CPU Temp: +0.0000°C (high = +0.0000°C, low = +0.0000°C, crit = +0.0000°C, hyst = +0.0000°C)
lm92-i2c-1-4a
Adapter: SMBus stub driver
CPU Temp: +0.0000°C (high = +0.0000°C, low = +0.0000°C, crit = +0.0000°C, hyst = +0.0000°C)
lm92-i2c-1-49
Adapter: SMBus stub driver
CPU Temp: +0.0000°C (high = +0.0000°C, low = +0.0000°C, crit = +0.0000°C, hyst = +0.0000°C)
lm92-i2c-1-48
Adapter: SMBus stub driver
CPU Temp: +0.0000°C (high = +0.0000°C, low = +0.0000°C, crit = +0.0000°C, hyst = +0.0000°C)
qualcuno sa darmi una mano???
grazie...ciaoooo
P.S. il mio kernel è un 2.6.15.3 la mia motherboard invece è una QDI P4I865

