Fancontrol не запускается - конфигурация оборудования изменена (без перезагрузки)

У меня установлен fancontrol , и сразу после запуска pwmconfig я получаю Конфигурация устарела, пожалуйста, запустите pwmconfig еще раз сообщение .

Это старый компьютер Dell (i5-2320), на который я поставил Ubuntu 16.04. Некоторые результаты:

$ 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  

Я начал с конфигурации autogen , но когда не смог запустить fancontrol сделал несколько вещей - удалил все ссылки на pwm2 , потому что все, что у меня есть, это один вентилятор процессора, которым я пытаюсь управлять ... и я сам добавил значение за hwmon1 (курсивом), потому что раньше там ничего не было. Даже если я принимаю значения при запуске управления вентилятором, я получаю

$ 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  

. Странно то, что подробная корреляция в pwmconfig изменяет скорость вентилятора, поэтому кажется, что в нем должно быть все необходимое ... но Мне все еще приходилось помещать значения в DEVPATH для hwmon1 . Похоже, он должен сравнивать значения DEVPATH с чем-то, но я не могу понять, что именно. Опять же, эта проблема возникла в одном сеансе, я не перезагружался. Есть идеи?

0
задан 26 December 2019 в 14:51

1 ответ

Устройства расположены в / sys / devices / platform / . На самом деле вам не нужен DEVPATH, вы можете указать полный путь с подстановочным знаком, если номер hwmon изменится.

Найдите каждое устройство / sys / devices / platform / / hwmon /

Отредактируйте / etc / fancontrol вручную.

Удалите DEVPATH и DEVNAME

Замените каждую запись полным путем из / sys / devices / platform / / hwmon / hwmon [[: print:] ] *

Ваш = hwmon0 / temp1_input станет = / sys / devices / platform / coretemp.0 / hwmon / hwmon [[: print:]] * , вы просто нужно получить путь ко всем записям hwmon1 и заменить его.

После того, как он заработает, сделайте резервную копию конфигурации на случай, если она будет перезаписана или если вы обновите свою ОС. Вот ветка с некоторой помощью для ручной настройки управления вентилятором: Невозможно настроить скорость вентилятора с помощью pwmconfig!

0
ответ дан 30 December 2019 в 19:08

Другие вопросы по тегам:

Похожие вопросы: