Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 410037

Summary: sys-power/cpufreqd config parser prevents usage of multi-cpu profile support
Product: Gentoo Linux Reporter: Steven Newbury <steve>
Component: [OLD] Core systemAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED WONTFIX    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Invert test for associated profile string

Description Steven Newbury 2012-03-28 17:00:24 UTC
cpufreqd supports using a different profile for each CPU in a given rule in the pseudo code form "profile=CPU%d:%s,cpu_num,profile;", but the config parser has the test for a profile string paired with a CPU number reversed such a valid profile string is rejected.

Reproducible: Always

Steps to Reproduce:
Attempt to use a cpufreqd.conf with a rule containing something like: "profile=CPU0:On Demand High;CPU1:Powersave Low"

Actual Results:  
Parser rejects config file

Expected Results:  
Config should be accepted
Comment 1 Steven Newbury 2012-03-28 17:01:16 UTC
Created attachment 307011 [details, diff]
Invert test for associated profile string
Comment 2 Pacho Ramos gentoo-dev 2014-05-11 08:06:54 UTC
dropped