1.Install the required packages for fancontrol , pwmconfig is the command used for configuring fan settings
[15:30 cipher@server ~]$ sudo dnf provides pwmconfig lm_sensors-3.4.0-6.fc26.x86_64 : Hardware monitoring tools
2.Install the packages
[15:31 cipher@server ~]$ sudo dnf install lm_sensors-3.4.0-6.fc26.x86_64 -y
3.configure fancontrol options now.
[15:33 cipher@server ~]$ 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 acpitz hwmon1 is dell_smm hwmon2 is coretemp Found the following PWM controls: hwmon1/pwm1 current value: 255 Giving the fans some time to reach full speed... Found the following fan sensors: hwmon1/fan1_input current speed: 4511 RPM 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 4511 now 0 It appears that fan hwmon1/fan1_input is controlled by pwm hwmon1/pwm1 Would you like to generate a detailed correlation (y)? y PWM 255 FAN 4511 PWM 240 FAN 4511 PWM 225 FAN 4511 PWM 210 FAN 4511 PWM 195 FAN 4511 PWM 180 FAN 2826 PWM 165 FAN 2778 PWM 150 FAN 2794 PWM 135 FAN 2778 PWM 120 FAN 2794 PWM 105 FAN 2810 PWM 90 FAN 2794 PWM 75 FAN 2794 PWM 60 FAN 0 Fan Stopped at PWM = 60 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)? y What should be the path to your fancontrol config file (/etc/fancontrol)? Select fan output to configure, or other action: 1) hwmon1/pwm1 3) Just quit 5) Show configuration 2) Change INTERVAL 4) Save and quit select (1-n): 1 Devices: hwmon0 is acpitz hwmon1 is dell_smm hwmon2 is coretemp Current temperature readings are as follows: hwmon0/temp1_input 43 hwmon1/temp1_input 43 hwmon1/temp2_input 46 hwmon1/temp3_input 46 hwmon1/temp4_input 44 hwmon2/temp2_input 43 hwmon2/temp3_input 43 Select a temperature sensor as source for hwmon1/pwm1: 1) hwmon0/temp1_input 2) hwmon1/temp1_input 3) hwmon1/temp2_input 4) hwmon1/temp3_input 5) hwmon1/temp4_input 6) hwmon2/temp2_input 7) hwmon2/temp3_input 8) None (Do not affect this PWM output) select (1-n): 1 Enter the low temperature (degree C) below which the fan should spin at minimum speed (20): 20 Enter the high temperature (degree C) over which the fan should spin at maximum speed (60): 40 Enter the minimum PWM value (0-255) at which the fan STOPS spinning (press t to test) (100): Enter the minimum PWM value (100-255) at which the fan STARTS spinning (press t to test) (150): Enter the PWM value (0-100) to use when the temperature is below the low temperature limit (0): Enter the PWM value (100-255) to use when the temperature is over the high temperature limit (255): Select fan output to configure, or other action: 1) hwmon1/pwm1 3) Just quit 5) Show configuration 2) Change INTERVAL 4) Save and quit select (1-n): 5 Common Settings: INTERVAL=10 Settings of hwmon1/pwm1: Depends on hwmon0/temp1_input Controls hwmon1/fan1_input MINTEMP=20 MAXTEMP=40 MINSTART=150 MINSTOP=100 Select fan output to configure, or other action: 1) hwmon1/pwm1 3) Just quit 5) Show configuration 2) Change INTERVAL 4) Save and quit select (1-n): 4 Saving configuration to /etc/fancontrol... Configuration saved
4.Checking the laptop speed
[15:36 cipher@server ~]$ sudo sensors coretemp-isa-0000 Adapter: ISA adapter Core 0: +43.0°C (high = +100.0°C, crit = +100.0°C) Core 1: +43.0°C (high = +100.0°C, crit = +100.0°C) acpitz-virtual-0 Adapter: Virtual device temp1: +42.5°C (crit = +99.0°C) dell_smm-virtual-0 Adapter: Virtual device Processor Fan: 4511 RPM CPU: +42.0°C SODIMM: +46.0°C Other: +46.0°C SODIMM: +44.0°C