Hi,
I'm just looking over the 94cpufreq hook which sets the userspace governor
immediately before suspend. I think this was needed because of dead locks
of the ondemand governor in the past, right?
Wouldn't it be better to set the performance governor then? Because if
frequency is low and you set the userspace governor, frequency will keep
to be low if you have no userspace daemon caring about.
Anyway, setting the performance governor would be a good idea in any case
because of compression and stuff we will have in the near future.
Patch attached.
Regards,
Holger
Index: pm/hooks/94cpufreq
===================================================================
RCS file: /cvs/pm-utils/pm-utils/pm/hooks/94cpufreq,v
retrieving revision 1.1
diff -u -r1.1 94cpufreq
--- pm/hooks/94cpufreq 13 Jun 2006 21:11:03 -0000 1.1
+++ pm/hooks/94cpufreq 6 Oct 2006 16:08:27 -0000
@@ -11,7 +11,7 @@
[ -f $x/cpufreq/scaling_governor ] || continue
savestate ${x}_governor $(cat $x/cpufreq/scaling_governor)
- sh -c "echo userspace > $x/cpufreq/scaling_governor" >/dev/null 2>&1
+ sh -c "echo performance > $x/cpufreq/scaling_governor" >/dev/null 2>&1
done
popd >/dev/null 2>&1
}
_______________________________________________
Pm-utils mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pm-utils