J'ai fancontrol
installé, et immédiatement après avoir exécuté pwmconfig
Je reçois un Configuration appears to be outdated, please run pwmconfig again
message.
Il s'agit d'un vieux PC Dell (i5-2320) sur lequel j'ai installé Ubuntu 16.04. Quelques sorties :
$ sensors
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0: +35.0°C (high = +80.0°C, crit = +99.0°C)
Core 0: +35.0°C (high = +80.0°C, crit = +99.0°C)
Core 1: +26.0°C (high = +80.0°C, crit = +99.0°C)
Core 2: +33.0°C (high = +80.0°C, crit = +99.0°C)
Core 3: +31.0°C (high = +80.0°C, crit = +99.0°C)
dell_smm-virtual-0
Adapter: Virtual device
Processor Fan: 3193 RPM
Motherboard Fan: 0 RPM
$ sudo find /sys -name hwmon
/sys/devices/virtual/hwmon
/sys/devices/platform/coretemp.0/hwmon
/sys/class/hwmon
$ sudo 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.
Found the following devices:
hwmon0 is coretemp
hwmon1 is dell_smm
Found the following PWM controls:
hwmon1/pwm1 current value: 255
hwmon1/pwm2 current value: 255
Giving the fans some time to reach full speed...
Found the following fan sensors:
hwmon1/fan1_input current speed: 3191 RPM
hwmon1/fan2_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 hwmon1/pwm1 ...
hwmon1/fan1_input ... speed was 3191 now 997
It appears that fan hwmon1/fan1_input
is controlled by pwm hwmon1/pwm1
Would you like to generate a detailed correlation (y)? n
Testing pwm control hwmon1/pwm2 ...
hwmon1/fan1_input ... speed was 3191 now 3202
no correlation
No correlations were detected.
There is either no fan connected to the output of hwmon1/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 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)? n
$ more /etc/fancontrol
# Configuration file generated by pwmconfig, changes will be lost
INTERVAL=10
DEVPATH=hwmon0=devices/platform/coretemp.0 hwmon1=*devices/virtual*
DEVNAME=hwmon0=coretemp hwmon1=dell_smm
FCTEMPS=hwmon1/pwm1=hwmon0/temp1_input
FCFANS=hwmon1/pwm1=hwmon1/fan1_input
MINTEMP=hwmon1/pwm1=30
MAXTEMP=hwmon1/pwm1=60
MINSTART=hwmon1/pwm1=150
MINSTOP=hwmon1/pwm1=0
MAXPWM= hwmon1/pwm1=255
J'ai commencé par un autogen
mais quand je n'ai pas pu démarrer fancontrol
a fait quelques choses - a supprimé toutes les références à pwm2
parce que tout ce que j'ai c'est un seul ventilateur de processeur que j'essaie de contrôler... et j'ai ajouté la valeur derrière hwmon1
(en italique) moi-même parce qu'il n'y avait rien avant. Même si j'accepte les valeurs en lançant le contrôle du ventilateur, j'obtiens
$ sudo fancontrol
Loading configuration from /etc/fancontrol ...
Common settings:
INTERVAL=10
Settings for hwmon1/pwm1:
Depends on hwmon0/temp1_input
Controls hwmon1/fan1_input
MINTEMP=30
MAXTEMP=60
MINSTART=150
MINSTOP=0
MINPWM=0
MAXPWM=255
Device path of hwmon1 has changed
Configuration appears to be outdated, please run pwmconfig again
Ce qui est étrange, c'est que la corrélation détaillée en pwmconfig
changera la vitesse du ventilateur, donc il semble qu'il devrait avoir tout ce qu'il faut... mais j'ai encore dû mettre des valeurs dans DEVPATH
para hwmon1
. Il semble qu'il devrait comparer les DEVPATH
à quelque chose, mais je n'arrive pas à savoir quoi. Encore une fois, ce problème se pose dans la même session, je n'ai pas redémarré. Avez-vous une idée ?