Coder Social home page Coder Social logo

silent-xps's Introduction

Dell XPS fan control helper tool

Note

New BIOSes are much less agressive than the old ones, so this script is not needed anymore. It works just fine without.

The problem

The BIOS of Dell XPS 9560 frequently forgets to stop the fan when the fan is on lower speed and the CPU is cool enough. This is very annoying, as once the fan turns on, it rarely shuts down. There is a custom fan control daemon called i8k, but it turns off BIOS fan control which is very dangerous and suppors only 2 fan speeds.

How it works

Fortunately the fan immediately stops if "smbios-thermal-ctl --set-thermal-mode=quiet" command is run. But next time the CPU heats up, it starts over again. This tool is supposed to run the command periodically, but only in a given range of temperatures. There are some zones that results in oscillations (smbios-thermal-ctl turns off the fan for a second, and then it turns back on). On even higher temperatures, the command does nothing. So in order to avoid oscillations, we need a bit more sophisticated method than running smbios-thermal-ctl periodically.

Tested for 15 9560.

Installation

Run ./install.sh as root. This will set up the config file, the systemd scripts and the script itself.

You can try editing /etc/silent_xps.json if you run in some oscillation problems.

Requirements

Python 3 for running the script, lm_sensors for reading the temperatures and libsmbios for smbios-thermal-ctl tool.

silent-xps's People

Contributors

robertcsordas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

silent-xps's Issues

Windows port

Can this be done somehow under Windows too? There has to be a way.

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.