Pagina 1 di 4
Sensori e Ventola
Inviato: lunedì 28 giugno 2010, 8:29
da Nomak87
Ho installato Ubuntu 10.04 Netbook edition su un HannsNote della Hannspree.
Ho un problema con la rotazione della ventola che dopo poco che il Netbook è acceso rimane sempre a palla!!
Ho provato a seguire la guida ufficiale per lm sensors, non l'ho capita molto bene!! Cmq seguendola ho sempre risposto "yes" alle domande e dopo il riavvio ora mi appaiono 4 temperature come si vede dalla foto
Penso che la ventola del mio Netbook sia sempre a palla perché si tara sulla prima temperatura, che non ho idea di cosa sia anche se passando sopra con il mouse mi dice CPU, mentre la temperatura reale del processore sono le ultime due, cioè Core0 e Core1... giusto?
Come faccio e fargli capire che deve settarsi sulla temperatura rivelata da quei sensori? e non dal primo?
Re: Sensori e Ventola
Inviato: martedì 29 giugno 2010, 15:27
da Alka-Seltzer PLUS
Ciao !
Devi configurare "fancontrol": trovi come fare nella stessa guida che hai precedentemente seguito, più in basso.
Re: Sensori e Ventola
Inviato: mercoledì 30 giugno 2010, 0:19
da Nomak87
Questo è il testo che ho all'interno del file /etc/init.d/fancontrol
Codice: Seleziona tutto
#! /bin/sh
### BEGIN INIT INFO
# Provides: fancontrol
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: fancontrol
# Description: fan speed regulator
### END INIT INFO
. /lib/lsb/init-functions
[ -f /etc/default/rcS ] && . /etc/default/rcS
PATH=/bin:/usr/bin:/sbin:/usr/sbin
DAEMON=/usr/sbin/fancontrol
DESC="fan speed regulator"
NAME="fancontrol"
PIDFILE=/var/run/fancontrol.pid
CONF=/etc/fancontrol
test -x $DAEMON || exit 0
case "$1" in
start)
if [ -f $CONF ] && [ -n "`grep INTERVAL $CONF | cut -d= -f2`" ]; then
if [ -n "`grep DEVPATH $CONF | cut -d= -f2`" ] && [ -n "`grep DEVNAME $CONF | cut -d= -f2`" ] ; then
log_daemon_msg "Starting $DESC" "$NAME"
start-stop-daemon --start --quiet --background --pidfile $PIDFILE --startas $DAEMON
log_end_msg $?
else
log_failure_msg "Not starting fancontrol, outdated configuration file; please re-run pwmconfig."
fi
else
if [ "$VERBOSE" != no ]; then
log_warning_msg "Not starting fancontrol; run pwmconfig first."
fi
fi
;;
stop)
log_daemon_msg "Stopping $DESC" "$NAME"
start-stop-daemon --stop --quiet --pidfile $PIDFILE --oknodo --startas $DAEMON
rm -f $PIDFILE
log_end_msg $?
;;
restart)
$0 stop
sleep 3
$0 start
;;
force-reload)
if start-stop-daemon --stop --test --quiet --pidfile $PIDFILE --startas $DAEMON ; then
$0 restart
fi
;;
status)
status_of_proc $DAEMON $NAME && exit 0 || exit $?
;;
*)
log_success_msg "Usage: /etc/init.d/fancontrol {start|stop|restart|force-reload|status}"
exit 1
;;
esac
exit 0
Cosa faccio? Lo modifico pari pari come dice nella guida?
Nel caso di risposta affermativa come posso modificarlo dato che mi dice che il file è in sola lettura? Devo farlo da terminale con Sudo per ottenere i privilegi di amministratore? Potresti dirmi il comando esatto?
Grazie

Re: Sensori e Ventola
Inviato: mercoledì 30 giugno 2010, 1:39
da Alka-Seltzer PLUS
uhm .. non so cosa dica la guida ma ti dico come ho fatto io in precedenza: ho fatto girare il programma di configurazione parecchie volte per testarne l' efficacia e settando i parametri più volte ( = silenzio quando le temperature sono basse, una bella sventolata quando le temperature si innalzavano ... ).
Dipende da come vuoi che funzionino le ventole alla fine ... al massimo, se non vuoi "sbatterti" e se hai una utility apposita nel bios, usa quella

Re: Sensori e Ventola
Inviato: mercoledì 30 giugno 2010, 12:20
da Nomak87
Ho aggiornato il BIOS ma purtroppo la sperata utility non è apparsa
Dando il comandao sudo pwmconfig il responso è il seguente:
/usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed
Vuol dire che è proprio il mio Netbook che non è compatibile?
Cmq almeno ho imparato ad eseguire gedit nel terminale così posso usare i file con privilegi di amministratore... Il rumore c'è ma si avverte solo la sera quando fuori c'è silenzio, durante il giorno non si sente neanche... è probabile che il fatto che non si fermi mai sia dovuto alla temperatura estiva, dovrei riprofare a far girare win7 e vedere se anche lui la tiene sempre accesa, però non ho testa di reinstallare tutto

Re: Sensori e Ventola
Inviato: mercoledì 30 giugno 2010, 12:23
da Alka-Seltzer PLUS
Quando hai dato
verso la fine hai detto allo script di scrivere i moduli da caricare ?
Re: Sensori e Ventola
Inviato: mercoledì 30 giugno 2010, 14:29
da Nomak87
ho digitato sempre yes

Re: Sensori e Ventola
Inviato: mercoledì 30 giugno 2010, 14:31
da Alka-Seltzer PLUS
Uhm ... posta il contenuto di
Re: Sensori e Ventola
Inviato: mercoledì 30 giugno 2010, 14:43
da Nomak87
Codice: Seleziona tutto
# /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.
lp
# Generated by sensors-detect on Sun Jun 27 23:39:06 2010
# Chip drivers
coretemp
# Generated by sensors-detect on Sun Jun 27 23:42:25 2010
# Chip drivers
coretemp
# Generated by sensors-detect on Sun Jun 27 23:44:13 2010
# Chip drivers
coretemp
# Generated by sensors-detect on Mon Jun 28 17:57:08 2010
# Chip drivers
coretemp
# Generated by sensors-detect on Wed Jun 30 00:45:02 2010
# Chip drivers
coretemp
# Generated by sensors-detect on Wed Jun 30 14:29:35 2010
# Chip drivers
coretemp
Eccolo qui
Ci capisci qualcosa?

Re: Sensori e Ventola
Inviato: mercoledì 30 giugno 2010, 14:51
da Alka-Seltzer PLUS
Sì: che hai dato
almeno 6 volte
Fai in modo che il file appaia così:
Codice: Seleziona tutto
# /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.
lp
# Generated by sensors-detect on Sun Jun 27 23:39:06 2010
# Chip drivers
coretemp
invece di così:
Codice: Seleziona tutto
# /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.
lp
# Generated by sensors-detect on Sun Jun 27 23:39:06 2010
# Chip drivers
coretemp
# Generated by sensors-detect on Sun Jun 27 23:42:25 2010
# Chip drivers
coretemp
# Generated by sensors-detect on Sun Jun 27 23:44:13 2010
# Chip drivers
coretemp
# Generated by sensors-detect on Mon Jun 28 17:57:08 2010
# Chip drivers
coretemp
# Generated by sensors-detect on Wed Jun 30 00:45:02 2010
# Chip drivers
coretemp
# Generated by sensors-detect on Wed Jun 30 14:29:35 2010
# Chip drivers
coretemp
Poi dai nuovamente
e quando verso la fine ti chiede se aggiungere i moduli da caricare in "/etc/modules" gli rispondi di NO.
Poi posta ( in codice !!!!!!!!!! ) tutto ciò che appare nel terminale durante la procedura di rilevamento dei sensori ( cioè tutto quello che succede quando dai il comando "sudo sensors-detect" ), ok ?
Re: Sensori e Ventola
Inviato: mercoledì 30 giugno 2010, 16:29
da Nomak87
Intanto grazie mille per l'aiuto e il tempo che mi stai dedicando...
Allora per modificare il file etc/modules digito da terminale
giusto? e copio esattamente come m'hai scritto tu, ok?
Re: Sensori e Ventola
Inviato: mercoledì 30 giugno 2010, 16:35
da Nomak87
Dato che ero abbastanza sicuro ho eseguito anche il resto delle istruzioni... spero di aver fatto bene

Allora questo è quello che succede quando do il comando...
Codice: Seleziona tutto
michelangelo@michelangelo-laptop:~$ sudo sensors-detect
# sensors-detect revision 5818 (2010-01-18 17:22:07 +0100)
# System: HANNspree SN10E100
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... Success!
(driver `coretemp')
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'... No
Trying family `SMSC'... No
Trying family `VIA/Winbond/Nuvoton/Fintek'... No
Trying family `ITE'... No
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 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): yes
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): 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
Using driver `i2c-i801' for device 0000:00:1f.3: Intel 82801G ICH7
Module i2c-i801 loaded successfully.
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 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: SMBus I801 adapter at e000 (i2c-2)
Do you want to scan it? (YES/no/selectively): yes
Client found at address 0x51
Probing for `Analog Devices ADM1033'... No
Probing for `Analog Devices ADM1034'... No
Probing for `SPD EEPROM'... Yes
(confidence 8, not a hardware monitoring chip)
Now follows a summary of the probes I have just done.
Just press ENTER to continue:
Driver `coretemp':
* Chip `Intel Atom thermal sensor' (confidence: 9)
To load everything that is needed, add this to /etc/modules:
#----cut here----
# Chip drivers
coretemp
#----cut here----
If you have some drivers built into your kernel, the list above will
contain too many modules. Skip the appropriate ones!
Do you want to add these lines automatically to /etc/modules? (yes/NO)NO
Unloading i2c-dev... OK
Unloading i2c-i801... OK
michelangelo@michelangelo-laptop:~$
Illuminami

Grazie davvero

Re: Sensori e Ventola
Inviato: mercoledì 30 giugno 2010, 17:01
da Alka-Seltzer PLUS
Non ne sono sicuro ma credo che tu debba aggiungere questi due moduli:
i2c-dev
i2c-i801
dai il comando
ed aggiungi le righe:
# moduli forse necessari per far girare fancontrol
i2c-dev
i2c-i801
e riavvia incrociando le dita.
Successivamente prova di nuovo a far partire fancontrol

[Supporto] Re: Sensori e Ventola
Inviato: mercoledì 30 giugno 2010, 17:26
da Sheldon Cooper
Già che ci siete potete dare una mano anche a me? :'(
Ho la ventola che rimane sempre al minimo, con conseguente aumento di temperature (rispetto a win almeno 10 gradi)
Penso che non sia riconosciuta proprio dal sistema, anche perchè digitando dal terminale pwmconfig, tra le altre cose mi dice:
"/usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed"
Cosa posso fare???
Re: Sensori e Ventola
Inviato: mercoledì 30 giugno 2010, 17:37
da Alka-Seltzer PLUS
Ciao !
Leggiti la guida su "lmsensors" che trovi nella documentazione e poi cerca di seguirla !
Al massimo apri una discussione nuova e linkala qui

Re: Sensori e Ventola
Inviato: mercoledì 30 giugno 2010, 17:40
da Sheldon Cooper
Grazie un milione...faccio ancora qualche ricerca e poi al limite apro una discussione ;-)
Re: Sensori e Ventola
Inviato: mercoledì 30 giugno 2010, 18:13
da Nomak87
Ho modificato il file /etc/modules che ora è così
Codice: Seleziona tutto
# /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.
lp
# Generated by sensors-detect on Sun Jun 27 23:39:06 2010
# Chip drivers
coretemp
# moduli forse necessari per far girare fancontrol
i2c-dev
i2c-i801
Ho riavviato
Poi sono andato su terminale è ho digitato questo:
Codice: Seleziona tutto
michelangelo@michelangelo-laptop:~$ sudo pwmconfig
[sudo] password for michelangelo:
# pwmconfig revision 5770 (2009-09-16)
This program will search your sensors for pulse width modulation (pwm)
controls, and test each one to see if it controls a fan on
your motherboard. Note that many motherboards do not have pwm
circuitry installed, even if your sensor chip supports pwm.
We will attempt to briefly stop each fan using the pwm controls.
The program will attempt to restore each fan to full speed
after testing. However, it is ** very important ** that you
physically verify that the fans have been to full speed
after the program has completed.
/usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed
michelangelo@michelangelo-laptop:~$
Non è cambiato nulla

Re: Sensori e Ventola
Inviato: mercoledì 30 giugno 2010, 18:17
da Alka-Seltzer PLUS
Quella ha a che fare con l' orologio: sembra che non sia installato quindi non riesce a metterla sul pannello.
Per quanto riguarda il fancontrol ricordo che tempo addietro, affinché riuscissi a farlo funzionare, ho dovuto disabilitare il controllo delle ventole da parte del BIOS

Re: Sensori e Ventola
Inviato: mercoledì 30 giugno 2010, 18:20
da Nomak87
Alka-Seltzer PLUS ha scritto:
Quella ha a che fare con l' orologio: sembra che non sia installato quindi non riesce a metterla sul pannello.
Per quanto riguarda il fancontrol ricordo che tempo addietro, affinché riuscissi a farlo funzionare, ho dovuto disabilitare il controllo delle ventole da parte del BIOS
Da BIOS non ho nessuna opzione... Per il resto avrei configurato tutto giusto? Avevo dei dubbi su modules: uno della scritta in italiano e due non sapevo a che "altezza" dovessi metterlo...
Ora riprovo a spulciare il BIOS ma è talmente inutile che non credo di essermi perso l'uility per la gestione delle ventole... Può essere che è nascosta? In tal caso esiste un modo per renderla visibile?
Re: Sensori e Ventola
Inviato: mercoledì 30 giugno 2010, 18:22
da Alka-Seltzer PLUS
No, non può essere nascosta, al massimo è in "culonia" ( <- scusa la scurrilità )
In quel tipo di file tutto ciò che è presente in una riga contenente un "#" all' inizio viene ignorato
