Vous n'êtes pas identifié(e).
L'icône rouge permet de télécharger chaque page du wiki visitée au format PDF et la grise au format ODT →
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente | |||
doc:misc:thinkfan [18/07/2022 09:40] Brunus [Configuration] |
doc:misc:thinkfan [18/07/2022 10:52] (Version actuelle) Brunus [Test] |
||
---|---|---|---|
Ligne 154: | Ligne 154: | ||
===== Test ===== | ===== Test ===== | ||
- | <note warning>Section en cours de vérification et refonte pour adaptation au cas de Debian Bookworm</note> | + | Après un redémarrage du Thinkpad on peut s'assurer que le service fonctionne. |
+ | <code> | ||
+ | root@Merry:/home/brunus# systemctl status thinkfan.service | ||
+ | ● thinkfan.service - thinkfan 1.3.1 | ||
+ | Loaded: loaded (/lib/systemd/system/thinkfan.service; enabled; vendor preset: enabled) | ||
+ | Active: active (running) since Mon 2022-07-18 09:17:46 CEST; 1h 7min ago | ||
+ | Process: 466 ExecStart=/usr/sbin/thinkfan $THINKFAN_ARGS $DAEMON_ARGS (code=exited, status=0/SUCCESS) | ||
+ | Main PID: 488 (thinkfan) | ||
+ | Tasks: 1 (limit: 18739) | ||
+ | Memory: 3.2M | ||
+ | CPU: 297ms | ||
+ | CGroup: /system.slice/thinkfan.service | ||
+ | └─488 /usr/sbin/thinkfan -q | ||
+ | </code> | ||
- | Afin de s'assurer que tout fonctionne correctement nous pouvons lancer manuellement thinkfan après avoir arrêté le démon : | + | Pour contrôler l'activité de thinkfan sur la vitesse de rotation du ventilateur, on peut faire un test "à froid", avec peu de process lancés, rien de lourd, et on commence par obtenir la température du CPU et la vitesse de rotation du ventilateur : |
- | + | <code>brunus@Merry:~$ sensors | grep "CPU" | |
- | <code root>systemctl stop thinkfan.service</code> | + | CPU: +37.0°C |
- | + | brunus@Merry:~$ sensors | grep "fan1" | |
- | <code root>thinkfan -n</code> | + | fan1: 0 RPM |
- | Ce qui donne dans mon cas : | + | brunus@Merry:~$ cat /proc/acpi/ibm/fan | grep "speed" |
- | <code>WARNING: Using default fan control in /proc/acpi/ibm/fan. | + | speed: 0 |
- | + | </code> | |
- | WARNING: You're using simple temperature limits without correction values, and your fan will only start at 55 °C. This can be dangerous for your hard drive. | + | On peut maintenant tester "à chaud" en lançant quelques process ou applications gourmandes en CPU. |
- | + | <code> | |
- | sleeptime=5, tmax=46, last_tmax=46, biased_tmax=46 -> fan="level 0" | + | brunus@Merry:~$ sensors | grep "CPU" |
- | sleeptime=2, tmax=54, last_tmax=48, biased_tmax=63 -> fan="level 4" | + | CPU: +45.0°C |
- | sleeptime=5, tmax=49, last_tmax=54, biased_tmax=49 -> fan="level 1" | + | brunus@Merry:~$ sensors | grep "fan1" |
- | sleeptime=5, tmax=47, last_tmax=49, biased_tmax=47 -> fan="level 0" | + | fan1: 4070 RPM |
- | sleeptime=2, tmax=53, last_tmax=51, biased_tmax=56 -> fan="level 1" | + | brunus@Merry:~$ cat /proc/acpi/ibm/fan | grep "speed" |
- | sleeptime=5, tmax=48, last_tmax=50, biased_tmax=48 -> fan="level 0" | + | speed: 4070 |
- | sleeptime=2, tmax=68, last_tmax=50, biased_tmax=95 -> fan="level 7" | + | |
- | sleeptime=5, tmax=62, last_tmax=71, biased_tmax=62 -> fan="level 5" | + | |
- | sleeptime=2, tmax=76, last_tmax=62, biased_tmax=97 -> fan="level 7" | + | |
- | ... | + | |
</code> | </code> | ||
- | |||
- | Tout semble ok ! | ||
- | |||
- | On peut donc couper thinkfan (Ctrl + c) et relancer le démon : | ||
- | |||
- | <code root>systemctl start thinkfan.service</code> | ||
- | |||
===== (Res)source ===== | ===== (Res)source ===== | ||
* [[https://github.com/vmatare/thinkfan|Site officiel]] | * [[https://github.com/vmatare/thinkfan|Site officiel]] | ||