hal: add a note about making addons aware of suspend/resume
Holger Macht
hmacht at suse.de
Mon Jun 4 10:30:44 PDT 2007
On Mon 04. Jun - 10:20:57, David Zeuthen wrote:
> doc/TODO | 4 ++++
> 1 files changed, 4 insertions(+)
[...]
> + - Have a mechanism so an addon can do things on system suspend/resume;
> + such as saving/restoring the backlight value (macbook, macbookpro,
> + omap, dell addon's)
[...]
Currently a hook in pm-utils restores the CPU frequency governor after
resume. However, this approach misses the restoring of all 'other' policy
values like the up_threshold, etc. Because of this, policy agents still
have to call into the hald-addon-cpufreq to apply their policy after
resume. So in future versions, as soon as the TODO item is done, wouldn't
it make sense to remove the hook from pm-utils and let hald-addon-cpufreq
care about proper suspend/resume handling to have everything in one place?
Regards,
Holger
More information about the hal
mailing list