Coder Social home page Coder Social logo

micahstevens / thinkpad-fan-control Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stanko/thinkpad-fan-control

0.0 2.0 0.0 134 KB

App for managing fan speeds on ThinkPad laptops on Linux

License: GNU General Public License v2.0

Makefile 2.04% C 90.41% Shell 7.55%

thinkpad-fan-control's Introduction

ThinkPad Fan Control

Version 0.5

Unfortunately this project is NOT in the active development

I don't own a ThinkPad laptop for years now, and I don't plan to continue development on this. Feel free to check forks fine people made or issue a pull request. Thank you for your understanding.

INTRODUCTION

This is program for controlling fans speed on IBM/Lenovo ThinkPads. It is written for Linux only. This program is written in C, using GTK GUI.

You are required to have the Linux kernel with 'thinkpad-acpi' patch. You must also enable manual control for your fans. For Linux 2.6.22 and above, you must add 'fan_control=1' as a module parameter to 'thinkpad-acpi'. For example, in Debian Lenny (and Ubuntu 8.04), you must add the following to "/etc/modprobe.d/options": options thinkpad_acpi fan_control=1 In Ubuntu 9.10 you need to add this line to file "/etc/modprobe.d/alsa-base.conf"

Having done so, reboot. Now you'll be able to use this program easily.

I wrote this for my own personal use, and thought that it would be a good idea to release it to the world, and hope that it will be useful to someone! Feel free to send comments, bug reports or a thanks to the e-mail above.

COMPILATION

You will need GTK development libraries. The Makefile that is available can be used like:

make

There is also a pre-compiled binary available for i386, 32-bit machines.

START-UP

You must run this program as root, because only root can change the speed of fans. I personally recommend using "tpfc_start.sh", which will run ThinkPad Fan Control with gksu under administrator privileges.

I also made "tpfc_start-up.sh", which I added to my GNOME start-up list. Using it will let you run the program when you log on. All you need to do is to change two lines in it, path in which ThinkPad Fan Control is located, and sleep time - the amount of time the script will wait until launching TPFC.

USAGE

The program has two modes - automatic and manual. The manual mode can't be easier to use - just choose the speed and click the "Change speed" button.

The automatic mode is a bit more complicated. There are four options you can change:

  • Sleep time - how often the program will check for the CPUtemperature (default - 120s).
  • Critical temperature - the program will speed up the fans when this temperature is reached (default - 55C).
  • Safe temperature - the program will switch the fans to normal when the temperature is lower than this (default - 50C)
  • Fan level speed - the speed of fans when the CPU reaches the critical temperature (default - 7).

If you would like to customise these options, just click the "Change options button"

I hope you enjoy using this :) :D

thinkpad-fan-control's People

Watchers

James Cloos avatar Micah Stevens avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.