Coder Social home page Coder Social logo

oyhel / thinkpad_acpi.2ndfan.patch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from civic9/thinkpad_acpi.2ndfan.patch

1.0 1.0 0.0 97 KB

Thinkpad ACPI 2nd fan control Linux kernel patch

License: GNU General Public License v2.0

Shell 100.00%

thinkpad_acpi.2ndfan.patch's Introduction

Thinkpad ACPI 2nd fan control patch

Forked from: https://github.com/civic9/thinkpad_acpi.2ndfan.patch
Updated with patch from github user: lhofhansl
Based on patches found in discussion: vmatare/thinkfan#58
Credits where credits are due: civic9#4

Patch for vanilla Linux kernel 5.4.28, 5.5.13 (tested) to enable 1nd and 2nd fan as a single unit.

2nd fan control is enabled for these models (bios version prefix):

  • Thinkpad P50 (N1E)
  • Thinkpad P51 (N1U)
  • Thinkpad P52 (N2C)
  • Thinkpad P70 (N1D)
  • Thinkpad P71 (N1T)
  • Thinkpad P72 (N2C)
  • Thinkpad P1 1st gen (N2E)
  • Thinkpad X1 Extreme 1st gen (N2E)
  • Thinkpad P1 2nd gen (N2O)
  • Thinkpad X1 Extreme 2nd gen (N2O)

You can add other models/prefixes in fan_quirk_table. Let me know if you know another thinkpad model with 2nd fan which should be separately controlled, so I can add it to the list.

Patch in the file thinkpad_acpi.2ndfan.patch.

build_install.sh is a helper script for Arch Linux to download the kernel sources, patch it, make and install module. Don't use without inspecting it and understanding what it does. The script probably won't be working on another distro.

The patch works with default thinkfan settings: fan control in /proc/acpi/ibm/fan. temperature inputs in /proc/acpi/ibm/thermal.

thinkpad_acpi.2ndfan.patch's People

Contributors

civic9 avatar haarp avatar oyhel avatar

Stargazers

 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.