Monitorare la Temperatura

22 risposte [Ultimo messaggio]
Ritratto di funkyclaus
funkyclaus
(Geek)
Offline
Geek
Iscritto: 19/09/2007
Messaggi: 137

Avevo dato il No perchè mi diceva:
Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some system.


Poi ho proseguito...

Do you want to probe the I2C/SMBus adapters now? (YES/no): y
Using driver `i2c-i801' for device 0000:00:1f.3: Intel 82801G ICH7
Module i2c-dev loaded successfully.

Mandriva 2010.0 Free - Gnome 2.28 - Intel ATOM330 - 2GB Ram DDR2 - HD SSD

Ritratto di funkyclaus
funkyclaus
(Geek)
Offline
Geek
Iscritto: 19/09/2007
Messaggi: 137

Questo è tutto il percorso:

[root@localhost /]# sensors-detect
# sensors-detect revision 5729 (2009-06-02 15:51:29 +0200)
# Board: Intel Corporation D945GCLF2

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.

Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): y
Silicon Integrated Systems SIS5595...                       No
VIA VT82C686 Integrated Sensors...                          No
VIA VT8231 Integrated Sensors...                            No
AMD K8 thermal sensors...                                   No
AMD K10 thermal sensors...                                  No
Intel Core family thermal sensor...                         No
Intel AMB FB-DIMM thermal sensor...                         No
VIA C7 thermal and voltage sensors...                       No

Some Super I/O chips contain embedded sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): y
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'...                   No
Trying family `SMSC'...                                     Yes
Found `SMSC LPC47M15x/192/997 Super IO Fan Sensors'         Success!
    (address 0x680, driver `smsc47m1')
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor'...                   No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Fintek'...                       No
Trying family `ITE'...                                      No

Some systems (mainly servers) implement IPMI, a set of common interfaces
through which system health data may be retrieved, amongst other things.
We first try to get the information from SMBIOS. If we don't find it
there, we have to read from arbitrary I/O ports to probe for such
interfaces. This is normally safe. Do you want to scan for IPMI
interfaces? (YES/no): y
Probing for `IPMI BMC KCS' at 0xca0...                      No
Probing for `IPMI BMC SMIC' at 0xca8...                     No

Some hardware monitoring chips are accessible through the ISA I/O ports.
We have to write to arbitrary I/O ports to probe them. This is usually
safe though. Yes, you do have ISA I/O ports even if you do not have any
ISA slots! Do you want to scan the ISA I/O ports? (yes/NO): y
Probing for `National Semiconductor LM78' at 0x290...       No
Probing for `National Semiconductor LM79' at 0x290...       No
Probing for `Winbond W83781D' at 0x290...                   No
Probing for `Winbond W83782D' at 0x290...                   No

Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no): y
Using driver `i2c-i801' for device 0000:00:1f.3: Intel 82801G ICH7
Module i2c-dev loaded successfully.

Next adapter: intel drm CRTDDC_A (i2c-0)
Do you want to scan it? (YES/no/selectively): y
Client found at address 0x49
Probing for `National Semiconductor LM75'...                No
Probing for `Dallas Semiconductor DS75'...                  No
Probing for `National Semiconductor LM77'...                No
Probing for `Dallas Semiconductor DS1621/DS1631'...         No
Probing for `National Semiconductor LM92'...                No
Probing for `National Semiconductor LM76'...                No
Probing for `Maxim MAX6633/MAX6634/MAX6635'...              No
Client found at address 0x50
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 No
Probing for `EDID EEPROM'...                                Yes
    (confidence 8, not a hardware monitoring chip)
Client found at address 0x51
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 No
Client found at address 0x52
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 No
Client found at address 0x53
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 No

Next adapter: intel drm SDVOCTRL_ (i2c-1)
Do you want to scan it? (YES/no/selectively): y

Next adapter: intel drm SDVOB DDC (i2c-2)
Do you want to scan it? (YES/no/selectively): y

Next adapter: intel drm SDVOB/VGA (i2c-3)
Do you want to scan it? (YES/no/selectively): y
Client found at address 0x49
Probing for `National Semiconductor LM75'...                No
Probing for `Dallas Semiconductor DS75'...                  No
Probing for `National Semiconductor LM77'...                No
Probing for `Dallas Semiconductor DS1621/DS1631'...         No
Probing for `National Semiconductor LM92'...                No
Probing for `National Semiconductor LM76'...                No
Probing for `Maxim MAX6633/MAX6634/MAX6635'...              No
Client found at address 0x50
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 No
Probing for `EDID EEPROM'...                                Yes
    (confidence 8, not a hardware monitoring chip)
Client found at address 0x51
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 No
Client found at address 0x52
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 No
Client found at address 0x53
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 No

Now follows a summary of the probes I have just done.
Just press ENTER to continue:  

Driver `smsc47m1':
  * ISA bus, address 0x680
    Chip `SMSC LPC47M15x/192/997 Super IO Fan Sensors' (confidence: 9)

Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no): y
Carico i moduli dei sensori:
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
Avvio sensord:                                                  [   OK   ]
Unloading i2c-dev... OK

Mandriva 2010.0 Free - Gnome 2.28 - Intel ATOM330 - 2GB Ram DDR2 - HD SSD

Ritratto di funkyclaus
funkyclaus
(Geek)
Offline
Geek
Iscritto: 19/09/2007
Messaggi: 137

Ho riavviato e comunque non funziona...

[root@localhost /]# sensors -s
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
Dove sbaglio?

Mandriva 2010.0 Free - Gnome 2.28 - Intel ATOM330 - 2GB Ram DDR2 - HD SSD

Ritratto di ragamuffin
ragamuffin
(Guru)
Offline
Guru
Iscritto: 20/02/2007
Messaggi: 1523

Per me stavolta non hai sbagliato, è il tuo hw (motherboard ecc, ecc.) che non mette a disposizione nessun sensore di temperatura.
Perchè dico questo? Perchè la ricerca ha sempre NO per ogni tipologia di hw, tranne che per:

Citazione:

Trying family `SMSC'...                                     Yes

Found `SMSC LPC47M15x/192/997 Super IO Fan Sensors' Success!

(address 0x680, driver `smsc47m1')

 
che è un sensore per la ventola.
Cmq in 'hardware monitor' del pannello di gnome questa ventola dovresti vederla, mettendo la spunta sul sensore relativo.
Posta info sul tuo hw che si googla un po (marca computer, motherboard, e ...........)
Ciao

Ritratto di funkyclaus
funkyclaus
(Geek)
Offline
Geek
Iscritto: 19/09/2007
Messaggi: 137

A parte che il Pannello di Hardware Monitor non me lo fa aprire dicendo:

Il pannello ha riscontrato un problema durante il caricamento di «OAFIID:HardwareMonitor»

Gkrellm non vede niente se non un hard disk e segnala temperatura 0.0...
Comunque ecco la composizione del mio pc:

Intel® Desktop Board D945GCLF2/D945GCLF2D with integrated Intel® Atom™ processor

2 GB di RAM Kingstone 667Mhz (anche se il bus della scheda madre arriva solo fino a 533)
Hard Disk Sata SSD King Spec 32GB Mod. KSD-SA32MJ
Hard Disk  IDE Maxtor 250GB (8MB buffer)
Case Cooler Master 341 con ventola interna da 12 cm.

Mandriva 2010.0 Free - Gnome 2.28 - Intel ATOM330 - 2GB Ram DDR2 - HD SSD

Ritratto di Moreno
Moreno
(Guru)
Offline
Guru
Iscritto: 24/09/2004
Messaggi: 16862

Ciao
Ah già avevo dimenticato che avevi comprato l'Atom uguale al mio.

A questo punto posso con certezza dirti che stai sbagliando qualche cosa di fondamentale anche se non saprei proprio dirti cosa.

Su quella macchina installai, se non sbaglio, una 2010.0 beta e da allora l'aggiorno regolarmente a Cooker.
Sin dall'inizio io non ho mai avuto il ben che minimo problema nella rilevazione della temperatura e tuttora tutto continua a funzionare a meraviglia.
Per far funzionare il tutto ho seguito solamente la procura classica di configurazione.

Se tutto funziona correttamente, a prescindere dal programma utilizzato per la lettura dei dati, nel file /var/log/messages dovresti trovare dei record come questo

Mar 21 14:19:59 mrpatom sensord: Chip: smsc47m192-i2c-4-2d
Mar 21 14:19:59 mrpatom sensord: Adapter: SMBus I801 adapter at 3000
Mar 21 14:19:59 mrpatom sensord:   in0: +2.51 V (min = +0.00 V, max = +3.32 V)
Mar 21 14:19:59 mrpatom sensord:   Vcore: +1.15 V (min = +0.00 V, max = +2.99 V)
Mar 21 14:19:59 mrpatom sensord:   +3.3V: +3.37 V (min = +2.97 V, max = +3.63 V)
Mar 21 14:19:59 mrpatom sensord:   +5V: +5.10 V (min = +4.50 V, max = +5.50 V)
Mar 21 14:19:59 mrpatom sensord:   +12V: +12.19 V (min = +10.81 V, max = +13.19 V)
Mar 21 14:19:59 mrpatom sensord:   VCC: +3.37 V (min = +2.97 V, max = +3.63 V)
Mar 21 14:19:59 mrpatom sensord:   in6: +1.56 V (min = +0.00 V, max = +1.99 V)
Mar 21 14:19:59 mrpatom sensord:   in7: +1.76 V (min = +0.00 V, max = +2.39 V)
Mar 21 14:19:59 mrpatom sensord:   SIO Temp: 41.0 C (min = -127.0 C, max = 127.0 C)
Mar 21 14:19:59 mrpatom sensord:   temp2: 54.0 C (min = -127.0 C, max = 127.0 C)
Mar 21 14:19:59 mrpatom sensord:   temp3: 47.0 C (min = -127.0 C, max = 127.0 C)
Mar 21 14:19:59 mrpatom sensord:   cpu0_vid: +2.050 V 
  

registrati ogni 5 minuti

Come puoi vedere in questo log c'è di tutto e di più.

Verifica di avere questi record nel tuo file log.

Dai anche il comando
# service lm_sensors status
sensord (pid 1391) è in esecuzione...

per vedere se il servizio è avviato.

[postedit]
Mi sorge un dubbio
Non è che per caso hai installato la 2008.1 su questa macchina??
Se sì non mi meraviglio che tu non veda nulla, probabilmente questo chipset non era ancora neanche nato allora e si sa che anche i programmatori non hanno il dono della preveggenza.
[/postedit]

Ciao Ciao, Moreno

Addio, e grazie per tutto il pesce.
Avatar by moonlight-dream.

Ritratto di funkyclaus
funkyclaus
(Geek)
Offline
Geek
Iscritto: 19/09/2007
Messaggi: 137

Ciao!
Innanzitutto ti tolgo ogni dubbio...non sto usaldo la 2008.1!
Da un paio di settimane sto usando la 2010.0 con Gnome.

Riguardo ai record del file /var/log/messages niente da fare...me lo sono spulciato tutto ma nessun record simile...

[root@localhost /]# service lm_sensors status
sensord (pid  695) è in esecuzione...

Ma non funziona una cippa!!!

Mandriva 2010.0 Free - Gnome 2.28 - Intel ATOM330 - 2GB Ram DDR2 - HD SSD

Ritratto di Moreno
Moreno
(Guru)
Offline
Guru
Iscritto: 24/09/2004
Messaggi: 16862

Ciao

Visto che le schede sono uguali puoi usare il mio file /etc/sysconfig/lm_sensors che è:

# Generated by sensors-detect on Tue Sep  1 14:22:52 2009
# This file is sourced by /etc/init.d/lm_sensors and defines the modules to
# be loaded/unloaded.
#
# The format of this file is a shell script that simply defines variables:
# HWMON_MODULES for hardware monitoring driver modules, and optionally
# BUS_MODULES for any required bus driver module (for example for I2C or SPI).
 
HWMON_MODULES="smsc47m1 smsc47m192"
 
# For compatibility reasons, modules are also listed individually as variables
#    MODULE_0, MODULE_1, MODULE_2, etc.
# You should use BUS_MODULES and HWMON_MODULES instead if possible.
 
MODULE_0=smsc47m1
MODULE_1=smsc47m192
 

Come vedi questo file è stato generato il primo settembre 2009 quindi ben prima che uscisse la 2010.0.

Ciao Ciao, Moreno

Addio, e grazie per tutto il pesce.
Avatar by moonlight-dream.

Ritratto di ragamuffin
ragamuffin
(Guru)
Offline
Guru
Iscritto: 20/02/2007
Messaggi: 1523

Posta p.f. il risultato del comando:
#lsmod | grep i2c
Ciao

Ritratto di funkyclaus
funkyclaus
(Geek)
Offline
Geek
Iscritto: 19/09/2007
Messaggi: 137

Eccolo:

[root@localhost /]# lsmod | grep i2c
i2c_i801               13744  0
i2c_algo_bit            7028  1 i915
i2c_core               35008  5 smsc47m192,i2c_i801,i915,drm,i2c_algo_bit

Ho già fatto tutti gli aggiornamenti ed ho anche copiato lo script che mi ha lasciato Moreno, ma niente...

Mandriva 2010.0 Free - Gnome 2.28 - Intel ATOM330 - 2GB Ram DDR2 - HD SSD