Giter VIP home page Giter VIP logo

clevo-fan-control's Introduction

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.

  • GCC
  • CMake
  • AppIndicator3
  • GTK+3

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

  • Provide necessary files or instructions for autostarting
  • Update notification with CPU temp and Fan duty
  • Add additional .desktop file for normal access
  • Add icon for .desktop file and update tray icon
  • Convert to or also support KStatusNotifierItem (KSNI)
  • Port from C to C++
  • Provide multiple fan profiles
  • Support custom fan curves via an input file
  • Implement use of Meson, Bazel or possible other build/dependency management system
  • Build AppImage for cross-distribution support

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 .

clevo-fan-control's People

Contributors

agramian avatar warrenc5 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

clevo-fan-control's Issues

/usr/bin/ld: CMakeFiles/clevo-fan-control.dir/src/main.c.o: undefined reference to symbol 'round@@GLIBC_2.2.5'

please assist - I'm a little familiar with make.

clevo-fan-control on  main via △
❯ cmake --build .
[ 50%] Linking C executable clevo-fan-control
/usr/bin/ld: CMakeFiles/clevo-fan-control.dir/src/main.c.o: undefined reference to symbol 'round@@GLIBC_2.2.5'
/usr/bin/ld: /lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/clevo-fan-control.dir/build.make:97: clevo-fan-control] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/clevo-fan-control.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2

ii libc6:amd64 2.35-0ubuntu3.4 amd64 GNU C Library: Shared libraries

ec_sys module and linux debug kernels.

Thanks this util works great on my mint clevo P960RD
but not on my PD70PNP-1 running debian because it doesn't have the ec-sys module.

After reading https://bugzilla.redhat.com/show_bug.cgi?id=1943318

I am installing linux-image-6.5.0-5-amd64-dbg and switching to the debug kernel to try to get this running.

Hope this helps others in the same/similar predicament

I humbly ask the author to consider writing a proper dkms based kernel module for the clevo.

KCM Fancontrol Intregration

Hi there,

the automatic mode is great and much better than the default profile.

Is there any chance to integrate this fancontrol into kcm fancontrol?

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.