Hi,

I like to integrate a post-install script that modifies/adopts configuration variables according to:

   1) powersave version (for updates)
   2) kernel version
   3) machine specific configurations

after installation.

*1) Powersave Version*

This is mainly the stuff already located in the rpm post-install section.
Maybe we can throw out the 0.7->0.8 version update stuff.

*2) Kernel Version*

   - Switch to userspace governor on specific machines for specific kernels
     e.g. speedstep-ich and SMP machines currently do not work with the ondemand
     governor. Check for needed CPU freq module, SMP machine and kernel version
     and set the config variable accordingly.

   - Possibly disable suspend to disk for SMP machines for kernels that we know
     that do not work -> Difficult, people might update the kernel, but not the
     powersave daemon. Still it might be a good idea to prevent data loss. The
     user can still enable it by hand.

*3) Machine Specific Configurations*

   - Possibly add suspend to ram hooks for specific kernels/graphics cards,
     Seife?

   - Add thermal trip point default values exported from BIOS to config files

   - Check for appropriate CPU freq module and add it to CPUFREQD_MODULE=""

   - Check for all ACPI modules that need to be loaded on that machine and add
     them to ACPI_MODULES="" (This also includes the laptop specific ones).
     I'd like to have the loading of ACPI modules at one central place. Were
     there any reasons not to do so? Whatabout hal, it is started after the
     powersaved daemon, but seems to be able to handle the late loading of the
     ACPI modules?

   - Disable throttling for all SMP machines and machines that support C2 and
     higher states (According to Intel throttling consumes more power than doing
     the tasks quickly and then go to C-states in idle).

   - Add a switch_vt hook for ppc on suspend to disk (not sure whether this is
     still necessary for their graphics card drivers).


Probably more will come up, these are the ones I collected so far, any ideas welcome...


   Thomas
_______________________________________________
powersave-devel mailing list
[email protected]
http://forge.novell.com/mailman/listinfo/powersave-devel

Reply via email to