[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Allow cpufreqd 2.2.1-2 into Etch



Hello,

the reason I'm asking for that is #400580. Basically newer cpufreqd
shipped with a default configuration using the "ondemand" governor which
unfortunatly is now available on every platform (powerpc is affected in
the bug).

The -2 revision of the package simply goes back using only
powersave/performance to avoid regression on upgrades
where e.g. a user that uses the default configuration may see cpufreqd
fail to start because of the config file being overridden.

The diff of the config files is included below (sorry, some reorder of
rules made the diff not very readable wrt to the actual changes).
And:
   # debdiff cpufreqd_2.2.1-1_i386.deb cpufreqd_2.2.1-2_i386.deb
   File lists identical (after any substitutions)
   
   Control files: lines which differ (wdiff format)
   ------------------------------------------------
   Version: [-2.2.1-1-] {+2.2.1-2+}

PS: maybe an urgency bump may be necessary too, the package is now 4
days old in Sid.
-- 
mattia
:wq!


--- cpufreqd.conf	2006-11-16 19:14:59.000000000 +0100
+++ debian/cpufreqd.conf	2006-12-17 17:27:21.630479706 +0100
@@ -1,5 +1,8 @@
 # this is a comment
 # see CPUFREQD.CONF(5) manpage for a complete reference
+#
+# Note: ondemand/conservative Profiles are disabled because
+#       they are not available on many platforms.
 
 [General]
 pidfile=/var/run/cpufreqd.pid
@@ -22,19 +25,19 @@
 #sensors_conf=/some/file
 #[/sensors_plugin]
 
-[Profile]
-name=On Demand High
-minfreq=40%
-maxfreq=100%
-policy=ondemand
-[/Profile]
-
-[Profile]
-name=On Demand Low
-minfreq=20%
-maxfreq=80%
-policy=ondemand
-[/Profile]
+#[Profile]
+#name=On Demand High
+#minfreq=40%
+#maxfreq=100%
+#policy=ondemand
+#[/Profile]
+#
+#[Profile]
+#name=On Demand Low
+#minfreq=20%
+#maxfreq=80%
+#policy=ondemand
+#[/Profile]
 
 [Profile]
 name=Performance High
@@ -53,15 +56,15 @@
 
 [Profile]
 name=Powersave High
-minfreq=70%
-maxfreq=70%
+minfreq=60%
+maxfreq=60%
 policy=powersave
 [/Profile]
 
 [Profile]
 name=Powersave Low
-minfreq=30%
-maxfreq=30%
+minfreq=40%
+maxfreq=40%
 policy=powersave
 [/Profile]
 
@@ -89,13 +92,13 @@
 profile=Performance High
 [/Rule]
  
-# conservative mode when not AC
+# stay in performance mode for the first minutes
 [Rule]
-name=AC Off - Low Battery
+name=AC Off - High Power
 ac=off                   # (on/off)
-battery_interval=0-30
+battery_interval=70-100
 #exec_post=echo 5 > /proc/acpi/sony/brightness
-profile=Powersave Low
+profile=Performance Low
 [/Rule]
 
 # conservative mode when not AC
@@ -103,17 +106,17 @@
 name=AC Off - Medium Battery
 ac=off                   # (on/off)
 battery_interval=30-70
-#exec_post=echo 5 > /proc/acpi/sony/brightness
-profile=On Demand Low
+#exec_post=echo 3 > /proc/acpi/sony/brightness
+profile=Powersave High
 [/Rule]
 
-# stay in performance mode for the first minutes
+# conservative mode when not AC
 [Rule]
-name=AC Off - High Power
+name=AC Off - Low Battery
 ac=off                   # (on/off)
-battery_interval=70-100
-#exec_post=echo 5 > /proc/acpi/sony/brightness
-profile=On Demand High
+battery_interval=0-30
+#exec_post=echo 3 > /proc/acpi/sony/brightness
+profile=Powersave Low
 [/Rule]
 
 ##

Attachment: signature.asc
Description: Digital signature


Reply to: