Manually turn on CPU fan

34,820

You can do this with the tool

pwmconfig

This tool is normally used to save a configuration file for fancontrol. But you don't have to do so. You can just start the tool, than it will put all fans on full speed, sowing there current speed like this:

Giving the fans some time to reach full speed...
Found the following fan sensors:
  hwmon0/device/fan1_input     current speed: 2129 RPM
  hwmon0/device/fan2_input     current speed: 1679 RPM
  hwmon0/device/fan3_input     current speed: 0 ... skipping!
  hwmon0/device/fan4_input     current speed: 0 ... skipping!

After that you just skip (Ctr+C) the tool without saving anything.

To install the tool, you can use the following command:

sudo apt-get install fancontrol
Share:
34,820

Related videos on Youtube

ricksebak
Author by

ricksebak

Updated on September 18, 2022

Comments

  • ricksebak
    ricksebak over 1 year

    My BIOS controls my fan speeds, and I want to keep it that way. I have a machine in my basement where it's normally pretty cool, and as long as the machine isn't under high load the fans don't need to run at all. The BIOS already handles this just fine.

    But if my fans aren't running, I have no way to test them to make sure they aren't broken. So I'd like to make a script which will turn on the fans full blast for a few seconds, then use lm-sensors to monitor fan speed, and then I will know that the fans aren't broken.

    How can I manually turn on the fans to full speed? I don't want to use fancontrol, because I'm not looking for something that keeps running and keeps controlling fan speed. I just want something "low tech" that will turn them on regardless of temperature.

    Another thread said:

    If you really want to do it yourself, you can probably find special device files named pwm1, pwm2, etc. in /sys/class/hwmon/*/device/. You can cat them to get the current value or write a number between 0 and 255 to change the fan speed.

    That would be perfect, but it doesn't seem to work. Fancontrol says that my CPU fan is /sys/devices/platform/it87.656/pwm3, but when I set that to 255, it doesn't affect fan speed at all.

    Does anyone know how I can manually turn on the fan from a script, regardless of temperature?

  • Ivan
    Ivan over 8 years
    Does not work on an Asus EeePC Seashell Series netbook - says no compatible sensors found.
  • Michael
    Michael almost 4 years
    this is not working... it say it's giving the fans some time to reach full speed, but they are only topping out at around 1700RPM, and I know i have seen them reported over twice that speed when my computer is running hot!
  • j0h
    j0h about 2 years
    works great on my 24 core Dell Precision t5610, which it good, cuz im building code on 22 cores, and it was getting toasty.