Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#31505 - [cpupower] setting freq= does not work

Attached to Project: Community Packages
Opened by Artem Sheremet (dot) - Wednesday, 12 September 2012, 01:28 GMT
Last edited by Sébastien Luttringer (seblu) - Saturday, 15 September 2012, 18:47 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sébastien Luttringer (seblu)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

In /usr/lib/systemd/scripts/cpupower, cpupower frequency-set is called with -g, -d, -u and -f combined (if specified).
At the same time, 'cpupower frequency-set --help' says:
The -f FREQ, --freq FREQ parameter cannot be combined with any other parameter.

Additional info:
* package version(s)
cpupower 3.5-5
* config and/or log files etc.
# cpupower frequency-set -g userspace -f 2401000
the -f/--freq parameter cannot be combined with -d/--min, -u/--max or
-g/--governor parameters


Steps to reproduce:
1) edit /etc/conf.d/cpupower
2) set governor='userspace' and any supported freq= for your CPU
3) run rc.d restart cpupower (as root)
4) observe that the script failed
This task depends upon

Closed by  Sébastien Luttringer (seblu)
Saturday, 15 September 2012, 18:47 GMT
Reason for closing:  Not a bug
Comment by Sébastien Luttringer (seblu) - Saturday, 15 September 2012, 18:28 GMT
If you comment "governor=..." line in /etc/conf.d/cpupower and use freq everything works correctly?
Comment by Artem Sheremet (dot) - Saturday, 15 September 2012, 18:33 GMT
Yes, and the governor switches to 'userspace' automatically. May then just worth a note that if using 'freq' other options should be commented out.
Comment by Sébastien Luttringer (seblu) - Saturday, 15 September 2012, 18:47 GMT
Some others options can be used. I will add a note on next update.

Loading...