GithubHelp home page GithubHelp logo

sibradzic / stapmlifier Goto Github PK

View Code? Open in Web Editor NEW
33.0 33.0 3.0 63 KB

Customized ACPI method for overriding mobile AMD APU STAPM values

License: GNU General Public License v2.0

Shell 100.00%

stapmlifier's People

Contributors

sibradzic avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

stapmlifier's Issues

No custom_method module in Ubuntu 18.10

I thought I'd point this out since your uProf example used Ubuntu 18.10. The ACPI custom_method module doesn't appear to be present in this distro at all.

EXEC format error

System not running on stock kernel (kernel come by default with their iso) have these problem.

for example: i have upgraded to 4.20 kernel but my stock kernel was 4.15

The command
apt source linux-modules-$(uname -r)
Downloads source of stock kernel not installed kernel.

if you proceed with wrong kernel version there will be an error while performing 'sudo modprobe custom_method'

But it can be solved by downloading the source of your currently installed kernel from kernel.org and performing the steps.

STAPM parameters

I used the helper script to set parameters to 45 PPT-fast 40 PPT-slow and 40 STAPM. And while looking at uProf, SOC wattage never goes above 30 watts. Is this a glitch of is it just a lock on my laptop
OS: Manjaro Deepin @ kernel 4.19
Machine: Lenovo ideapad 330(15arr 2018) Ryzen 2700u

Cannot compile ACPI method on Dell Inspiron 7375

I am trying to run this on an Inspiron 7375 but unfortunately, I can't compile the custom ACPI method due to the following errors:

Compiling custom ACPI method

Intel ACPI Component Architecture
ASL+ Optimizing Compiler/Disassembler version 20180105
Copyright (c) 2000 - 2018 Intel Corporation

stapmlifier.asl      3:   Method (\STPM, 2, Serialized)
Warning  4089 -                      ^ Object is not referenced

stapmlifier.asl     39:     \_SB.ALIB (0x0C, XXAA)
Error    6084 -                    ^ Object does not exist (\_SB.ALIB)

ASL Input:     stapmlifier.asl - 43 lines, 1238 bytes, 13 keywords

Compilation complete. 1 Errors, 1 Warnings, 0 Remarks, 1 Optimizations

I have dumped and attached the DSDT table from my system to aid in debugging the error for other similar systems (probably all Dells).

Edit: Zipped up the raw file instead of the decompiled one. Updated.

dsdt.zip

Manual node question

Is it possible to make the
VER=$(cat /proc/AMDPowerProfiler/device) && sudo mknod /dev/AMDPowerProfiler -m 666 c $VER 0 command persistent? I'd like for AMD uProf to not make me execute it on every reboot just to see power usage

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.