Found two minor issues. One in do_acpi_sleep where the path to deallocvt is /usr/bin in Debian (simply removed the path) and the more important one in the init script: CPUFREQ_MODULES and CPUFREQ_MODULES_GREP contain acpi, whereas it should be acpi_cpufreq nowadays (I don't know if it was called acpi in older kernels). The problem is, that if you e.g. have the acpi_sbs (soundblaster) module loaded, the cpufreq module is assumed to already be loaded and the correct module is not loaded. Patch for both bugs is attached.
Cheers, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
Index: scripts/do_acpi_sleep =================================================================== --- scripts/do_acpi_sleep (Revision 1977) +++ scripts/do_acpi_sleep (Arbeitskopie) @@ -43,7 +43,7 @@ OPT="--hctosys" # blank the "suspend console" -/bin/deallocvt 63 +deallocvt 63 # save the old loglevel read LOGLEVEL DUMMY < /proc/sys/kernel/printk Index: scripts/rcpowersaved.redhat =================================================================== --- scripts/rcpowersaved.redhat (Revision 1977) +++ scripts/rcpowersaved.redhat (Arbeitskopie) @@ -157,8 +157,8 @@ # rc_status -s fi - CPUFREQ_MODULES="speedstep_centrino powernow_k8 powernow_k7 powernow_k6 longrun longhaul acpi speedstep_ich" - CPUFREQ_MODULES_GREP="^speedstep_centrino\|^speedstep_ich\|^powernow_k8\|^powernow_k7\|^powernow_k6\|^longrun\|^longhaul\|^acpi" + CPUFREQ_MODULES="speedstep_centrino powernow_k8 powernow_k7 powernow_k6 longrun longhaul acpi_cpufreq speedstep_ich" + CPUFREQ_MODULES_GREP="^speedstep_centrino\|^speedstep_ich\|^powernow_k8\|^powernow_k7\|^powernow_k6\|^longrun\|^longhaul\|^acpi_cpufreq" ###### load CPUFREQ modules############ # module specfied in sysconfig.cpufreq? Index: scripts/rcpowersaved.in =================================================================== --- scripts/rcpowersaved.in (Revision 1977) +++ scripts/rcpowersaved.in (Arbeitskopie) @@ -205,8 +205,8 @@ echo -n "This machine supports APM " fi - CPUFREQ_MODULES="speedstep_centrino powernow_k8 powernow_k7 powernow_k6 longrun acpi speedstep_ich" - CPUFREQ_MODULES_GREP="^speedstep_centrino\|^speedstep_ich\|^powernow_k8\|^powernow_k7\|^powernow_k6\|^longrun\|^longhaul\|^acpi" + CPUFREQ_MODULES="speedstep_centrino powernow_k8 powernow_k7 powernow_k6 longrun acpi_cpufreq speedstep_ich" + CPUFREQ_MODULES_GREP="^speedstep_centrino\|^speedstep_ich\|^powernow_k8\|^powernow_k7\|^powernow_k6\|^longrun\|^longhaul\|^acpi_cpufreq" ###### load CPUFREQ modules############ # module specfied in sysconfig.cpufreq?
signature.asc
Description: OpenPGP digital signature
_______________________________________________ powersave-devel mailing list [email protected] http://forge.novell.com/mailman/listinfo/powersave-devel
