pwmconfig a větráky jedou jako o život

pwmconfig a větráky jedou jako o život
« kdy: 15. 11. 2020, 05:53:40 »
Zdravím, prosím o pomoc.
Do terminálu jsem napsal sudo pwmconfig, pak jsem odpověděl na ty otázky, větráky se na 5s nevypnuly. Jenže teď se točí nejspíš na maximum (jeden 2600, druhý 4500), dokonce i když restartuju PC, tak ještě než najede Linux nebo Windows tak jedou rychle. Když se dostanu do BIOSU, tak tam jsou taky tyto vysoké hodnoty, bohužel to nemůžu manuálně měnit (v tom BIOSU) .
Jak to vrátím zpátky?  :-\


Re:pwmconfig a větráky jedou jako o život
« Odpověď #1 kdy: 15. 11. 2020, 16:32:48 »
Zkuste CMOS reset.

Re:pwmconfig a větráky jedou jako o život
« Odpověď #2 kdy: 15. 11. 2020, 18:51:16 »
Co sem alespoň postnout ten konfigurák?

Servisa běží?
Jaké jsou teploty a jaké jsou rychlosti?

Re:pwmconfig a větráky jedou jako o život
« Odpověď #3 kdy: 16. 11. 2020, 09:22:31 »
Co sem alespoň postnout ten konfigurák?

Ono tam nic nakonfigurovat nešlo...
Kód: [Vybrat]
a@linux:~$ sudo pwmconfig
# pwmconfig version 3.6.0
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 is acpitz
   hwmon1 is coretemp
   hwmon2/device is f71808a

Found the following PWM controls:
   hwmon2/device/pwm1           current value: 255
   hwmon2/device/pwm2           current value: 255
   hwmon2/device/pwm3           current value: 255

Giving the fans some time to reach full speed...
Found the following fan sensors:
   hwmon2/device/fan1_input     current speed: 2546 RPM
   hwmon2/device/fan2_input     current speed: 4504 RPM
   hwmon2/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:

Testing pwm control hwmon2/device/pwm1 ...
  hwmon2/device/fan1_input ... speed was 2546 now 2495
    no correlation
  hwmon2/device/fan2_input ... speed was 4504 now 4531
    no correlation

No correlations were detected.
There is either no fan connected to the output of hwmon2/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)? n

Testing pwm control hwmon2/device/pwm2 ...
  hwmon2/device/fan1_input ... speed was 2546 now 2590
    no correlation
  hwmon2/device/fan2_input ... speed was 4504 now 4178
    no correlation

No correlations were detected.
There is either no fan connected to the output of hwmon2/device/pwm2,
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)? n

Testing pwm control hwmon2/device/pwm3 ...
  hwmon2/device/fan1_input ... speed was 2546 now 2590
    no correlation
  hwmon2/device/fan2_input ... speed was 4504 now 4504
    no correlation

No correlations were detected.
There is either no fan connected to the output of hwmon2/device/pwm3,
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)? n

Testing is complete.
Please verify that all fans have returned to their normal speed.

The fancontrol script can automatically respond to temperature changes
of your system by changing fanspeeds.
Do you want to set up its configuration file now (y)? y
What should be the path to your fancontrol config file (/etc/fancontrol)? /home/   

Select fan output to configure, or other action:
1) Change INTERVAL     3) Save and quit
2) Just quit        4) Show configuration
select (1-n): 4

Common Settings:
INTERVAL=10


Select fan output to configure, or other action:
1) Change INTERVAL     3) Save and quit
2) Just quit        4) Show configuration
select (1-n): 3

Saving configuration to /etc/fancontrol...
Configuration saved
a@linux:~$ sudo fancontrol
[sudo] heslo pro a:             
Loading configuration from /etc/fancontrol ...
Some mandatory settings missing, please check your config file!

Kód: [Vybrat]
a@linux:~$ cat fancontrol
# Configuration file generated by pwmconfig, changes will be lost
INTERVAL=10
DEVPATH=
DEVNAME=
FCTEMPS=
FCFANS=
MINTEMP=
MAXTEMP=
MINSTART=
MINSTOP=


Servisa běží?
Jaké jsou teploty a jaké jsou rychlosti?

Nevím co je servisa.

Minimální zátěž:
Kód: [Vybrat]
a@linux:~$ sensors
f71808a-isa-0290
Adapter: ISA adapter
+3.3V:         3.31 V 
in1:           1.70 V 
in2:           1.03 V 
in3:           1.47 V 
3VSB:          3.34 V 
Vbat:          3.28 V 
fan1:        1427 RPM
fan2:        2546 RPM
fan3:           0 RPM  ALARM
temp1:        +28.0°C  (high = +85.0°C, hyst = +81.0°C)
                       (crit = +100.0°C, hyst = +96.0°C)  sensor = transistor
temp2:        +33.0°C  (high = +85.0°C, hyst = +81.0°C)
                       (crit = +100.0°C, hyst = +96.0°C)  sensor = transistor

acpitz-acpi-0
Adapter: ACPI interface
temp1:        +27.8°C  (crit = +105.0°C)
temp2:        +29.8°C  (crit = +105.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +32.0°C  (high = +80.0°C, crit = +100.0°C)
Core 0:        +28.0°C  (high = +80.0°C, crit = +100.0°C)
Core 1:        +29.0°C  (high = +80.0°C, crit = +100.0°C)
Core 2:        +28.0°C  (high = +80.0°C, crit = +100.0°C)
Core 3:        +27.0°C  (high = +80.0°C, crit = +100.0°C)

Udělal jsem ten CMOS reset a pomohlo to tak napůl. Jak vidíte nahoře, už je to jen 1500 a 2500 RPM, no než jsem spustil pwmconfig, tak to bývalo 1000 a 1500. Lepší by bylo méně, ale asi to tak raději už nechám.

Re:pwmconfig a větráky jedou jako o život
« Odpověď #4 kdy: 05. 12. 2020, 21:18:07 »
Dokud ti vetraky jely na maximum, tak jsi mel spravne nastaveny BIOS = deaktivovane rizeni otacek vetraku BIOSem = zpristupnene rizeni vetraku do Linuxu. Jakmile se zacaly tocit min, tak se rizeni chopil BIOS a dokud to v BIOSu zase zpatky nevypnes, nemas sanci z pwmconfigu nic nastavit.

Az si nastavis BIOS a bootnes do Linuxu, vlez si do /sys/class/hwmon, prohlidni si jednotlive podslozky a najdi si ty, kde bud uvidis soubory temp*_input, nebo fan*_input + pwm* -- podle obsahu souboru name muzes overit, ktery kernel driver se o dany hwmon device stara. Podle toho cos pastoval nize to bude hwmon1 (coretemp => aktualni teplota CPU) a hwmon2 (f71808a => Fintek Super I/O chip co resi aktualni otacky vetraku + nastaveni pozadovaneho poctu otacek vetraku).

/sys/class/hwmon/hwmon1/temp1_input == teplota CPU
/sys/class/hwmon/hwmon2/fan1_input == skutecne otacky vetraku (RPM)
/sys/class/hwmon/hwmon2/pwm1 == pozadovane otacky vetraku (0 = nejmensi mozne otacky, 255 = nejvetsi mozne otacky)

Zkus echo 0 > /sys/class/hwmon/hwmon2/pwm1 a vetrak by mel komplet ztichnout a zastavit se.
echo 255 > /sys/class/hwmon/hwmon2/pwm1 ho zase roztoci na maximum.

cat /sys/class/hwmon/hwmon1/temp1_input by melo vratit neco jako 33000 (=33 stupnu Celsia).

Az tohohle dosahnes, pwmconfig te provede zjistenim, jake nejmensi otacky tvuj vetrak zvladne (u desktopu to byva 300 = CoolerMaster Arctic nebo i jen 200 = Noctua podle kvality vetraku) a pripravi konfiguraci. Behem testovani bys mel slyset, jak se otacky vetraku meni. Ukazka meho konfiguraku viz https://www.abclinuxu.cz/hardware/zakladni-desky/socket-1155/asus-p8z77-m-pro

Az ulozis konfiguraci, spusteni prikazu fancontrol by melo vetraky ztisit. Zatez PC necim jako ripovanim audia z CD nebo videa z DVD apod. v nekolika terminalech najendou a sleduj jak roste teplota a otacky vetraku.

Potrebujes pak uz jen zajistit, ze se fancontrol sam spusti po startu, tedy pres neco jako /etc/rc3.d apod.

Jeste muzes sledovat stav teploty a vetraku pres sensors a pres acpi -V.
« Poslední změna: 05. 12. 2020, 21:23:30 od sarimak »


k3dAR

  • *****
  • 2 838
  • porad nemam telo, ale uz mam hlavu... nobody
    • Zobrazit profil
    • E-mail
Re:pwmconfig a větráky jedou jako o život
« Odpověď #5 kdy: 06. 12. 2020, 23:02:53 »
Kód: [Vybrat]
a@linux:~$ sudo pwmconfig
[...]
What should be the path to your fancontrol config file (/etc/fancontrol)? /home/   
[...]
Saving configuration to /etc/fancontrol...
[...]
a@linux:~$ sudo fancontrol
[...]
Loading configuration from /etc/fancontrol ...

Kód: [Vybrat]
a@linux:~$ cat fancontrol
# Configuration file generated by pwmconfig, changes will be lost
[...]

trochu me zarazi co sem vypichnul:
- jako "nazev" souboru s konfiguraci si zvolil "/home", tedy adresar
- nahlidnul sem do "pwmconfig" a v takovem pripade by melo dojit k tomu ze docasny tmp soubor kterej pripravi zkopiruje do adresare pod puvodnim tmp jmenem (napr. pwmcfg.7b9gpQO8K9 do /home)
- ty ale pak pres cat ctes soubor /home/a/fancontrol
- pokud bys mel opravdu /home/a/fancontrol tak se nenacte pri pusteni fancontrol pokud mu nedas jako parametru cestu k tomu tvemu souboru tzn. ten z /home/a/fancontrol co si dal obsah se jiste nepouzije i kdyby byl ok
- zaroven pwmconfig ti psal ze zapisuje do /etc/fancontrol pritom v skriptu pwmconfig nevidim ze by delal detekci zda zvolenej soubor uzivatelem neni adresar aby zmenil nazev na vychozi, nebo se dotazal uzivatele znovu na /cestu/jmeno souboru konfigurace...

=> dej sem obsah souboru /etc/fancontrol a pak ho smaz pro jistotu zakaz sluzbu (ona zmine "servisa"):
Kód: [Vybrat]
sudo systemctl stop fancontrol
sudo systemctl disable fancontrol
sudo systemctl mask fancontrol
pripadne jeste radeji vypni/zapni stroj...

v pripade ze bys pak z fancontrol znovu chtel laborovat, ta sluzba se zapina v "obracenem" poradi:
Kód: [Vybrat]
sudo systemctl unmask fancontrol
sudo systemctl enable fancontrol
sudo systemctl start fancontrol


Re:pwmconfig a větráky jedou jako o život
« Odpověď #6 kdy: 12. 12. 2020, 16:30:28 »
Děkuju vám za pomoc, už to funguje :)