GithubHelp home page GithubHelp logo

jebaitedneko / acer-nitro-5-an515-58-ec-control-linux Goto Github PK

View Code? Open in Web Editor NEW
10.0 2.0 5.0 13 KB

Implementation of basic EC registers that NitroSense Modifies, as a Bash Script

Shell 100.00%

acer-nitro-5-an515-58-ec-control-linux's Introduction

Acer-Nitro-5-AN515-58-EC-Control-Linux

Implementation of basic EC registers that NitroSense Modifies, as a Bash Script

The script also restores Keyboard RGB Profile set in Windows

Along with setting PL1 and PL2 limits via MSR and MCHBAR

Requirements

Kernel Commandline (/etc/default/grub)

ec_sys.write_support=1 msr.allow_writes=on

ec_sys present in your kernel modules or at ~

Find it on your current kernel with

find /lib/modules -type f -iname "*ec_sys.ko*"

Usage

To show available switches

sudo bash nitrosense

Available Switches

ENA: [w]rite to ec
PWR: [q]uiet [d]efault [p]erformance
FAN: [a]uto  [c]ustom  [m]ax
DBG: [r]ead from ec
DBG: [e]nergy data from intel_rapl
DBG: [n]vidia-powerd restart

Example: Default Power with Auto Fan

sudo bash nitrosense da

Example: Performance Power with Max Fan

sudo bash nitrosense pm

Example: Performance Power with Custom Fan at 50%

sudo bash nitrosense pc 50

Notes

The script also sets a default PL1 and PL2 limit of 75w

Along with PL1 and PL2 Timing of 1 minute

To dump current EC registers

sudo bash nitrosense x

acer-nitro-5-an515-58-ec-control-linux's People

Contributors

jebaitedneko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

acer-nitro-5-an515-58-ec-control-linux's Issues

Help me

I am new to linux. Can you show me instruction to install this? Thankyou

rgb backlight

really loved your work. appreciate it.
what do you generally do about the rgb backlight in keyboard. is it possible to make it modifiable just like nitrosense.
in fact when i run your nitrosense i am unable to turn on the rgb backlight at all.

thanks in advance

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.