• Stars
    star
    119
  • Rank 296,800 (Top 6 %)
  • Language
    C
  • License
    GNU General Publi...
  • Created over 12 years ago
  • Updated about 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

App for managing fan speeds on ThinkPad laptops on Linux

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.

However there are couple of forks in the wild.

ForgedTurbo's fork handles changes that happened since I initially wrote this script. I recommend you to check it out and give it a try.

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

More Repositories

1

react-animate-height

Lightweight React component for animating height using CSS transitions. Slide up/down the element, and animate it to any specific height.
TypeScript
754
star
2

react-plx

React parallax component, powerful and lightweight
TypeScript
686
star
3

skyblue

CSS framework (made with SASS)
HTML
453
star
4

html-canvas-video-player

Play inline videos on iPhone with HTML canvas player.
JavaScript
426
star
5

animated-scroll-to

Lightweight scroll to function with a powerful API.
TypeScript
381
star
6

webpack-babel-react-revisited

Example repo for webpack/babel/react tutorial - https://stanko.github.io/webpack-babel-react-revisited
JavaScript
94
star
7

mobile-chrome-vh-fix

HTML
75
star
8

react-slider

Simple react slider, with touch support and 0 dependencies
JavaScript
65
star
9

react-image-filter

Lightweight React component, for applying color filters on images, works in all modern browsers plus IE10+ and Edge.
JavaScript
57
star
10

retro-frame

JavaScript
42
star
11

sektor

JavaScript library for creating SVG circle sectors and arcs
JavaScript
41
star
12

neon

Generative art piece made using 2d vector field
JavaScript
37
star
13

offset-polygon

Small, no dependency library for offsetting polygons.
TypeScript
32
star
14

rocketScroll

Pure small JavaScript scroll bar script. Support native mouse wheel scroll. Easy customizable css. Works even in IE8+.
JavaScript
32
star
15

awesome-web-development

List of useful articles and libraries for web development (basically links from our company slack dev channel)
32
star
16

react-window-decorators

Two decorators (higher order components) that inject "window" scroll position, dimensions, orientation and breakpoint to your component's props.
JavaScript
32
star
17

window-scroll-manager

60fps window scroll tracking event
JavaScript
31
star
18

vertigo

A tool that transforms raster images into vectors using two distinct shaders - circular dot grid and variable-width spiral.
TypeScript
31
star
19

aria-progress-range-slider

Fully accessible, lightweight progress bar / range slider component
TypeScript
23
star
20

keen

My personal, minimal setup for building and releasing npm packages
TypeScript
15
star
21

linea

JavaScript vector 3D engine
Go
14
star
22

react-ratio

React aspect ratio component
JavaScript
14
star
23

jquery.rainbowJSON

JSON pretty print, jquery plugin
JavaScript
10
star
24

react-tutorial

JavaScript
8
star
25

Stanko.github.io

My personal blog
SCSS
8
star
26

has-tabbed

Small helper for enabling nicer focus behaviour
HTML
5
star
27

timePicker

Plain JavaScript time picker.
JavaScript
4
star
28

rocketPageFlip

jQuery lib for page turning effect
CSS
4
star
29

react-window

React components that simplify the management of window and body event listeners.
TypeScript
4
star
30

letters-from-sarajevo

Adaptation of the book "Letters From Sarajevo" for web
HTML
4
star
31

generative-swirls

JavaScript
4
star
32

pulsar

Micro creative coding playground
TypeScript
4
star
33

generative-utils

TypeScript
3
star
34

ui-colors-from-an-image

TypeScript
3
star
35

generative-breathe

JavaScript
3
star
36

cca

Create Coding Amsterdam
3
star
37

jquery.responsiveFonts

JQuery plugin which makes fonts responsive
HTML
2
star
38

tailor

A developer tool which tries to simplify inspecting spacings on websites
TypeScript
2
star
39

weekly-code-challenge

JavaScript
1
star
40

slice-pixelate-image

JavaScript
1
star
41

LittleWing

Fullscreen backgrounds jQuery plugin
JavaScript
1
star
42

redux-spark

(Deprecated) Helps significantly reduce amount of boilerplate code when using Redux and Redux Saga
TypeScript
1
star
43

generative-init

JavaScript
1
star
44

cube-3D-rotate-grid

JavaScript
1
star