agramian / clevo-fan-control

Linux fan control service for Clevo laptops
7 stars 3 forks source link

Clevo Fan Control on Linux

A service for controlling the fans on Clevo laptops. Fan speed can be set manually to a specific fan duty percentage value or to automatic mode which provides a "silent" profile to override the machine's default fan curve.

Dependencies

The following dependencies must be installed on the machine using the package manager available for your Linux distribution.

Build and Install

To install the service, run the following from a directory where you are comfortable having temporary build files generated.

By default the service will be installed to /usr/local/bin and the .desktop file for autostart to ~/.config/autostart.

cmake -DUSER=<user> -DGROUP=<user group> -DHOME=<home directory path> <path/to/clevo-fan-control>
cmake --build .
sudo cmake --install .

Uninstalling

Use the install_manifest.txt generated when installing to remove the files.

sudo xargs rm < install_manifest.txt

Usage

Automatic mode

/usr/local/bin/clevo-fan-control

Manually setting a fan duty percentage

/usr/local/bin/clevo-fan-control <0-100>

TODO

Credits and Acknowledgements

This project is based on Clevo Fan Control Indicator for Ubuntu.

The fan profiles are based off the ones provided with the Tuxedo Control Center .