pyamsoft / pstate-frequency

Easily control Intel p-state driver on Linux
https://pyamsoft.blogspot.com/
GNU General Public License v2.0
172 stars 19 forks source link

Can't set a frequency #41

Closed Mistrotech closed 1 year ago

Mistrotech commented 1 year ago

When I type "sudo pstate-frequency --set <50%>" into the terminal, it returns "bash: syntax error near unexpected token `newline'." Am I not correctly writing out the code? Perhaps write how to type the code exactly in the README file.

Thanks in advance.

pyamsoft commented 1 year ago

Hi

So there are two things that need to be adjusted

First is, you don't need to include a percentage sign, just 50 is enough.

Second you need to specify what you are setting to 50, the --min or --max CPU frequency

Something like

sudo pstate-frequency --set --max 50