Pagina 1 di 1

Lmsensors non trova i sensori

Inviato: lunedì 6 agosto 2007, 16:48
da astyle
Ciao a tutti, ho seguito questa wiki per installare lmsensors

http://wiki.ubuntu-it.org/LmSensors?hig ... msensor%29

Ma quando arrivo al punto in cui digitare sensors ottengo:

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



E' dovuto al non caricamento dei moduli? Perchè non ho ben capito come inserirli, cioè quando dice:


ed inserire tutti i moduli che prima abbiamo caricato manualmente. Salvare e chiudere il file.



Mi si apre un file di testo così:

# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

fuse
lp



Ho capito che devo caricare ma come si fa?

Il problema è dovuto a questo o proprio non vede i sensori ad esempio per hw troppo recente?

Grazie

Re: Lmsensors non trova i sensori

Inviato: lunedì 6 agosto 2007, 16:58
da granma
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

fuse
lp
Devi aggiungere i nomi dei moduli dopo lp  e salvare

Re: Lmsensors non trova i sensori

Inviato: lunedì 6 agosto 2007, 17:06
da astyle
Ho aggiunto i nomi senza # e altro ma continuo ad avere lo stesos messaggio:

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


Ho provato il Metodo 2 - script dal sito ufficiale

Ed ho ottenuto questo msg:

# sensors-detect revision $Revision$

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.

We can start with probing for (PCI) I2C or SMBus adapters.
Do you want to probe now? (YES/no): yes
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 0000:00:1f.3: Intel 82801G ICH7

We will now try to load each adapter module in turn.
Module `i2c-i801' already loaded.
If you have undetectable or unsupported adapters, you can have them
scanned by manually loading the modules before running this script.

We are now going to do the I2C/SMBus adapter probings. Some chips may
be double detected; we choose the one with the highest confidence
value in that case.
If you found that the adapter hung after probing a certain address,
you can specify that address to remain unprobed.

Next adapter: SMBus I801 adapter at 0500 (i2c-0)
Do you want to scan it? (YES/no/selectively): yes
Client found at address 0x44
Probing for `Maxim MAX6633/MAX6634/MAX6635'...              No
Client found at address 0x50
Handled by driver `eeprom' (already loaded), chip type `eeprom'
    (note: this is probably NOT a sensor chip!)
Client found at address 0x52
Handled by driver `eeprom' (already loaded), chip type `eeprom'
    (note: this is probably NOT a sensor chip!)

Some chips are also 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): yes
Probing for `National Semiconductor LM78' at 0x290...      No
Probing for `National Semiconductor LM78-J' 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
Probing for `Silicon Integrated Systems SIS5595'...        No
Probing for `VIA VT82C686 Integrated Sensors'...            No
Probing for `VIA VT8231 Integrated Sensors'...              No
Probing for `IPMI BMC KCS' at 0xca0...                      No
Probing for `IPMI BMC SMIC' at 0xca8...                    No

Some Super I/O chips may also contain 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): yes
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'...                  No
Trying family `SMSC'...                                    No
Trying family `VIA/Winbond/Fintek'...                      Yes
Found `Winbond W83627DHG Super IO Sensors'                 
    (but not activated)
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 CPUs or memory controllers may also contain embedded sensors.
Do you want to scan for them? (YES/no): yes
AMD K8 thermal sensors...                                  No
Intel Core family thermal sensor...                        Success!
    (driver `coretemp')
Intel AMB FB-DIMM thermal sensor...                        No

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

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.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----
# Chip drivers
# 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
# sleep 2 # optional
/usr/bin/sensors -s # recommended
#----cut here----

If you have some drivers 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 the needed
modules are loaded.

Do you want to generate /etc/sysconfig/lm_sensors? (yes/NO): no
Non capisco più nulla...  >:(

Cosa posso fare?


Grazie

Re: Lmsensors non trova i sensori

Inviato: lunedì 6 agosto 2007, 17:11
da phineas
astyle ha scritto: Ciao a tutti, ho seguito questa wiki per installare lmsensors

http://wiki.ubuntu-it.org/LmSensors?hig ... msensor%29

Ma quando arrivo al punto in cui digitare sensors ottengo:

No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
ma sensors-detect ti ha trovato qualcosa?. Alla fine ti è uscito qualcosa del tipo

Codice: Seleziona tutto

#----cut here----
# I2C adapter drivers
i2c-viapro
i2c-isa
# I2C chip drivers
eeprom
it87
#----cut here----
E' dovuto al non caricamento dei moduli? Perchè non ho ben capito come inserirli, cioè quando dice:

ed inserire tutti i moduli che prima abbiamo caricato manualmente. Salvare e chiudere il file.


Mi si apre un file di testo così: [...]

Ho capito che devo caricare ma come si fa?
Per caricarli, subito dopo aver dato sensors-detect devi dare

Codice: Seleziona tutto

 sudo modprobe [nomemodulo] 
per tutti i moduli che il comando ti ha restituito tra le righe cut here. Una volta che hai controllato che non ci siano problemi tipo conflitti devi inserire tutto quello compreso tra i cut here in etc/modules per farli caricare all'avvio
Il problema è dovuto a questo o proprio non vede i sensori ad esempio per hw troppo recente?

Grazie
se il sensors-detect ti ha restituito quanto quotato sopra vuol dire che ha trovato i sensori e bisogna solo caricarli.

Re: Lmsensors non trova i sensori

Inviato: lunedì 6 agosto 2007, 17:20
da astyle
Così va bene?
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

fuse
lp

# Generated by sensors-detect on Mon Aug  6 17:14:42 2007
# I2C adapter drivers
i2c-i801
# Chip drivers
eeprom
Salvato poi ho  fatto:
Per avere un'idea di cosa abbiamo impostato dare i seguenti comandi per aggiornare i moduli appena caricati

sudo depmod -a
sudo update-modules

Per vedere se tutto funziona digitare

sensors
E il risultato è:
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
Che @@... dove ho sbagliato.  ::)




EDIT:
Ma il:

sudo modprobe [nomemodulo]

Devo darlo per i2c-i801 e eeprom o anche per altro?


Grazie ancora.

Re: Lmsensors non trova i sensori

Inviato: lunedì 6 agosto 2007, 17:27
da Janvitus
Che CPU hai? se hai una delle ultime intel devi aggiornare lm-sensors all'ultima versione, e anche il kernel direi, altrimenti niente supporto, altrimenti aspetta gutsy.

Re: Lmsensors non trova i sensori

Inviato: lunedì 6 agosto 2007, 17:28
da astyle
Intel Core2Duo e Chipset Mb Intel 975...

Re: Lmsensors non trova i sensori

Inviato: lunedì 6 agosto 2007, 18:22
da Divilinux
@astyle
Intel Core2Duo e Chipset Mb Intel 975...
l'unico modo per vedere la temperatura, con questo processore e questa scheda madre, e' installare il kernel 2.6.22 che contiene il modulo coretemp, il nuovo supporto ai processori core duo che rileva la temperatura all'interno della cpu.
Per la temperatura degli hard disk puoi installare hddtemp

http://divilinux.wordpress.com/2007/07/ ... inalmente/

Re: Lmsensors non trova i sensori

Inviato: lunedì 6 agosto 2007, 20:41
da astyle
Praticamente va ricompilato il kernel? Impossibile per un niubbo come me?

Re: Lmsensors non trova i sensori

Inviato: lunedì 6 agosto 2007, 21:14
da astyle
hddtemp funziona, un pò laborioso ogni volta da terminale digitare il tutto ma funziona.


Nessuno sa dirmi qualcosa in più sul nuovo kernel con supporto per coretemp?


Grazie

Re: Lmsensors non trova i sensori

Inviato: lunedì 6 agosto 2007, 23:46
da Divilinux
hddtemp funziona, un pò laborioso ogni volta da terminale digitare il tutto ma funziona.
l'importante e' averlo, poi ad esempio per KDE ci sono diverse applet che usano hddtemp per visualizzare la temperatura ..sia per superkaramba che per il kicker
per gnome non lo so...

Re: Lmsensors non trova i sensori

Inviato: martedì 7 agosto 2007, 0:44
da Stealth
Se vuoi vedere l'output dei sensori sul pannello di gnome

Codice: Seleziona tutto

sudo apt-get install sensors-applet
e poi installi cliccando destro sul pannello > aggiungi al pannello e scegliendo "hardware sensors monitor"
ciao

Immagine

Re: Lmsensors non trova i sensori

Inviato: martedì 7 agosto 2007, 12:13
da astyle
Grazie, appena torno a casa provo..

Come posso fare a rimuovere lmsensors visto che non funziona con il mio sistema?