Giter Site home page Giter Site logo

fanslow-probook430g2's Introduction

Better fan control for HP ProBook 430 G2.

On my HP ProBook 430 G2 laptop running Debian or Arch Linux, the fan is much too zealous to my taste, running quite fast even when there's nearly no load on the system. These scripts take control of the fan and apply a more moderate policy. On my laptop this works better than the original fan control software, meaning that the fan runs much less, but your mileage may vary. And of course, it's nobody's fault if you wreck your hardware!

The core scripts probook_ec and fanslow are taken from https://github.com/k3mpaxl/fanspeed with no or only minimal modifications. Further information on the original scripts can be found at http://ubuntuforums.org/showthread.php?t=2008756.

Overview of the components

The probook_ec script is used to change several hardware settings of a laptop. Useful things you can do with it include switching the fan off and resetting the embedded controller (I guess that means something like returning control of the fan to the firmware):

# probook_ec FANOFF
# probook_ec FANRST

The fanslow script monitors the temperature and sets the fan speed as needed.

The fanslow.service file is a systemd service unit file used for autostarting and running the fanslow script as a background daemon.

Installation

On Arch Linux, you can install from the AUR: https://aur.archlinux.org/packages/fanslow-probook430g2/

On other distributions, use the Makefile for installation and removal. If you are picky about your installation paths (like /usr/ vs. /usr/local/) you should probably adapt the Makefile as well as the fanslow and fanslow.service files prior to installation.

# make install
# systemctl enable fanslow
# systemctl start fanslow

# systemctl stop fanslow
# systemctl disable fanslow
# make uninstall

You can watch the script working with the usual systemd tools:

# systemctl status fanslow
# journalctl -u fanslow

fanslow-probook430g2's People

Contributors

k3mpaxl avatar marhop avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

fanslow-probook430g2's Issues

Improve documentation regarding precise fan control (and other suggestions)

Big thanks for this repo. However, I'd like for information to be more accessible regarding how to do precise fan control.

For anyone curious, follow along. To set manual fan speed, you do the following:

  1. Install probook_ec script
  2. Then the speed that you want to set the fan on should be: # probook_ec := 0x2f 0xff minus your_speed (in hex)

Also one other interesting idea is to contribute this to https://github.com/hirschmann/nbfc instead, as it holds a large database of existing laptops that support manual fan control.

Anyways, you don't have to do any of these, but I'd like for this to be more streamlined and accessible.

Again, big thanks for this.

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.