Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Values for Sultan's CPU Input Boost driver #85

Closed
EyeCantCU opened this issue Jan 13, 2017 · 4 comments
Closed

Values for Sultan's CPU Input Boost driver #85

EyeCantCU opened this issue Jan 13, 2017 · 4 comments

Comments

@EyeCantCU
Copy link

Hi!

I had noticed that you had said that you would add features were we able to provide the sysfs paths for things and what their intention is. Sultan's CPU input boost driver is better than CAFs implementation in my experience and it would be awesome were you to add native support for it in your app

Here are the values:

/sys/kernel/cpu_input_boost/enabled (export 1 to enable the driver, 0 to disable it)
/sys/kernel/cpu_input_boost/ib_freqs (you choose two frequencies, one acts as the initial boosting frequency and the other is used later so for instance on an msm8974pro device, Sultan has it set to 1190400 and 1497600)
/sys/kernel/cpu_input_boost/ib_duration_ms (you choose the input boost duration in milliseconds)

That is all.

Just a suggestion, but maybe in the future we could manage sysfs stuffs from KA just like in EX kernel manager? Then there wouldn't have to be so many feature requests... Though native support is good

@JoeSchubert
Copy link
Owner

Do you happen to know the min/max values for /sys/kernel/cpu_input_boost/ib_duration_ms ?

@EyeCantCU
Copy link
Author

3000 appears to be the max, and 0 is the min. It increases by intervals of 100. Any more information you need by chance?

@JoeSchubert
Copy link
Owner

No, that should be it. Thanks. I'll try to add it in here shortly.

@EyeCantCU
Copy link
Author

Awesome! Thanks for giving it a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants