summaryrefslogtreecommitdiff
path: root/pm
AgeCommit message (Collapse)AuthorFilesLines
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.
2008-02-27Made savestate and restorestate in functions.in orthogonal.Victor Lowther1-2/+12
You can pipe data into savestate, and pipe it back out of restorestate. This also makes savestate/restorestate able to cleanly handle data with embedded NULs and other such nasties that may confuse bash. Savestate is still backwards compatible with the older calling convention.
2008-02-27Added support in the video hook for DISPLAY_QUIRK_NONE.Victor Lowther1-0/+2
When it is set to true, avoid quirk handling by exiting immediatly.
2008-02-27Folded 20video functionality into 99video and deleted 20video.Victor Lowther2-67/+37
2008-02-23Merge branch 'master' into stabilizatonVictor Lowther1-2/+2
2008-02-19Fix broken sorting in run_hooks.Victor Lowther1-2/+2
2008-02-16Merge branch 'master' into stabilizatonVictor Lowther9-76/+102
2008-02-16Replace -O with -f where appropriateMichael Biebl1-11/+10
The owner check for sourcing config files/sleep modules is wrong, because it doesn't allow to run pm-is-supported unprivileged. In addition, source the sleep module after source_configs, so SLEEP_MODULE can be configured via /etc/pm/config.d/
2008-02-16Fix inverse file owner check in init_logfile()Michael Biebl1-1/+1
2008-02-16Clean up generated files and put *.in files in the tarball.Michael Biebl1-8/+9
Make sure to clean up all generated files on "make clean". Don't distribute generated files in the dist tarball, only the *.in files. Add generated files to .gitignore. Use consistend naming for the install dirs. Install defaults file as data file. Keep EXTRA_DIST and CLEANFILES in sync.
2008-02-16Add safety checks for *_fbcon()Michael Biebl1-0/+2
2008-02-16Consistently use tabs for indentation.Michael Biebl4-33/+33
2008-02-1699video had a missing closing bracket.Michael Biebl7-24/+50
While fixing that I noticed that we use an inconsistent style for function brackets. I chose foo() { } as it seemed to be the most used one. Cheers, Michael
2008-02-16Get rid of redundant calls to exit in 99videoVictor Lowther1-2/+0
2008-02-16Modify 95led to exit $NA where applicable.Victor Lowther1-2/+2
2008-02-16Modify 94cpufreq to exit $NA where applicable.Victor Lowther1-5/+2
2008-02-16Modify 90clock to exit $NA when applicable.Victor Lowther1-3/+1
2008-02-16Get rid of redundant calls to exit.Victor Lowther1-4/+2
2008-02-16Modify 50modules to return $NA of there are no modules to unload.Victor Lowther1-4/+2
2008-02-16Modify 49bluetooth to exit $NA where applicable.Victor Lowther1-4/+2
Also got rid of redundant calls to exit.
2008-02-16Get rid of redundant calls to exit.Victor Lowther1-3/+1
2008-02-16Modify 10NetworkManager to exit $NA where applicable.Victor Lowther1-4/+2
Also get rid of redundant calls to exit.
2008-02-16Modify 05led to exit $NA where applicable.Victor Lowther1-4/+2
Also get rid of redundant calls to exit.
2008-02-16Fix up 01grub to exit $NA when the hook is not applicable.Victor Lowther1-8/+6
Also get rid of redundant calls to exit.
2008-02-16Get rid of redundant call to exit in 00logging.Victor Lowther1-2/+0
2008-02-16Get rid of redundant call to exit.Victor Lowther1-4/+0
2008-02-16Display hook exit statuses on the logfile.Victor Lowther1-0/+10
This also reserves exit code 254 for the hooks to indicate that the hook was not applicable to the system. We treat this specially because it is not a failure on the hooks part that it cannot run on that system.
2008-02-13Added a readme describing how to use s2ram/s2both's internal video quirk ↵Victor Lowther1-0/+6
handling.
2008-02-12Fix thinko in 99video w.r.t framebuffer console states.Victor Lowther1-1/+1
2008-02-12This patch adds framebuffer console handling routines.Victor Lowther1-0/+16
It is the only thing that we were missing from the s2ram tools.
2008-02-11Moved the SLEEP_FUNCTIONS declaration to after where we load defaults.Victor Lowther1-1/+2
2008-02-11Added a check for /dev/snapshot when using uswsusp.Victor Lowther1-0/+3
2008-02-11On second thought, we don't need to mess with s2ram when using uswsusp.Victor Lowther1-2/+2
2008-02-11Add more paranoia to check_suspend_hybrind in uswsusp.Victor Lowther1-1/+3
2008-02-11Merge branch 'master' into vlowther-even-simpler-sleep-modulesVictor Lowther12-104/+84
2008-02-11Added completely untested uswsusp support.Victor Lowther2-1/+30
Use at your own risk.
2008-02-10Merge branch 'vlowther-security-fixes'Victor Lowther9-44/+55
2008-02-10Merge branch 'master' into vlowther-simpler-hooksVictor Lowther6-14/+141
2008-02-09Reverse ordering of the if command_exists ... in 20videoVictor Lowther1-6/+6
This brings this hook inline with 99video, and is easier to read.
2008-02-09Minor quotation fixes in 99videoVictor Lowther1-5/+5