Giter VIP home page Giter VIP logo

Comments (8)

JoeSchubert avatar JoeSchubert commented on July 30, 2024

All of these links are now going to 404's.

Not sure if this is still a valid issue.

However, I haven't seen any kernels that actually have these current values as a tunable. So yes, they're there... however they are not modifiable from user-space.

from kernel_adiutor.

fgl27 avatar fgl27 commented on July 30, 2024

I know those repo are old I rename things...

the path is 444 but can be easily change
fgl27/BHB27Kernel@0e332d0#diff-9441bc95586fefeea51df68d02f50e53R257

I had no time to go try change this files, by the way the file output is seems really hard to make KA change it, but I will try then I up here...

Fix the links of first post, just for future reference...

from kernel_adiutor.

JoeSchubert avatar JoeSchubert commented on July 30, 2024

Do you have the contents of that sysfs node?

from kernel_adiutor.

fgl27 avatar fgl27 commented on July 30, 2024

current_in_state file? if not let me know...

the one from my device is

https://github.com/bhb27/KernelAdiutor/blob/json/current_in_state

from kernel_adiutor.

JoeSchubert avatar JoeSchubert commented on July 30, 2024

Yeah, but that looks to be something in your source... Not what is actually being read from the sysfs node you referenced. Or is it?

Also. What you're posting (and what google added) is simple an estimated current draw poker freq for the cpu... Which really, isn't very useful since it's not coming from the regulators, it's just calculating the time in state vs the current for that state listed in the dtsi.

Their commits don't also for userspace control

from kernel_adiutor.

fgl27 avatar fgl27 commented on July 30, 2024

https://github.com/bhb27/KernelAdiutor/blob/json/current_in_state
this files above is from my device of path below
sys/devices/system/cpu/cpufreq/current_in_state

from kernel_adiutor.

JoeSchubert avatar JoeSchubert commented on July 30, 2024

Yeah, I don't think you're getting my point. Those aren't modifiable values. Can you change them by hand?

from kernel_adiutor.

fgl27 avatar fgl27 commented on July 30, 2024

I can set to 777 but can't change a number inside, no root app I have can save the file...

I understand what you are writing.

The thing is some thing don't make much sense to me (maybe because for my lack of experience with this), way have a value of current in micro ampere (for it freq of it core) exported if that is not intended for some kind of use. I grep for "current_in_state" doesn't have one single file on the devices that uses it in all of lib's and bin etc... of all Motorola devices from CM repo vendor folder or my local stock ROM of my device none give me a answer for the greep, and some of those devices have that commit in Motorola Repo, that file never change it state the number inside are always the same, I don really see a use for it, I thought it was just like the voltage table a output file that can be change and will limited max current. I know that those voltage table are not default they don't come from stock kernel but they have similarity...

The voltage table is other thing I don't get if I read the file what is on the file and what KA "echo" when it make a change are not the same, if I change by hand the device crash and reboot.

That is way I start this, just because I can't change it by hand does not mean that have no other way, the voltage table is one example...

from kernel_adiutor.

Related Issues (20)

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.