summaryrefslogtreecommitdiff
path: root/pm/sleep.d/Makefile.am
AgeCommit message (Collapse)AuthorFilesLines
2010-02-15Small fix for 309fba58adaf8c57df6cb91411c81eae336e82dcMichael Biebl1-1/+1
2009-11-30Oops, forgot up update Makefile.amVictor Lowther1-2/+1
2009-04-03Move chvt handling into 99videoVictor Lowther1-1/+0
This prepares for adding kernel modesetting support.
2008-12-05Do not try to make removed hookspm-utils-1.2.3Victor Lowther1-2/+0
2008-11-28Don't try to build 55battery anymoreVictor Lowther1-1/+0
2008-09-09Automagically grab quirks from HALVictor Lowther1-0/+1
To use this functionality, run pm(suspend|hibernate|suspend-hybrid) with --auto-quirks.
2008-07-05Make some changes to core functionality to support pm-powersaveVictor Lowther1-0/+1
This consists of core features extracted from the powersave-hooks branch, and does the following: * Refactor some settings in pm-functions to make it easier to support seperate settings for pm-action and pm-powersave. Other than sharing a mechanism for running hooks and being able to use certian utility functions, they do not have much in common w.r.t settings and lifecycle rules for those settings. * Move take_suspend_lock from pm-functions to pm-action. pm-powersave uses a simpler scheme, and there is not enough code sharing to justify having it in pm-functions. * Add a bit of code to pm-functions to figure out what chassis type we are running on. * Add a 00powersave hook that turns powersaving off across a suspend/resume. Things like laptop-mode in particular have been known to cause issues in some situations. * Make pm-powersave log to a real logfile and try to guess at the appropriate powersave mode if called with no arguments.
2008-05-18update Makefile.am to reflect hook name changes,Victor Lowther1-4/+5
2008-05-16Split smart kernel video driver handling to a different hook.Victor Lowther1-0/+1
The new 98-smart-kernel-video hook just disables 99video outright if we are running a video driver that is spart enough to handle its own quirks.
2008-03-20Modify 94cpufreq to use savestate/restorestate more efficientlyVictor Lowther1-1/+1
2008-03-01arrgh -- forgot to remove 20video from Makefile.amVictor Lowther1-1/+0
2008-02-07Simplify hook implementation.Victor Lowther1-2/+1
modified: pm/HOWTO.hooks modified: pm/functions.in modified: pm/sleep.d/Makefile.am deleted: pm/sleep.d/zzz * Merge the functionality of find_hooks and run_hooks. This results in a new run_hooks function which is much simpler than the old one and is much more resistant to breaking due to odd filenames. * Actually implements the functionality mentioned in README where you can create a nonexecutable file in /etc/pm/(sleep|power).d that will prevent the copy in /usr/lib/pm-utils/(sleep|power).d from running. * Undoes the "nonzero exit code means do not run on resume" and auto-reverse pseudofeatures I added in the POSIX series. If anyone likes them, they can be added back at the cost of either passing a function to run_hooks or maintaining a global variable. * Merges the functionality that was in zzz back into pm_main. Although zzz was a slightly funny name, upon further reflection it was a bad idea and makes it harder to implement some partitioning of functionality that will be needed if/when the hooks are split into their own project. * Updates the documentation to reflect these changes.
2008-01-28Modify the hook-running infrastructure to be generic and to beVictor Lowther1-1/+2
POSIX-compliant. Modified pm_main to use the new hook-running infrastructure.
2008-01-28remove sysfont wrapper call. no other distro from fedora uses itVictor Lowther1-1/+0
On Jan 28, 2008 11:31 AM, Dan Nicholson <dbn.lists@gmail.com> wrote: > On Jan 27, 2008 9:42 PM, Vasiliy G Tolstov <v.tolstov@selfip.ru> wrote: > > Gentoo does not have this utilities. Default gentoo init script that > > setting console font executes /bin/setfont > > That's because setsysfont is a Fedora specific wrapper script around > setfont in their initscripts package. > > http://cvs.fedoraproject.org/repo/pkgs/initscripts/initscripts-8.60.tar.bz2/a0e888cc91ef6350a991985567d21366/initscripts-8.60.tar.bz2 In that case... Patch attached to remove 60sysfont. setsysfont is Fedora-specific, and other distros do not use it.
2008-01-26rename hooks into sleep.d -- this is something we have wanted toRichard Hughes1-0/+25
do for a long time, but CVS made it hard