I don't know if this is helpful but I made the changes below to
/usr/share/powernowd/cpufreq-detect.sh to get powernowd to load the
right module for the newish VIA C7 processor. It should also fix the
'unexpected operator' bug (at $CPU_FAMILY == 6), which has kept the
script from loading the longhaul module.

--- cpufreq-detect-orig.sh      2006-12-19 01:35:34.000000000 +0100
+++ cpufreq-detect.sh   2007-09-11 16:47:18.000000000 +0200
@@ -81,7 +81,11 @@
     ;;
     CentaurHauls*)
     # VIA
-    if [ $CPU_FAMILY == 6 ]; then
+    # If the CPU has the est flag, it supports enhanced powersaver and should
+    # use the e_powersaver driver
+    if [ "`grep est $CPUINFO`" ]; then
+       MODULE=e_powersaver;
+    elif [ $CPU_FAMILY = 6 ]; then
        MODULE=longhaul;
     fi
     ;;

-- 
powersaved initscript errors on Via Nehemiah
https://bugs.launchpad.net/bugs/117446
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to