[cpufreq applet] fixed setting userspace in CPU speed setting (better patch)
Hallo, I've fixed bug with setting freq by user (problems on govs "performance"). I've investigated in cpufreq-set (cpufrequtils) and that apps set govs to "userspace" before setting cpu speed. By: Pavol Klačanský SVN revision: 44653
This commit is contained in:
parent
bb3c3c1af5
commit
2994d25b35
|
@ -418,6 +418,10 @@ _cpufreq_set_frequency(int frequency)
|
|||
e_dialog_show(dia);
|
||||
return;
|
||||
}
|
||||
|
||||
// change it to "userspace"
|
||||
_cpufreq_set_governor("userspace");
|
||||
|
||||
snprintf(buf, sizeof(buf),
|
||||
"%s %s %i", cpufreq_config->set_exe_path, "frequency", frequency);
|
||||
ret = system(buf);
|
||||
|
|
Loading…
Reference in New Issue