URL: https://linuxfr.org/forums/linux-general/posts/comment-reduire-la-vitesse-des-ventilateurs Title: Comment réduire la vitesse des ventilateurs? Authors: Julien Jorge Date: 2017年06月20日T21:52:08+02:00 License: CC By-SA Tags: Score: 2 Hey, J'utilise un Eee PC en guise de nas et depuis qu'il commence à faire un peu chaud il se met à faire beaucoup de bruit, du coup c'est lourd. Pour que l'air puisse bien circuler je l'ai posé sur deux petits tasseaux qui le maintiennent à environ 2,5 cm du bureau mais ça ne change rien, j'ai un bruit pénible de ventilateur toute la journée. Je ne comprends pas pourquoi il a autant besoin de se refroidir vu qu'il est en _idle_ quasiment toute la journée. Regarde un peu cette sortie de `top` que j'ai lancé alors qu'il soufflait fort : ``` $ top top - 22:29:43 up 8 days, 13:04, 1 user, load average: 0,00, 0,00, 0,00 Tasks: 150 total, 1 running, 149 sleeping, 0 stopped, 0 zombie %Cpu(s): 0,2 us, 0,3 sy, 0,0 ni, 99,5 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st KiB Mem : 1004528 total, 76520 free, 220100 used, 707908 buff/cache KiB Swap: 498684 total, 296880 free, 201804 used. 615308 avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 14321 julien 20 0 42908 3760 3144 R 1,0 0,4 0:00.24 top 1 root 20 0 205264 5608 3660 S 0,0 0,6 6:05.31 systemd 2 root 20 0 0 0 0 S 0,0 0,0 0:00.28 kthreadd 4 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/0:0H 6 root 20 0 0 0 0 S 0,0 0,0 0:05.17 ksoftirqd/0 7 root 20 0 0 0 0 S 0,0 0,0 5:19.15 rcu_sched 8 root 20 0 0 0 0 S 0,0 0,0 0:00.00 rcu_bh 9 root rt 0 0 0 0 S 0,0 0,0 0:00.13 migration/0 10 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 lru-add-drain 11 root rt 0 0 0 0 S 0,0 0,0 0:02.84 watchdog/0 12 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/0 13 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/1 14 root rt 0 0 0 0 S 0,0 0,0 0:02.29 watchdog/1 15 root rt 0 0 0 0 S 0,0 0,0 0:00.21 migration/1 16 root 20 0 0 0 0 S 0,0 0,0 0:37.52 ksoftirqd/1 18 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/1:0H 19 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kdevtmpfs ``` Il faisait 25°C dans la pièce à ce moment. Pour avoir une idée de la température et de la vitesse des ventilateurs, je tente `acpi` et `sensors` : ``` $ acpi -V Battery 0: Unknown, 96% Battery 0: design capacity 4400 mAh, last full capacity 3675 mAh = 83% Adapter 0: on-line Thermal 0: ok, 78.0 degrees C Thermal 0: trip point 0 switches to mode critical at temperature 98.0 degrees C Thermal 0: trip point 1 switches to mode passive at temperature 95.0 degrees C Cooling 0: Processor 0 of 10 Cooling 1: LCD 0 of 10 Cooling 2: Processor 0 of 10 ``` ``` $ sensors acpitz-virtual-0 Adapter: Virtual device temp1: +78.0°C (crit = +98.0°C) coretemp-isa-0000 Adapter: ISA adapter Core 0: +65.0°C (crit = +100.0°C) ``` Mkay. Comparé au sorties des mêmes commandes à un moment où le PC est silencieux, où il fait 20°C dans la pièce : ``` $ acpi -V Battery 0: Unknown, 96% Battery 0: design capacity 4400 mAh, last full capacity 3675 mAh = 83% Adapter 0: on-line Thermal 0: ok, 73.0 degrees C Thermal 0: trip point 0 switches to mode critical at temperature 98.0 degrees C Thermal 0: trip point 1 switches to mode passive at temperature 95.0 degrees C Cooling 0: Processor 0 of 10 Cooling 1: LCD 0 of 10 Cooling 2: Processor 0 of 10 ``` ``` $ sensors acpitz-virtual-0 Adapter: Virtual device temp1: +73.0°C (crit = +98.0°C) coretemp-isa-0000 Adapter: ISA adapter Core 0: +60.0°C (crit = +100.0°C) ``` Bien, je ne sais pas trop comment interpréter les noms (Thermal, Cooling, Virtual device ?). Apparemment les ventilos s'activent quand « Thermal 0 » chauffe un peu. Malheureusement ils ne s'arrêtent plus ensuite; ça ne retombe jamais à 73°C. J'ai l'impression qu'il est quand même très très loin des températures critiques alors j'aimerais bien qu'il se déclenche plus tard. J'ai lu que `pwmconfig` permettait de régler la vitesse des ventilateurs, mais malheureusement : ``` $ pwmconfig # pwmconfig revision 6243 (2014年03月20日) 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 ``` Aucun succès donc, Et me voilà un peu bloqué :( Dis-moi, que puis-je faire pour réduire le bruit de ce PC ? Que dois-je faire pour que `pwmconfig` voit les ventilateurs ?