[ventilo] réglage des ventilos pour lenovo B-50-45

Reconnaissance et configuration du matériel / kernel linux
bobo
Elfe
Messages : 593
Inscription : mar. 08 avr. 2014, 22:47

[ventilo] réglage des ventilos pour lenovo B-50-45

Message par bobo »

Bonjour,

Je galère depuis hier pour essayer de comprendre quelque chose à la gestion des ventilos pour un ordi portable Lenovo B-50-45 récemment acquis pour ma douce. En effet je n'ai jamais vraiment installé d'OS sur des laptops. Le ventilo tourne en faisant un petit bruit aigü assez pénible, je souhaiterais qu'il tourne si fort uniquement lorsque ça chauffe vraiment.

À noter que j'ai installé Manjaro dessus : dites-moi si je me trompes de lieu, mais comme j'ai mes marques ici, j'y poste ;)

:arrow: Vérication et activation de la techno ACPI
1èrement, il s'agit bien d'un équivalent Thinkpad, le module thinkpad_acpi est lancé par défaut :

Code : Tout sélectionner

$ lsmod | grep -i thinkp
thinkpad_acpi          73728  0
nvram                  16384  1 thinkpad_acpi
snd                    69632  19 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,thinkpad_acpi
rfkill                 24576  8 cfg80211,ideapad_laptop,thinkpad_acpi,bluetooth
led_class              16384  2 sdhci,thinkpad_acpi
J'ai dû rajouter un bidouille modprobe pour activer le contrôle du ventilateur et voir /proc/acpi/ibm/fan :

Code : Tout sélectionner

$ cat /etc/modprobe.d/thinkpad_acpi.conf 
options thinkpad_acpi fan_control=1
Je suis tombé sur cette combine via un des projets qui visent à contrôler les ventilos de Thinkpad :
– tpfan
– tpfancod
− thinkfan

:arrow: Tests de contrôle du ventilateur
Il semblerait qu'il y ait quelque chose : « fancontrol » avec lm_sensors.
https://wiki.archlinux.org/index.php/Fan_speed_control
Je l'ai donc installé :

Code : Tout sélectionner

$ sensors
k10temp-pci-00c3
Adapter: PCI adapter
temp1:        +38.4°C  (high = +70.0°C)
                       (crit = +115.5°C, hyst = +114.5°C)

fam15h_power-pci-00c4
Adapter: PCI adapter
power1:           N/A  (crit =  14.98 W)

thinkpad-isa-0000
Adapter: ISA adapter
fan1:           0 RPM
Le ventilateur est à 0 RPMs. Lorsque je lance pwmconfig, j'obtiens cette erreur :

Code : Tout sélectionner

$ sudo pwmconfig
Mot de passe [sudo] de bobo :
# 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.

Found the following devices:
   hwmon0 is k10temp
   hwmon1 is fam15h_power
   hwmon2/device is thinkpad

Found the following PWM controls:
   hwmon2/device/pwm1           current value: 0

Giving the fans some time to reach full speed...
Found the following fan sensors:
   hwmon2/device/fan1_input     current speed: 0 ... skipping!

There are no working fan sensors, all readings are 0.
Make sure you have a 3-wire fan connected.
You may also need to increase the fan divisors.
See doc/fan-divisors for more information.
   hwmon2/device/fan1_input     current speed: 0 ... skipping!

There are no working fan sensors, all readings are 0.
Make sure you have a 3-wire fan connected.
You may also need to increase the fan divisors.
See doc/fan-divisors for more information.
Je me suis aussi renseigné sur thinkfan. Je ne parviens pas à trouver /proc/acpi/ibm/thermal auquel il est fait référence ici :
https://github.com/vmatare/thinkfan/blo ... onf.simple
peut-être faut-il ajouter une bidouille modprobe…

:arrow: Que faire ?
Bref je pense avoir assez exploré le sujet, pour venir demander de l'aide, avant de devenir complètement timbré. Quelle approche utiliseriez-vous pour régler le ventilateur ? Est-ce seulement possible ?
dwm — BÉPO — vim — “more is less !”
Répondre