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

Any notification on screen after running script successfully? #2

Open
bigorbi opened this issue Feb 26, 2023 · 1 comment
Open

Any notification on screen after running script successfully? #2

bigorbi opened this issue Feb 26, 2023 · 1 comment

Comments

@bigorbi
Copy link

bigorbi commented Feb 26, 2023

Hi,
I want to ask if is there any notification on screen after running the script successfully? What I did was ;
sudo modprobe acpi_call
after that i ran ;
sudo ./utils.sh
I got a message "acpi_call_loaded"
after that i ran
sudo ./utils.sh -p 1
I got again "acpi_call_loaded" message. Does it mean changes applied successfully or it supposed to give me another message on the screen? I tried with other flags also but I keep getting only "acpi_call_loaded" message.

@loganrmo
Copy link
Owner

loganrmo commented Mar 7, 2023

Hey, I wrote this a couple of years ago as a quick script for myself, so while it works it isn't very verbose. It won't give you a message when the changes are applied successfully, I'll look into adding that at some point. For the time being, you can check the performance mode after running the script:

To get the STMD value:
echo '\_SB.PCI0.LPC0.EC0.STMD' > /proc/acpi/call
cat /proc/acpi/call; printf '\n'

To get the QTMD value:
echo '\_SB.PCI0.LPC0.EC0.QTMD' > /proc/acpi/call
cat /proc/acpi/call; printf '\n'

And depending on the result you can use this table to figure out what settings you have:

STMD QTMD Mode
0x0 0x0 Extreme Performance
0x0 0x1 Battery Saving
0x1 0x0 Intelligent Cooling

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