Regolare ventole!

Postate qui per tutte le discussioni legate a Linux in generale.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Gnu/Linux in genere, se l'argomento è specifico alla Slackware usate uno dei forum Slackware o Slackware64.
3) Leggere attentamente le risposte ricevute
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Rispondi
zxzxasas
Linux 2.x
Linux 2.x
Messaggi: 397
Iscritto il: sab 15 nov 2008, 2:28
Nome Cognome: Pasquale
Slackware: current
Kernel: 2.6.35.7
Desktop: KDE 4.5.2

Regolare ventole!

Messaggio da zxzxasas »

Salve!
Il mio notebook si riscalda molto anche facendo procedure semplici.
In pratica, in genere, la temperatura definita come "zona termica" si stabilizza per le operazioni generiche intorno ai 70 gradi! Praticamente, quando le ventole passano ad una velocità superiore
Vorrei fare in modo che questa velocità delle ventole venisse raggiunta prima, ad esempio a zona termica 60°...
Idee?

Grazie!

Avatar utente
sya54M
Master
Master
Messaggi: 1665
Iscritto il: mer 6 giu 2007, 14:44
Nome Cognome: Andrea Peluso
Slackware: 64-current
Kernel: ultimo
Desktop: KDE
Località: (Salerno)
Contatta:

Re: Regolare ventole!

Messaggio da sya54M »

ciao pasqualo, partiamo dall'inizio, dall'hardware:
dipende... se la ventola è controllabile dall'utente. se è collegata alla scheda madre con 4 fili si, se sono 2 o 3, no.
nel caso sia regolabile si può usare fancontrol, già incluso in lm_sensors.

altrimenti anche se non è controllabile a piacere coi 4 fili, c'è la possibilità che sia regolabile dal bios.

metrofox
Linux 3.x
Linux 3.x
Messaggi: 760
Iscritto il: gio 7 ago 2008, 12:29
Slackware: slackware64-current
Kernel: 3.4.4-ck3
Desktop: FluxBox-1.3.1
Distribuzione: FreeBSD-8.1(amd64)
Località: London

Re: Regolare ventole!

Messaggio da metrofox »

sya54M ha scritto:ciao pasqualo, partiamo dall'inizio, dall'hardware:
dipende... se la ventola è controllabile dall'utente. se è collegata alla scheda madre con 4 fili si, se sono 2 o 3, no.
nel caso sia regolabile si può usare fancontrol, già incluso in lm_sensors.

altrimenti anche se non è controllabile a piacere coi 4 fili, c'è la possibilità che sia regolabile dal bios.
Benissimo, anche io cercavo una risposta del genere(a me le ventole si attivano addirittura a 79°C) e purtroppo non posso documentarmi sulla mia ventola in quanto questo è un laptop, ho eseguito sensors-detect per cominciare a far funzionare lm_sensors ma a quanto pare richiede moduli che a dir la verità per ora non mi va di installare :D :D Mi sento troppo pigro oggi, poi mi sono documentato anche un po su fancontrol e su pwmconfig che scrive i primi files di configurazione per fancontrol, anche questo richiede un altro modulo che per ora mi secca compilare, comunque... In verità ho postato per sapere se nei laptop la maggior parte delle volte i fili collegati alla scheda madre sono 2 o 3, non penso sia controllabile dall'utente. Fatemi sapere, ciao ragazzi. :)

Avatar utente
sya54M
Master
Master
Messaggi: 1665
Iscritto il: mer 6 giu 2007, 14:44
Nome Cognome: Andrea Peluso
Slackware: 64-current
Kernel: ultimo
Desktop: KDE
Località: (Salerno)
Contatta:

Re: Regolare ventole!

Messaggio da sya54M »

il portatile mio è vecchio ed era un modello economico e la ventola ha solo 3 fili e quindi non la posso regolare a piacimento.
però è probabilissimo che su portatili migliori abbiano 4 fili.

zxzxasas
Linux 2.x
Linux 2.x
Messaggi: 397
Iscritto il: sab 15 nov 2008, 2:28
Nome Cognome: Pasquale
Slackware: current
Kernel: 2.6.35.7
Desktop: KDE 4.5.2

Re: Regolare ventole!

Messaggio da zxzxasas »

Andrè, praticamente...
Lancio fancontrol:

Codice: Seleziona tutto

[root@Darkstar pasquale]# fancontrol
Loading configuration from /etc/fancontrol ...
Error: Can't read configuration file
Ok, serve il file di configurazione...
Una rapida occhiata al man di fancontrol, e mi è sembrato di capire che che devo lanciare pwmconfig che dovrebbe generare questo file. Ok lo lancio:

Codice: Seleziona tutto

[root@Darkstar pasquale]# pwmconfig
# pwmconfig revision 5630 (2009-01-29)
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
Mi pare di capire che ci sta poco da fare...
Pare pure a te?

Offtopic: Questa settimana vieni all' uni?

metrofox
Linux 3.x
Linux 3.x
Messaggi: 760
Iscritto il: gio 7 ago 2008, 12:29
Slackware: slackware64-current
Kernel: 3.4.4-ck3
Desktop: FluxBox-1.3.1
Distribuzione: FreeBSD-8.1(amd64)
Località: London

Re: Regolare ventole!

Messaggio da metrofox »

Come ho detto poco fa(ragazzi leggeteli i post), bisognano i moduli... Basta compilarli.

Avatar utente
sya54M
Master
Master
Messaggi: 1665
Iscritto il: mer 6 giu 2007, 14:44
Nome Cognome: Andrea Peluso
Slackware: 64-current
Kernel: ultimo
Desktop: KDE
Località: (Salerno)
Contatta:

Re: Regolare ventole!

Messaggio da sya54M »

prima di caricare i moduli dei sensori, ci devono essere i sensori.
cercali con sensors-detect, ti sugerirà quali moduli caricare nel caso trovi dei sensori sulla tua macchina.
guarda il caso del mio pc fisso in cui i sensori li ho sempre tenuti configurati (come sai visualizzo i valori sul desktop):

Codice: Seleziona tutto

bash-3.1# pwmconfig                                           
# pwmconfig revision 5630 (2009-01-29)                        
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.                                

Found the following devices:
   hwmon0/device is w83627thf

Found the following PWM controls:
   hwmon0/device/pwm1            
   hwmon0/device/pwm2            
   hwmon0/device/pwm3            

Giving the fans some time to reach full speed...
Found the following fan sensors:                
   hwmon0/device/fan1_input     current speed: 0 ... skipping!
   hwmon0/device/fan2_input     current speed: 2500 RPM       
   hwmon0/device/fan3_input     current speed: 1985 RPM       

Warning!!! This program will stop your fans, one at a time,
for approximately 5 seconds each!!!                        
This may cause your processor temperature to rise!!!       
If you do not want to do this hit control-C now!!!         
Hit return to continue:                                    

Testing pwm control hwmon0/device/pwm1 ...
  hwmon0/device/fan2_input ... speed was 2500 now 2500
    no correlation                                    
  hwmon0/device/fan3_input ... speed was 1985 now 1962
    no correlation                                    

No correlations were detected.
There is either no fan connected to the output of hwmon0/device/pwm1,
or the connected fan has no rpm-signal connected to one of           
the tested fan sensors. (Note: not all motherboards have             
the pwm outputs connected to the fan connectors,                     
check out the hardware database on http://www.almico.com/forumindex.php)

Did you see/hear a fan stopping during the above test (n)? 

Testing pwm control hwmon0/device/pwm2 ...
  hwmon0/device/fan2_input ... speed was 2500 now 0
    It appears that fan hwmon0/device/fan2_input   
    is controlled by pwm hwmon0/device/pwm2        
Would you like to generate a detailed correlation (y)? 
Would you like to generate a graphical plot using gnuplot (y)? 
    PWM 255 FAN 2518                                           
    PWM 240 FAN 2500                                           
    PWM 225 FAN 2295                                           
    PWM 210 FAN 2122                                           
    PWM 195 FAN 1950                                           
    PWM 180 FAN 1776                                           
    PWM 165 FAN 1591                                           
    PWM 150 FAN 1394                                           
    PWM 135 FAN 0                                              
    Fan Stopped at PWM = 135                                   
    Hit return to continue...
e si vede che la ventola della cpu è l'unica a essere in grado di cambiare velocità
zxzxasas ha scritto:Offtopic: Questa settimana vieni all' uni?
si domani mattina vengo

zxzxasas
Linux 2.x
Linux 2.x
Messaggi: 397
Iscritto il: sab 15 nov 2008, 2:28
Nome Cognome: Pasquale
Slackware: current
Kernel: 2.6.35.7
Desktop: KDE 4.5.2

Re: Regolare ventole!

Messaggio da zxzxasas »

Beh io sensors lo tengo sempre configurato...Cioè ho fatto trovare tutti i sensori, anche se non ho visto che trovava e gli dicevo sempre si :P Mi sa che non ci sta nulla...

Comunque, rifatta la procedura...

Codice: Seleziona tutto

[root@Darkstar pasquale]# sensors-detect 
# sensors-detect revision 5729 (2009-06-02 15:51:29 +0200)
# System: Acer Aspire 5220 (laptop)                       
# Board: Acer Fuquene                                     

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...                                   Success!    
    (driver `k8temp')                                                   
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'...                                     No    
Trying family `VIA/Winbond/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/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): 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-nforce2' for device 0000:00:01.1: nVidia Corporation nForce SMBus (MCP67)
Module i2c-dev loaded successfully.                                                        

Next adapter: SMBus nForce2 adapter at 3040 (i2c-0)
Do you want to scan it? (YES/no/selectively): y    

Next adapter: SMBus nForce2 adapter at 3000 (i2c-1)
Do you want to scan it? (YES/no/selectively): y    
Client found at address 0x50                       
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)             
Probing for `EDID EEPROM'...                                No 
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)             

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

Next adapter: NVIDIA i2c adapter  (i2c-3)
Do you want to scan it? (YES/no/selectively): y

Next adapter: NVIDIA i2c adapter  (i2c-4)
Do you want to scan it? (YES/no/selectively): y
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: NVIDIA i2c adapter  (i2c-5)
Do you want to scan it? (YES/no/selectively): y

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

Driver `k8temp' (autoloaded):
  * Chip `AMD K8 thermal sensors' (confidence: 9)

No modules to load, skipping modules configuration.

Unloading i2c-dev... OK
e rifatto pwmconfig:

Codice: Seleziona tutto

[root@Darkstar pasquale]# pwmconfig
Display all 139 possibilities? (y or n)
[root@Darkstar pasquale]# pwmconfig
# pwmconfig revision 5630 (2009-01-29)
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
Vabè, fa niente...

Avatar utente
sya54M
Master
Master
Messaggi: 1665
Iscritto il: mer 6 giu 2007, 14:44
Nome Cognome: Andrea Peluso
Slackware: 64-current
Kernel: ultimo
Desktop: KDE
Località: (Salerno)
Contatta:

Re: Regolare ventole!

Messaggio da sya54M »

infatti è come il portatile mio, ha solo il sensore interno al processore... non supporta nientaltro che la lettura della temperatura di essa.
non legge nemmeno i giri della ventola, figurati se li scala... :)

ciao pasqualo :p

zxzxasas
Linux 2.x
Linux 2.x
Messaggi: 397
Iscritto il: sab 15 nov 2008, 2:28
Nome Cognome: Pasquale
Slackware: current
Kernel: 2.6.35.7
Desktop: KDE 4.5.2

Re: Regolare ventole!

Messaggio da zxzxasas »

sya54M ha scritto:infatti è come il portatile mio, ha solo il sensore interno al processore... non supporta nientaltro che la lettura della temperatura di essa.
non legge nemmeno i giri della ventola, figurati se li scala... :)

ciao pasqualo :p
E' acer che monta delle schede madri di produttori assurdi...
Non mi ricordo come feci a vedere, ma era proprio na cosa strana...

Vabbè, domani fatti sentire che andiamo a mangiare assieme!

Avatar utente
sya54M
Master
Master
Messaggi: 1665
Iscritto il: mer 6 giu 2007, 14:44
Nome Cognome: Andrea Peluso
Slackware: 64-current
Kernel: ultimo
Desktop: KDE
Località: (Salerno)
Contatta:

Re: Regolare ventole!

Messaggio da sya54M »

zxzxasas ha scritto:E' acer che monta delle schede madri di produttori assurdi...
Non mi ricordo come feci a vedere, ma era proprio na cosa strana...
:lol:
zxzxasas ha scritto:Vabbè, domani fatti sentire che andiamo a mangiare assieme!
oook mo scendo :)

Rispondi