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

tuned should track firmware initiated changes to the platform_profiles #710

Open
ocrete opened this issue Nov 19, 2024 · 2 comments
Open

Comments

@ocrete
Copy link

ocrete commented Nov 19, 2024

On my ThinkPad X1 Carbon, when I press Fn-L/M/H, the firmware changes the profile profile, and this is reflected in /sys/firmware/acpi/platform_profile. The old power-profiles-daemon would monitor this file and update its state based on it. It seems this is missing from tuned.

@zacikpa
Copy link
Contributor

zacikpa commented Nov 20, 2024

Good catch! If the monitoring of the file is to be added to tuned-ppd, we should discuss how exactly tuned-ppd will react. I believe the only sensible solution is to switch the rest of the profile as well. In other words, the keyboard shortcuts will serve as an alternative way to switch between PPD profiles. If I understand correctly, this is what power-profiles-daemon does, too.

@yarda, thoughts?

@ocrete
Copy link
Author

ocrete commented Nov 20, 2024

As a user, I think that this would be the expected behaviour. Changing the profile through the keyboard shortcut should just change the whole tuned profile.

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

No branches or pull requests

2 participants