how to forbid the slowest cpu frequency

my pb :

if the cpu power management uses “ondemand” governor and “on demand” governor uses the slowest cpu frequency 1 GHz then the pc freeze

when opensuse boots cpu power management must at boot use 1.8 GHz as the slowest cpu frequency

if not during boot or when kdm template is displayed or after a while just afrer opening kde session
then
pc freezes

with my mandriva 2010.1 i use laptopmode tools to set the slowest cpu frequency to 1.8 GHZ
but
with opensuse it does not work

i tried to put in boot.local , before.local , afer.local files these statements

echo 1800000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 1800000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq

result : 1/5 time pc boots without freeze

i check in this case in scaling_min_freq file there is 1800000

where is the pb ?
is there anyone who knows how to well use .local files ?
in what .local file to put the statements ?

thanks

On 2013-12-30 09:46, promeneur wrote:

> i tried to put in boot.local , before.local , afer.local files these
> statements

I’m not sure that all those files are supported :-?

I would try creating a different file from each one to see if they run. Or use “logger” to dump a
statement to syslog and see how early they run.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” (Elessar))