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

Is there a way to totally silence the output? #279

Open
Kabouik opened this issue Dec 23, 2023 · 2 comments
Open

Is there a way to totally silence the output? #279

Kabouik opened this issue Dec 23, 2023 · 2 comments

Comments

@Kabouik
Copy link

Kabouik commented Dec 23, 2023

I am trying to write a script for ryzenadj that will change the TDP by +1W, -1W or directly to the desired TDP value supplied. I got something working, but even when I append 2>/dev/null or >/dev/null 2>&1 to the ryzenadj command, I still get a lot of SMU_SERVICE lines. How do I suppress them?

@tallpeak
Copy link

You might find something interesting in my script https://github.com/tallpeak/AHK/blob/main/GTA/AFKMoney/RyzenAdj.ahk

@Kabouik
Copy link
Author

Kabouik commented Dec 23, 2023

Thanks!

Actually I finally almost succeeded, the SMU_SERVICE were a mistake on my end, they were coming from the line where my script reads the current TDP. Now I only have the success lines that I couldn't silence yet, but the script is working:

demo.mp4

(I also added min and max as compatible keywords after the video.)

It's a stupid script and most of it could be done with just some rather long ryzenadj commands (except incremental changes), but it's here if anyone needs it. For me the benefit was incremental changes, so that I can set two global keybindings to increase or decrease TDP in my WM.

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