summaryrefslogtreecommitdiff
path: root/pm
AgeCommit message (Collapse)AuthorFilesLines
2008-03-13Merge branch 'vlowther-dynamic-hook-disable' into vlowther-default-parametersVictor Lowther1-0/+6
2008-03-13Updated HOWTO.modules to mention before_hook.Victor Lowther1-0/+6
Sleep module writers, take note.
2008-03-11Merge branch 'vlowther-dynamic-hook-disable' into vlowther-default-parametersVictor Lowther1-1/+5
2008-03-11Optionally ignore two leading digits in the hook filename in hook_okVictor Lowther1-1/+5
Requested by Michael Biebl.
2008-03-11Merge branch 'vlowther-dynamic-hook-disable' into vlowther-default-parametersVictor Lowther1-22/+32
2008-03-11Updated hooks documentation.Victor Lowther1-22/+32
2008-03-09Added support for passing default parameters.Victor Lowther1-0/+13
We add them in the "$PM_UTILS_ETCDIR/parameters" file, and they are simply appended to the PM_CMDLINE env variable.
2008-03-09Move PM_CMDLINE declaration into pm_functions.in.Victor Lowther1-0/+1
This lays the groundwork for allowing the user to add default parameters to potentially override the ones that HAL passes to us.
2008-03-09Ensure wwe have made $STORAGEDIR before trying to blacklist hooks.Victor Lowther1-0/+1
2008-03-09Fixed stupid typo in disablehook.Victor Lowther1-1/+1
2008-03-09Really really make reading the default blacklist work.Victor Lowther1-1/+1
2008-03-09Actually source the correct blacklist file.Victor Lowther1-1/+1
2008-03-07Moved the "Running hook" diagnostic message in run_hooks.Victor Lowther1-1/+2
2008-03-07Merge branch 'master' into vlowther-dynamic-hook-disableVictor Lowther1-3/+1
2008-03-07Fix a quirk parsing in 99video.Michael Biebl1-3/+1
- We no longer use $@, so replace $1 with $opt and remove shift - Remove an unnecessary check.
2008-03-06Merge branch 'master' into vlowther-dynamic-hook-disableVictor Lowther6-105/+114
2008-03-06uswsusp disables 99video hook now.Victor Lowther1-0/+6
2008-03-06Change the default blacklist location to PM_SYSCONFDIR.Victor Lowther1-2/+4
Also add before_hooks support to run_hooks.
2008-03-06Revert "Even shorter quirk environment variable names."Victor Lowther1-23/+23
This reverts commit 6d877fe5e1439496b20365e6877916ab3c7446f2. Requested by Michael Biebl. Does not affect functionality.
2008-03-06Merge branch 'master' into vlowther-hook-option-processingVictor Lowther1-5/+10
2008-03-06Merge branch 'vlowther-video-merge'Victor Lowther4-93/+58
2008-03-06Have pm-functions.in read an initial list of hooks to blacklist.Victor Lowther1-0/+12
Be a little smart about it, and allow comments.
2008-03-06Make run_hooks skip disabled hooks.Victor Lowther2-3/+14
Eventually we will print a helpful diagnostic in the logfile saying what disabled the hook based on the contents of the disabled file, but that is a job for a later date.
2008-03-06Add disablehook() function to functions.in.Victor Lowther1-0/+5
This is the first step in allowing hooks to be dynamically disabled while pm-utils is running.
2008-03-06Fixed the case where two or more cores share the same cpufreq settings.Victor Lowther1-5/+10
If the cpufreq directory is a symlink, that that cpu shares it settings with another cpu. In that case, skip this cpu.
2008-03-06Silence sysctl output in 99video.Victor Lowther1-1/+1
2008-03-05Updated pm/Makefile.am to know about pm-functions.Victor Lowther1-2/+2
2008-03-05Split functions.in into functions.in and pm-functions.inVictor Lowther2-123/+133
pm-functions.in contains the functionality that should only be used by the pm-utils frontends (pm-action, pm-is-supported, and pm-powersave). functions.in contains code that is shared between the hooks and the pm-utils frontends. The reason behind splitting this out is to reduce namespace pollution in the hooks.
2008-03-05Rearrange functions.in in preperation for splitting it in two.Victor Lowther1-82/+82
2008-03-05Merge branch 'master' into vlowther-hook-option-processingVictor Lowther1-1/+1
2008-03-03Updated the HOWTO.hooks to document the help parameter.Victor Lowther1-0/+7
Also added a section dealing with suspend_hybrid.
2008-03-03Fixed typo in 94cpufreq introduced while fixing the suspend_hybrid glitch.Victor Lowther1-1/+1
Thanks, Michael Biebl!
2008-03-01Merge branch 'vlowther-video-merge' into vlowther-hook-option-processingVictor Lowther12-33/+12
2008-03-01Merge branch 'master' into vlowther-video-mergeVictor Lowther12-32/+11
2008-03-01Merge branch 'master' into vlowther-move-pm-mainVictor Lowther12-12/+12
2008-03-01We were not handing the suspend_hybrid case correctly this whole time.Victor Lowther12-12/+12
Shame on me for not spotting this earlier.
2008-03-01Merge branch 'master' into vlowther-move-pm-mainVictor Lowther14-56/+37
Conflicts: src/pm-action.in
2008-03-01Even shorter quirk environment variable names.Victor Lowther1-23/+23
2008-03-01Cleaned up output for --helpVictor Lowther2-7/+11
Did this by adding a log() function and using that instead of echo when we were just echoing test to get it into the log.
2008-03-01Moved video-specific option processing to 99video.Victor Lowther1-0/+20
2008-03-01Add help function to 99video.Victor Lowther1-7/+19
This is the first step in making hooks handle option processing for their options instead of having the pm-utils framework handle it.
2008-03-01arrgh -- forgot to remove 20video from Makefile.amVictor Lowther1-1/+0
2008-03-01Aesthetic cleanup to the quirk-handling code.Victor Lowther1-37/+32
2008-03-01Shortened quirk environment varialbe names.Victor Lowther1-14/+14
Also made option handling code in pm-action easier to read.
2008-03-01Replace if statements with command chaining in 99video.Victor Lowther1-25/+15
2008-03-01Add a quirk helper function to start cleaning up the ugly if mess in 99video.Victor Lowther1-11/+16
2008-03-01Rearrange quirk handling to bring it in line with s2ram.Victor Lowther1-10/+10
2008-02-29Save framebuffer state after saving videostate.Victor Lowther1-1/+1
2008-02-27Modified acpi_flag setting to use arithmetic expansion.Victor Lowther1-10/+4
This gets rid of an ugly if statement and makes the code more legible.
2008-02-27Modified 99video to use savestate/restorestate to save and restore VBE state.Victor Lowther1-4/+4
This utilizes the functionality added in the last patch, and makes the hook more location-independent.