Giter Club home page Giter Club logo

simpfand's Introduction

Simpfand

Simple ThinkPad fan control daemon.

Prequesite

The option "fan_control=1" needs to be enabled for the module: thinkpad_acpi

Example:

# echo options thinkpad_acpi fan_control=1 > /etc/modprobe.d/thinkpad_fan.conf

Install

On Arch Linux: AUR

Also installs a systemd service file and a restart on resume script.

Otherwise:

# make install

Usage

Simpfand is not a true daemon. It needs a manager like systemd. A systemd service is provided. The Makefile as is will not install any systemd scripts.

# systemctl enable simpfand
# systemctl start simpfand

Note: As of version 4.2, temperature hysteresis is implemented thanks to MarcusMoeller. Without his testing and suggestions, this would not exist. The default config has been setup as such now:

default settings (temps and fan levels):

          0 --> BASE  --> 65 --> INC_L --> 75 --> INC_H --> 85 --> INC_M
BASE <-- 55 <-- DEC_L <-- 65 <-- DEC_H <-- 75 <-- DEC_M <--

Where:
    INC_LOW_TEMP = 65
    INC_HIGH_TEMP = 75
    INC_MAX_TEMP = 85

    DEC_LOW_TEMP = 55
    DEC_HIGH_TEMP = 65
    DEC_MAX_TEMP = 75

translates into:

      55 --> 1 --> 65 --> 2 --> 75 --> 4 --> 85 --> 6
1 <-- 55 <-- 2 <-- 65 <-- 4 <-- 75 <-- 6 <--

Author

Hong Shick Pak [email protected]

License

MIT

simpfand's People

Contributors

hspak avatar stefannyman avatar warrenguy 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.