Skip to content

Monitor the temperature of a Thinkpad and adjust the fan if needed

Notifications You must be signed in to change notification settings

theothertom/thinkpad-temp_mon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

thinkpad-temp_mon

Monitor the temperature of a Thinkpad and adjust the fan if needed

Install

  1. Copy temp_mon.sh to /usr/local/bin
  2. Make /usr/local/bin/temp_mon.sh executable (chmod +x)_
  3. Copy temp_mon.cron to /etc/cron.d/temp_mon

Put the following lines in /etc/rc.local

rmmod thinkpad_acpi
modprobe thinkpad_acpi fan_control=1

Test

You should be able to test by doing something like

watch cat /proc/acpi/ibm/thermal

and in another terminal

yes > /dev/null &
yes > /dev/null &
yes > /dev/null &
yes > /dev/null &

The script should run every five mins, and set the fan faster if the CPU temparature is over 80C

About

Monitor the temperature of a Thinkpad and adjust the fan if needed

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages