Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I configured fanspeed but it detects only one "temp" captor... In Gnome Sensors applet, I can see the temperature of three captors... The one of my GPU is 75°, 62° for my hard disk and 32° for my motherboard...

I would like to increase the speed of the fans, just with a command in the terminal... It is possible ? I know that there is a material solution (buttons on the computer to increase / decrease fans speed), but I'd like to do it with the terminal =)

Thank you !

share|improve this question
up vote 3 down vote accepted

Packages like lm-sensors and fancontrol can help you do this safely. 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. (But be careful. You can really fry your hardware!)

It's much easier to just use pwmconfig from the fancontrol package. Run sensors-detect from the lm-sensors package first so that you can see the current temperature and RPM by running watch sensors.

share|improve this answer
i don't have a /device/ folder but i can read the correct values from "temp_input" and "temp_crit" without a problem. Any ideas? – Goddchen May 4 '12 at 8:13
On my thinkpad I have three different hwmonX-folders of which only one contains a pwm-file. – Rovanion Aug 15 '13 at 8:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.