Code Monkey home page Code Monkey logo

smcfancontrol's Introduction

The Goal of This Fork

A version of smcFanControl that automatically adjusts the fan speed based on the CPU temperature.

Background

My old MacBook Pro has an overheating problem and for some reason the fans stay at 2000 RPM until the CPU temperature is over 100 Celsius.

This is a quick and dirty fork of the great smcFanController application. Instead of relying on user-defined favorites, it dynamically adjusts the fan speed based on the CPU temperature as follows:

  • 50 C: 3000 RPM
  • 55 C: 3500 RPM
  • 60 C: 4000 RPM
  • 65 C: 4500 RPM
  • 70 C: 5000 RPM
  • 75 C: 5500 RPM
  • 80 C: 6000 RPM

The values can be customized in FanControl.h. The following settings may be easier on the fans.

#define kBaseTemp 70 // The temperature resulting with the lowest RPM
#define kBaseRpm 2000 // The lowest RPM. Warning: This should never be less than 2000.
#define kTempIncrement 5 // How much should the temperature increase before we increase RPM
#define kRpmIncrement 1000 // How much should the RPM be incremented
#define kMaxMultiplier 4 // How many times will the RPM be incremented at maximum

Note: Use only at your own risk.

smcfancontrol's People

Contributors

hholtmann avatar mhalttu avatar chorner avatar vikewoods avatar rfejgin avatar teak avatar

Watchers

 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.