Riadenie otacok ventilatorov (a hluku) je velmi jednoduche
V prvom rade chcem upozornit, ze zmena otacok ventilatora ako i jeho uplne zastavenie moze viest k poskodeniu hardware. Preto si dobre rozmyslite co robite.Nastavenie
lm-sensorsZa prve musime mat nastavene lm-sensors. Postupoval som podla tohto navodu
http://ubuntuforums.org/showthread.php?t=2780Ak mame lm-sensors nainstalovane, vystup zo 'sensors' by mal vyzerat takto:
$ sensors
w83627thf-isa-0290
Adapter: ISA adapter
VCore: +1.54 V (min = +1.69 V, max = +1.86 V)
+12V: +11.67 V (min = +10.82 V, max = +13.19 V)
+3.3V: +3.42 V (min = +3.14 V, max = +3.47 V)
+5V: +5.15 V (min = +4.75 V, max = +5.25 V)
-12V: -14.91 V (min = -10.80 V, max = -13.18 V)
V5SB: +5.05 V (min = +4.76 V, max = +5.24 V)
VBat: +0.06 V (min = +2.40 V, max = +3.60 V)
fan1: 0 RPM (min = 18750 RPM, div = 8)
CPU Fan: 1188 RPM (min = 18750 RPM, div = 8)
fan3: 0 RPM (min = 19285 RPM, div = 1)
M/B Temp: +31°C (high = -73°C, hyst = +21°C) sensor = thermistor
CPU Temp: +50.0°C (high = +80°C, hyst = +75°C) sensor = thermistor
temp3: +15.0°C (high = +80°C, hyst = +75°C) sensor = thermistor
vid: +1.775 V (VRM Version 9.0)
alarms:
beep_enable:
Sound alarm enabled
eeprom-i2c-0-51
Adapter: SMBus Via Pro adapter at 0400
Memory type: DDR SDRAM DIMM
Memory size (MB): 256
eeprom-i2c-0-50
Adapter: SMBus Via Pro adapter at 0400
Memory type: DDR SDRAM DIMM
Memory size (MB): 256
Patchnutie
pwmconfigNajskor sa pokusime pustit 'pwmconfig'. Ak nam po zadani tohto prikazu vyhodi chybu "/usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed" odporucam najskor zalohovat pwmconfig:
sudo cp /usr/sbin/pwmconfig /usr/sbin/pwmconfig_original
Nasledne otvorime textovym editorom pwmconfig:
sudo gedit /usr/sbin/pwmconfig
a v riadku 68 vymazeme tieto riadky:
MATCH='*/fan[1-9]_pwm'
else
MATCH='*/pwm[1-9]'
a nahradime ich tymito:
MATCH='*/pwm[1-9]'
else
MATCH='*/fan[1-9]_pwm'
Teraz pusime 'pwmconfig' malo by to fungovat.
Vypis bude vyzerat asi takto:
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 it8712
Found the following PWM controls:
hwmon0/device/pwm1
hwmon0/device/pwm2
hwmon0/device/pwm3
Found the following fan sensors:
hwmon0/device/fan1_input current speed: 3013 RPM
hwmon0/device/fan2_input current speed: 0 ... skipping!
hwmon0/device/fan3_input current speed: 0 ... skipping!
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:
Stlacite enter. Detekuju sa vetraciky, na 5 sekund sa vypnu
nepanikarte potom sa Vas zacne pytat na tie co naslo ci ich ma testovat. Vacsinou vsetko yes.
Potom pride otazka ci vytvorit subor /etc/fancontrol, ci donho zapisat hodnoty. Dame yes.
Zobrazia sa ciselne ponuky. Jednotka bude asi fan, stvorka ulozit a zavriet, 5 zobrazenie configu . . .
Zvolime 1 dame enter a nastavime si hodnoty pre konkretny fan. Bude sa pytat na tieto hodnoty:
INTERVAL=
FCTEMPS=
FCFANS=
MINTEMP=
MAXTEMP=
MINSTART=
MINSTOP=
Ked si ich nastavime podla vlastneho uvazenie dame 4, enter cim sa ulozie vsetky hodnoty.
Pre kontrolu mozme pozriet config
sudo gedit /etc/fancontrol
Toto je priklad ako to moze vyzerat:
INTERVAL=5
FCTEMPS= 1-0290/pwm2=1-0290/temp2_input
FCFANS= 1-0290/pwm2=1-0290/fan2_input
MINTEMP= 1-0290/pwm2=43
MAXTEMP= 1-0290/pwm2=53
MINSTART= 1-0290/pwm2=120
MINSTOP= 1-0290/pwm2=105
Spustime fancontrol:sudo fancontrol &
Ak vyhodi dake chybi, tak vacsinou je zle nakonfigurovany /etc/fancontrol. Napriklad cislo MAXTEMP nesmie byt vacsie MINSTOP a podobne.
Dakujem za pozornost a dufam, ze to niekomu pomoze.