PDA

View Full Version : Configurazione fancontrol


Lorenzoz
23-02-2013, 13:34
Ciao a tutti!!

Come detto nel titolo vorrei provare a configurare fancontrol per abbassare il regime di rotazione delle ventole, riducendo così il rumore..la configurazione è quella in firma e il secondo step sarebbe ridurre il voltaggio del processore quindi non dovrei aver problemi a rallentare le ventole..

Ho installato lm-sensors e effettuato
#sensors-detect
risultato
Driver `w83627ehf':
* ISA bus, address 0x290
Chip `Nuvoton NCT6776F Super IO Sensors' (confidence: 9)

Driver `k10temp' (autoloaded):
* Chip `AMD Family 12h and 14h thermal sensors' (confidence: 9)

To load everything that is needed, add this to /etc/modules:
#----cut here----
# Chip drivers
w83627ehf
#----cut here----


aggiunta la riga in /etc/modules
passiamo a
#pwmconfig
Found the following devices:
hwmon0/device is k10temp
hwmon1 is radeon
hwmon2/device is nct6776


ora viene il mio problema..
come faccio a capire su quale sensore mi devo basare per la lettura delle temperature?

sensors
k10temp-pci-00c3
Adapter: PCI adapter
temp1: +4.2°C (high = +70.0°C)
(crit = +80.0°C, hyst = +79.0°C)
radeon-pci-0008
Adapter: PCI adapter
temp1: +4.0°C

nct6776-isa-0290
Adapter: ISA adapter
Vcore: +1.10 V (min = +0.00 V, max = +1.74 V)
in1: +1.84 V (min = +0.00 V, max = +0.00 V) ALARM
AVCC: +3.39 V (min = +2.98 V, max = +3.63 V)
+3.3V: +3.39 V (min = +2.98 V, max = +3.63 V)
in4: +0.09 V (min = +0.00 V, max = +0.00 V) ALARM
in5: +1.68 V (min = +0.00 V, max = +0.00 V) ALARM
3VSB: +3.47 V (min = +2.98 V, max = +3.63 V)
Vbat: +3.38 V (min = +2.70 V, max = +3.63 V)
fan1: 783 RPM (min = 0 RPM) ALARM
fan2: 0 RPM (min = 0 RPM) ALARM
fan3: 0 RPM (min = 0 RPM) ALARM
fan4: 0 RPM (min = 0 RPM) ALARM
fan5: 0 RPM (min = 0 RPM) ALARM
SYSTIN: +31.0°C (high = +0.0°C, hyst = +0.0°C) ALARM sensor = thermistor
CPUTIN: +29.5°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor
AUXTIN: +127.5°C (high = +114.0°C, hyst = +114.0°C) ALARM sensor = thermistor
SMBUSMASTER 0: +4.0°C
cpu0_vid: +0.000 V
intrusion0: ALARM
intrusion1: OK


altro problema: ho attaccate alla mobo 3 ventole, cpu(4pin), case1(4pin) e case2(3pin).. come mai qui leggo una sola velocità e sembra mancare completamente la lettura della ventola del processore? :muro: :muro:

Scusate il post kilometrico.. :stordita:

eaman
23-02-2013, 23:02
Allora, prima di tutto ricordiamoci che se lasci per troppo tempo un device che richiede una ventola funzionante al caldo potresti causare danni non recuperabili. Utente avvisato mezzo scottato.

Quindi se ti capita di non riuscire a isolare la ventola su cui vuoi intervenire nel dubbio resetta il sistema.

Da me per stoppare al volo una delle ventole faccio qualcosa come:
cat /root/scripts/sfanna.sh
/etc/init.d/fancontrol stop
echo 100 > /sys/class/hwmon/hwmon1/device/pwm2
quel 100 e' un valore basso che in una scala da 0 a 255 mi fa girare la ventola della CPU a ~800RPM, a prescindere dal carico.

Quali siano gli intervalli (0-255) che supportano i PWM lo vedi da pwmconfig e quale che sia la temperatura attuale dei sensori da sensors.

Su quale device sparare i valori lo puoi cercare di capire sempre da pwmconfig, o all'atto pratico puoi sparare dei valori sui vari device con echo come fatto da me sopra.

echo 100 > /sys/class/hwmon/hwmon1/device/pwm2 e cercare di identificare la ventola giusta.

Ad es. il mio /etc/fancontrol per il mio kernel attuale (perche' i device possono cambiare con kernel diversi, tanto per tenere la cosa divertente) e':
# Configuration file generated by pwmconfig, changes will be lost
INTERVAL=10
DEVPATH=hwmon0=devices/platform/coretemp.0
DEVNAME=hwmon0=coretemp
FCTEMPS=hwmon1/device/pwm2=hwmon0/device/temp2_input
FCFANS=hwmon1/device/pwm2=hwmon0/device/temp2_input
# Fan for chrome won't go below 100 / ~900RPM
MINTEMP=hwmon1/device/pwm2=54
MAXTEMP=hwmon1/device/pwm2=62
# This is most sensible maxTemp in order to make the fan spin ehen the CPU is under load
#MAXTEMP=hwmon1/device/pwm2=62
MINSTART=hwmon1/device/pwm2=10
MINSTOP=hwmon1/device/pwm2=0

Lorenzoz
24-02-2013, 09:09
Grazie per la risposta.. :ave:

Allora guardando il tuo fancontrol e andando per tentativi ho ottenuto qualcosa con questo
# Configuration file generated by pwmconfig, changes will be lost
INTERVAL=10
DEVPATH=hwmon2=devices/platform/w83627ehf.656
DEVNAME=hwmon2=nct6776
FCTEMPS=hwmon2/device/pwm2=hwmon2/device/temp2_input
FCFANS=hwmon2/device/pwm2=hwmon2/device/temp2_input
MINTEMP=hwmon2/device/pwm2=40 hwmon2/device/pwm1=40
MAXTEMP=hwmon2/device/pwm2=55 hwmon2/device/pwm1=55
MINSTART=hwmon2/device/pwm2=100 hwmon2/device/pwm1=100
MINSTOP=hwmon2/device/pwm2=0 hwmon2/device/pwm1=0
MAXPWM=hwmon2/device/pwm2=255 hwmon2/device/pwm1=255

mi riduce la velocità di rotazione della ventola CPU..
tuttavia non sono sicuro dei parametri, in particolare FCTEMPS e FCFANS..a cosa si riferiscono? li ho messi uguali solo perchè nel tuo lo erano.. :stordita:

ora però continuo a non capire perchè con il comando sensors mi rileva sempre la velocità delle ventole del case (sono collegate insieme con un filo di questo tipo (http://forums.tweaktown.com/attachments/gigabyte/4409d1330437260-wiring-2-fans-one-header-arctic_cooling_f12pwm_3.jpg) ) e sembra non conoscere minimamente la velocità del dissipatore (permettendomi però di regolarla) :eek: :eek:

EDIT: controllando in /sys/class hwmon0 e hwmon1 non hanno pwm, quindi deduco che non siano controllabili..

eaman
24-02-2013, 12:54
INTERVAL :: This variable defines at which interval in seconds the main loop of fancontrol will be executed
FCTEMPS :: Maps PWM outputs to temperature sensors so fancontrol knows which temperature sensors should be used for calculation of new values for the corresponding PWM outputs.
FCFANS :: FCFANS records the association between a PWM and a fan. Then fancontrol can check the fan speed and restart it if it stops unexpectedly.
MINTEMP :: The temperature below which the fan gets switched off completely.
MAXTEMP :: The temperature over which the fan gets switched to full speed.
MINSTART :: Sets the minimum speed at which the fan begins spinning. You should use a safe value to be sure it works, even when the fan gets old.
MINSTOP :: The minimum speed at which the fan still spins. Use a safe value here, too.
- http://www.lm-sensors.org/wiki/man/fancontrol
Have fan!

Lorenzoz
24-02-2013, 13:57
INTERVAL :: This variable defines at which interval in seconds the main loop of fancontrol will be executed
FCTEMPS :: Maps PWM outputs to temperature sensors so fancontrol knows which temperature sensors should be used for calculation of new values for the corresponding PWM outputs.
FCFANS :: FCFANS records the association between a PWM and a fan. Then fancontrol can check the fan speed and restart it if it stops unexpectedly.
MINTEMP :: The temperature below which the fan gets switched off completely.
MAXTEMP :: The temperature over which the fan gets switched to full speed.
MINSTART :: Sets the minimum speed at which the fan begins spinning. You should use a safe value to be sure it works, even when the fan gets old.
MINSTOP :: The minimum speed at which the fan still spins. Use a safe value here, too.
- http://www.lm-sensors.org/wiki/man/fancontrol
Have fan!

:doh: :doh: non so come avevo fatto a non trovarlo!! :(

Lorenzoz
18-03-2013, 07:10
Scusate se riesumo questo post..

Ho fatto svariati tentativi, e alla fine sono riuscito a configurare fancontrol, ma sono soddisfatto a metà..

Vi spiego..
Sulla mobo ho:
Ingresso 4 pin CPU
Ingresso 3 pin CPU 2

Ingresso 4 pin chassis1
Ingresso 3 pin chassis2
Ingresso 3 pin chassis3

Eseguendo il comando pwmconfig questo trova correlazione tra le velocità solo per il chassis3, secondo voi perché sugli altri e non riesce?
Possono entrare in conflitto pwmconfig e i settaggi del BIOS?

eaman
18-03-2013, 13:35
Be' il BIOS ovviamente conta.
Ad es. nella mia scheda madre ho dovuto disababilitare la gestione "automatica da BIOS" del PWM per poterlo poi impostare manualmente (cioe' con un demone del sistema operativo).