Pagina 1 di 2

Attivare i sensori sul pc

Inviato: venerdì 28 ottobre 2011, 9:11
da Simike87
Buondì! E' da un pò che uso Ubuntu ma non sono per niente pratico di smanettamenti... :-[ per cui ancora una volta ho bisogno del vostro aiuto  :-[  Spero di avere postato nella sezione giusta....

Volevo attivare qualche screenlet per vedere le temperature sul mio pc, solo che a quanto pare i sensori sono disattivati. Mi ricordo che non molto tempo fa le screenlet che ho provato stamattina andavano perfettamente, ora invece tutte dicono che non rilevano sensori...penso si siano disattivati dopo un aggiornamento o qualcosa del genere come capita alla sospensione del pc chiudendo il coperchio dopo gli aggiornamenti (appena installato da cd ubuntu 10.4 era tutto ok, poi dopo un pò di aggiornamenti non è più andata questa cosa e penso che per i sensori di rilevamento sia stata la stessa cosa).

Ho provato a postare nel terminale

Codice: Seleziona tutto

sudo sensors-detect
e mi ha risposto questo

Codice: Seleziona tutto

michael@michael-laptop:~$ sudo sensors-detect
# sensors-detect revision 5818 (2010-01-18 17:22:07 +0100)
# System: PEGATRON CORP. Spring Peak (laptop)
# Board: To be filled by O.E.M. To be filled by O.E.M.

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): yes
Silicon Integrated Systems SIS5595...                       No
VIA VT82C686 Integrated Sensors...                          No
VIA VT8231 Integrated Sensors...                            No
AMD K8 thermal sensors...                                   No
AMD Family 10h thermal sensors...                           No
AMD Family 11h thermal sensors...                           No
Intel Core family thermal sensor...                         No
Intel Atom thermal sensor...                                No
Intel AMB FB-DIMM thermal sensor...                         No
VIA C7 thermal sensor...                                    No
VIA Nano thermal sensor...                                  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): yes
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'...                   Yes
Found unknown chip with ID 0x8502
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor'...                   No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Nuvoton/Fintek'...               No
Trying family `ITE'...                                      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): yes
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): yes
Found unknown SMBus adapter 8086:3b30 at 0000:00:1f.3.
Sorry, no supported PCI bus adapters found.

Next adapter: intel drm CRTDDC_A (i2c-0)
Do you want to scan it? (YES/no/selectively): yes

Next adapter: intel drm LVDSDDC_C (i2c-1)
Do you want to scan it? (YES/no/selectively): yes
Client found at address 0x28
Probing for `National Semiconductor LM78'...                No
Probing for `National Semiconductor LM79'...                No
Probing for `National Semiconductor LM80'...                No
Probing for `Winbond W83781D'...                            No
Probing for `Winbond W83782D'...                            No
Probing for `Winbond W83627HF'...                           No
Probing for `Winbond W83627EHF'...                          No
Probing for `Winbond W83627DHG/W83667HG/W83677HG'...        No
Probing for `Asus AS99127F (rev.1)'...                      No
Probing for `Asus AS99127F (rev.2)'...                      No
Probing for `Asus ASB100 Bach'...                           No
Probing for `Analog Devices ADM1029'...                     No
Probing for `ITE IT8712F'...                                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)

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

Next adapter: DPDDC-C (i2c-3)
Do you want to scan it? (YES/no/selectively): yes

Sorry, no sensors were detected.
This is relatively common on laptops, where thermal management is
handled by ACPI rather than the OS.
michael@michael-laptop:~$ 
sapete come potrei fare a riattivare i sensori del pc? Uso ubuntu 10.4 e il pc è un olibook S1500 (una pataccata lo so  >:()

Re: Attivare i sensori sul pc

Inviato: venerdì 28 ottobre 2011, 10:16
da cubadie
ciao prova a dare un occhiata qui : http://wiki.ubuntu-it.org/Amministrazio ... /LmSensors

Re: Attivare i sensori sul pc

Inviato: venerdì 28 ottobre 2011, 12:07
da Simike87
eh, è proprio li che ho dato un occhiata per provare di risolvere ma c'è qualcosa che non va. mi restituisce cose che sulla guida non dice e tutto risulta sempre disattivato. il fatto è che tempo fa andava  >:(

Re: Attivare i sensori sul pc

Inviato: venerdì 28 ottobre 2011, 12:43
da il_muflone
ciao

esegui quanto sotto e posta tutte le risposte:

Codice: Seleziona tutto

sudo modprobe coretemp
sudo sensors

Re: Attivare i sensori sul pc

Inviato: venerdì 28 ottobre 2011, 20:31
da Simike87
ecco qua Muflone, grazie mille

Codice: Seleziona tutto

michael@michael-laptop:~$ sudo modprobe coretemp
[sudo] password for michael: 
FATAL: Error inserting coretemp (/lib/modules/2.6.32-31-generic/kernel/drivers/hwmon/coretemp.ko): No such device
michael@michael-laptop:~$ sudo sensors
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
michael@michael-laptop:~$ 


Re: Attivare i sensori sul pc

Inviato: venerdì 28 ottobre 2011, 21:06
da il_muflone
verifica che quel file esista:

Codice: Seleziona tutto

ls -l /lib/modules/2.6.32-31-generic/kernel/drivers/hwmon/coretemp.ko
se risulta allora tale modulo non va bene col tuo processore.

che cpu e`?

Re: Attivare i sensori sul pc

Inviato: venerdì 28 ottobre 2011, 21:10
da clerville6
il_muflone ha scritto: ciao

esegui quanto sotto e posta tutte le risposte:

Codice: Seleziona tutto

sudo modprobe coretemp
sudo sensors
Scusa... solo una curiosità... perchè

Codice: Seleziona tutto

sudo sensors
??? a me funge anche senza sudo

Re: Attivare i sensori sul pc

Inviato: venerdì 28 ottobre 2011, 21:17
da il_muflone
generalmente non serve sudo in sensors ma mi ero preoccupato del fatto che per qualche motivo di chissa` quali permessi non rilevasse i sensori.

Re: Attivare i sensori sul pc

Inviato: venerdì 28 ottobre 2011, 21:18
da Simike87
il_muflone ha scritto: verifica che quel file esista:

Codice: Seleziona tutto

ls -l /lib/modules/2.6.32-31-generic/kernel/drivers/hwmon/coretemp.ko
se risulta allora tale modulo non va bene col tuo processore.

che cpu e`?
andava però prima, me lo ricordo bene perchè avevo messo le screenlets sul desktop per un pò! questo è il risultato comunque

Codice: Seleziona tutto

michael@michael-laptop:~$ ls -l /lib/modules/2.6.32-31-generic/kernel/drivers/hwmon/coretemp.ko
-rw-r--r-- 1 root root 12676 2011-04-09 01:35 /lib/modules/2.6.32-31-generic/kernel/drivers/hwmon/coretemp.ko
michael@michael-laptop:~$ 
la cpu è intel core I3

Re: Attivare i sensori sul pc

Inviato: venerdì 28 ottobre 2011, 21:19
da clerville6
il_muflone ha scritto: generalmente non serve sudo in sensors ma mi ero preoccupato del fatto che per qualche motivo di chissa` quali permessi non rilevasse i sensori.
Ok... grazie... ero curioso di capire il perchè di quel sudo!

Ora vediamo se il nostro amico Simike87 riesce a risolvere!

Re: Attivare i sensori sul pc

Inviato: venerdì 28 ottobre 2011, 21:23
da il_muflone
Simike87 ha scritto:
il_muflone ha scritto: verifica che quel file esista:

Codice: Seleziona tutto

ls -l /lib/modules/2.6.32-31-generic/kernel/drivers/hwmon/coretemp.ko
se risulta allora tale modulo non va bene col tuo processore.

che cpu e`?
andava però prima, me lo ricordo bene perchè avevo messo le screenlets sul desktop per un pò!
sempre su ubuntu 10.04?
non escluderei che non ci sia proprio il supporto in quel vecchio kernel.

Re: Attivare i sensori sul pc

Inviato: venerdì 28 ottobre 2011, 21:24
da Simike87
il_muflone ha scritto:
Simike87 ha scritto:
il_muflone ha scritto: verifica che quel file esista:

Codice: Seleziona tutto

ls -l /lib/modules/2.6.32-31-generic/kernel/drivers/hwmon/coretemp.ko
se risulta allora tale modulo non va bene col tuo processore.

che cpu e`?
andava però prima, me lo ricordo bene perchè avevo messo le screenlets sul desktop per un pò!
sempre su ubuntu 10.04?
Sì sì, sempre su ubuntu 10.4! se dici potrei fare un aggiornamento alla 10.10 o alla 11.04 se sono stabili

Re: Attivare i sensori sul pc

Inviato: venerdì 28 ottobre 2011, 21:27
da Simike87
clerville6 ha scritto: Ora vediamo se il nostro amico Simike87 riesce a risolvere!
Lo spero proprio! Ultimamente mi sta dando un pò di problemi ubuntu, ogni tanto mi si blocca o va lentissimo, non so da cosa possa dipendere, non me ne intendo purtroppo. comunque piano piano provo a risolvere!  8)

Re: Attivare i sensori sul pc

Inviato: venerdì 28 ottobre 2011, 21:28
da il_muflone
personalmente non me la sento di consigliarti l'aggiornamento di versione.

prova con un live cd di ubuntu 10.04 e verifica se dal kernel predefinito ti rileva i sensori, eventualmente carica il modulo coretemp come visto prima.

se anche in quello non li rileva prova con i live cd piu` recenti.

non conosco gli i3, io ho un i5 e le temperature le rilevo da coretemp e da w83627ehf

Re: Attivare i sensori sul pc

Inviato: venerdì 28 ottobre 2011, 21:50
da Simike87
il_muflone ha scritto: personalmente non me la sento di consigliarti l'aggiornamento di versione.

prova con un live cd di ubuntu 10.04 e verifica se dal kernel predefinito ti rileva i sensori, eventualmente carica il modulo coretemp come visto prima.

se anche in quello non li rileva prova con i live cd piu` recenti.

non conosco gli i3, io ho un i5 e le temperature le rilevo da coretemp e da w83627ehf
ecco qua le risposte dal livecd di ubuntu 10.4

Codice: Seleziona tutto

To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

ubuntu@ubuntu:~$ sudo modprobe coretemp
FATAL: Error inserting coretemp (/lib/modules/2.6.32-21-generic/kernel/drivers/hwmon/coretemp.ko): No such device
ubuntu@ubuntu:~$ sudo sensors
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
ubuntu@ubuntu:~$ ls -l /lib/modules/2.6.32-31-generic/kernel/drivers/hwmon/coretemp.ko
ls: impossibile accedere a /lib/modules/2.6.32-31-generic/kernel/drivers/hwmon/coretemp.ko: Nessun file o directory
ubuntu@ubuntu:~$ 

Re: Attivare i sensori sul pc

Inviato: venerdì 28 ottobre 2011, 22:18
da il_muflone
come non detto, nel live cd non c'e` neanche il modulo per quei sensori a quanto pare.

installa lm-sensors e ridai sudo sensors-detect nel live cd di ubuntu 10.04.
se non ti rileva i sensori nemmeno li` allora usavi qualche altro kernel o sistema per rilevare i sensori in ubuntu lucid.

Re: Attivare i sensori sul pc

Inviato: venerdì 28 ottobre 2011, 22:26
da Simike87
ecco qua, sembra uguale a prima  >:(

Codice: Seleziona tutto

ubuntu@ubuntu:~$ sudo sensors-detect
# sensors-detect revision 5818 (2010-01-18 17:22:07 +0100)
# System: PEGATRON CORP. Spring Peak (laptop)
# Board: To be filled by O.E.M. To be filled by O.E.M.

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): yes
Silicon Integrated Systems SIS5595...                       No
VIA VT82C686 Integrated Sensors...                          No
VIA VT8231 Integrated Sensors...                            No
AMD K8 thermal sensors...                                   No
AMD Family 10h thermal sensors...                           No
AMD Family 11h thermal sensors...                           No
Intel Core family thermal sensor...                         No
Intel Atom thermal sensor...                                No
Intel AMB FB-DIMM thermal sensor...                         No
VIA C7 thermal sensor...                                    No
VIA Nano thermal sensor...                                  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): yes
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'...                   Yes
Found unknown chip with ID 0x8502
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor'...                   No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Nuvoton/Fintek'...               No
Trying family `ITE'...                                      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): yes
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): yes
Found unknown SMBus adapter 8086:3b30 at 0000:00:1f.3.
Sorry, no supported PCI bus adapters found.
Module i2c-dev loaded successfully.

Next adapter: intel drm CRTDDC_A (i2c-0)
Do you want to scan it? (YES/no/selectively): yes

Next adapter: intel drm LVDSDDC_C (i2c-1)
Do you want to scan it? (YES/no/selectively): yes
Client found at address 0x28
Probing for `National Semiconductor LM78'...                No
Probing for `National Semiconductor LM79'...                No
Probing for `National Semiconductor LM80'...                No
Probing for `Winbond W83781D'...                            No
Probing for `Winbond W83782D'...                            No
Probing for `Winbond W83627HF'...                           No
Probing for `Winbond W83627EHF'...                          No
Probing for `Winbond W83627DHG/W83667HG/W83677HG'...        No
Probing for `Asus AS99127F (rev.1)'...                      No
Probing for `Asus AS99127F (rev.2)'...                      No
Probing for `Asus ASB100 Bach'...                           No
Probing for `Analog Devices ADM1029'...                     No
Probing for `ITE IT8712F'...                                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)

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

Next adapter: DPDDC-C (i2c-3)
Do you want to scan it? (YES/no/selectively): yes

Sorry, no sensors were detected.
This is relatively common on laptops, where thermal management is
handled by ACPI rather than the OS.
ubuntu@ubuntu:~$ 

Re: Attivare i sensori sul pc

Inviato: venerdì 28 ottobre 2011, 22:28
da il_muflone
quando ti funzionavano i sensori l'installazione era la stessa o hai riformattato?

Re: Attivare i sensori sul pc

Inviato: venerdì 28 ottobre 2011, 22:33
da Simike87
il_muflone ha scritto: quando ti funzionavano i sensori l'installazione era la stessa o hai riformattato?
era sempre questa

è da 1 anno che uso sempre e solo questa, l'unica cosa che faccio è aggiornarla ecco, nulla di più, è capitato che ho fatto l'avanzamento di versione appena uscita la 11.04, ma poi visti tutti i bug ho reinstallato la mia 10.4 sempre da quel cd e riaggiornato tutto, ma mi pare proprio che le screenlets di temperatura, quando funzionavano, le avevo provate dopo aver reinstallato la 10.4 per cui su quest'installazione che sto usando ora

Re: Attivare i sensori sul pc

Inviato: venerdì 28 ottobre 2011, 22:35
da il_muflone
prova con un cd live piu` recente.