Giter Club home page Giter Club logo

gpd-fan-driver's Introduction

GPD devices fan linux kernel driver

Caution

This driver has not been fully tested and reviewed.

It may cause damage to your device. Use at your own risk.

Tested on GPD Win Max 2 2023 (7840U) with 6.8.4-zen1

Should support

  • GPD Win Mini (7840U)
  • GPD Win Mini (8840U)
  • GPD Win Max 2
  • GPD Win Max 2 2023 (7840U)
  • GPD Win Max 2 2024 (8840U)
  • GPD Win 4 (6800U)
  • GPD Win 4 (7840U)

Usage

  • Current fan speed
    $ cat /sys/devices/platform/gpd_fan/hwmon/hwmon*/fan1_input
  • Set fan speed control mode
    # 0: disable (full speed)
    # 1: manual
    # 2: auto
    $ echo 2 | sudo tee /sys/devices/platform/gpd_fan/hwmon/hwmon*/pwm1_enable
  • Set fan speed
    # range: 0-255
    $ echo 127 | sudo tee /sys/devices/platform/gpd_fan/hwmon/hwmon*/pwm1

More about fields in hwmon subsystem, please read https://www.kernel.org/doc/Documentation/hwmon/sysfs-interface .

Install

Datasheet

Credit

Device DMI EC RAM Read (rpm) Write (pwm)
Manufacturer Product Version REG_ADDR REG_DATA Max Auto (=0)
GPD Win Mini GPD G1617-01 0x4E 0x4F 0x0478 0x047A 244 0x047A
GPD Win 4 6800U G1618-04 Default string 0x2E 0x2F 0xC880 0xC311 127 0xC311
GPD Win 4 7840U Ver. 1.0 0x4E 0x4F 0x0218 0x1809 184 0x0275
GPD Win Max 2 6800U G1619-04
GPD Win Max 2 2023 7840U
GPD Win Max 2 2024 8840U

gpd-fan-driver's People

Contributors

cryolitia avatar bm16ton 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.