Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2008-05-10 | Ignore autogenerated pm/pm-functions.pm-utils-1.1.1 | Michael Biebl | 1 | -0/+1 | |
2008-05-10 | Added special-casing of mode 3 in vbe_restoremode | Victor Lowther | 1 | -1/+10 | |
When we are restoring our vbe mode back to mode 3 (a text mode), use vga routines instead of vbe routines. Matthew Garret says it is more stable that way. | |||||
2008-05-10 | Minor functions.in formatting changes. | Victor Lowther | 1 | -2/+2 | |
2008-05-10 | pm-functions.in cleanups and minor fixes. | Victor Lowther | 1 | -6/+15 | |
Mostly adding comments to functions whose purpose is not immediatly obvious. Also restructured init_logfile to test for a null $1 before the file tests. | |||||
2008-05-07 | Fix vbe mode restore bug | Victor Lowther | 1 | -1/+1 | |
Partial fix for pm-utils bug no. 15840 -- it does not include the vgamode special-case code. Thanks, Martin Pitt! | |||||
2008-04-30 | Simplify implementation of check_suspend a bit. | Victor Lowther | 3 | -6/+3 | |
Why use 4 commands where 2 will do? | |||||
2008-04-30 | Added comments and minor fixes. | Victor Lowther | 1 | -15/+17 | |
2008-04-27 | Fix bug that would cause init_logfile to die if the logfile did not exist. | Victor Lowther | 1 | -1/+1 | |
Add an explicit check for file existence instead of relying on -O to do it for us. Thanks, Till Mass for pointing this out. | |||||
2008-04-14 | - add -w to grep in hibernate check to avoid matching "testproc" with "test" | Till Maas | 1 | -1/+1 | |
"shutdown" with "shut" Reported: Red Hat Bugzilla: #427018 | |||||
2008-04-14 | - Mention "${PM_FUNCTIONS}" instead of harcoded 32bit path for functions file | Till Maas | 1 | -2/+2 | |
2008-04-12 | Fixed arithmetic expansion bug in uswsusp found by checkbashisms. | Victor Lowther | 1 | -2/+2 | |
2008-04-07 | Add safety check before writing mode to /sys/power/disk | Michael Biebl | 1 | -2/+3 | |
Be extra paranoid and only set HIBERNATE_MODE if it is actually supported. | |||||
2008-04-07 | /dev/pmu better be a character device | Michael Biebl | 2 | -2/+2 | |
2008-04-07 | Disable 00clear for uswusp sleep module. | Michael Biebl | 1 | -0/+1 | |
s2ram has its own vt switching logic, so disable 00clear for the uswsusp sleep module. | |||||
2008-04-02 | Check for s2ram in check_suspend(). | Michael Biebl | 1 | -0/+1 | |
The uswsusp sleep module uses s2ram now for do_suspend(), so check for the command in check_suspend(). | |||||
2008-03-29 | Comment fixups in preperation for release. | Victor Lowther | 16 | -9/+52 | |
In particular, add comments to the top of the sleep hooks describing what each of them is for. | |||||
2008-03-28 | Improve PMU check | Michael Biebl | 3 | -3/+3 | |
Test if /dev/pmu is a character device. | |||||
2008-03-20 | Avoid incorrect exit code 1 failure messages in the log. | Victor Lowther | 2 | -1/+5 | |
Do this by forcing resume_video to always return 0, and by having modreload expliticly log if it cannot reload a module we unloaded before suspend. | |||||
2008-03-20 | Prettify logging a bit more. | Victor Lowther | 1 | -1/+1 | |
Now with added timestamps, so you can see how long running all the hooks takes. | |||||
2008-03-20 | Cleaned up logging of which hooks ran a bit more. | Victor Lowther | 1 | -2/+8 | |
Do this by making log understand the -n option. To retain strict POSIX compatibility, we now use printf instead of echo in the log function. | |||||
2008-03-20 | No need to clear the screen on 00clear. | Victor Lowther | 1 | -1/+0 | |
Allocating and deallocating vt 63 take care of that for us. | |||||
2008-03-20 | Modify 94cpufreq to use savestate/restorestate more efficiently | Victor Lowther | 2 | -5/+4 | |
2008-03-20 | No need to print replies from dbus in 55battery. | Victor Lowther | 1 | -1/+1 | |
2008-03-20 | Simplified implementation of 49bluetooth. | Victor Lowther | 1 | -10/+8 | |
No need for awk or for case statements. | |||||
2008-03-20 | Use 'all' instead of "*" to remove all commandline paraameters. | Victor Lowther | 1 | -2/+2 | |
2008-03-20 | Missed a close quote in modules.d/kernel | Victor Lowther | 1 | -1/+1 | |
2008-03-20 | Added easy support to drop all parameters. | Victor Lowther | 1 | -1/+2 | |
Just set DROP_PARAMETERS to "*" | |||||
2008-03-20 | Changed kernel hibernation to use the default kernel method unless overridden. | Victor Lowther | 3 | -5/+7 | |
Hopefully this will get rid of the bug reports where "platform" causes problems. If it does not, we should probably default to "shutdown" as the default method. | |||||
2008-03-19 | Fixups in hook blacklisting and parameter removal. | Victor Lowther | 1 | -2/+3 | |
2008-03-19 | remove_parameters was not doing The Right Thing. | Victor Lowther | 1 | -9/+10 | |
Rewrote parameter removal loop to try and fix that. | |||||
2008-03-19 | Make the hook blacklist and parameter overrides use env. variables. | Victor Lowther | 2 | -28/+40 | |
This came about after a long discussion with mbiebl on the best way to configure settings in pm-utils. | |||||
2008-03-19 | Merge branch 'vlowther-stabilization-bugfixes' into vlowther-default-parameters | Victor Lowther | 12 | -22/+50 | |
Conflicts: pm/pm-functions.in | |||||
2008-03-19 | Added copious commenting in the defaults file. | Victor Lowther | 2 | -8/+37 | |
2008-03-19 | Merge branch 'master' into vlowther-stabilization-bugfixes | Victor Lowther | 5 | -18/+68 | |
2008-03-19 | Rewrite fix for suspend_hybrid in a more elegant fashion | Victor Lowther | 10 | -10/+10 | |
We add a new variable $METHOD in pm-action. It holds the sleep method we were asked to invoke. $ACTION is chosen baed on the value of METHOD. | |||||
2008-03-18 | Addind logging to add_parameter and remove_parameter | Victor Lowther | 1 | -1/+5 | |
2008-03-18 | Fix logic error in remove_parameter. | Victor Lowther | 1 | -1/+1 | |
2008-03-18 | Updated /etc/pm/parameters parsing. | Victor Lowther | 1 | -4/+22 | |
Now we can add and remove parameters passed from our invoker. | |||||
2008-03-17 | Mask out acpi_sleep settings when --quirk-none is passed. | Victor Lowther | 2 | -4/+4 | |
mbiebl and I have been discussing removing the current behaviour for --quirk-none. This patch retains the behaviour where --quirk-none masks out the other video quirks instead of signalling that no quirks are required. | |||||
2008-03-17 | Add more logging -- log parameters and the hook blacklist. | Victor Lowther | 1 | -4/+4 | |
This patch adds basic logging of our commandline parameters before and after loading the parameter overrides. It also adds logging of our initial blacklist entries. | |||||
2008-03-16 | QUIRK_NONE was not being honored in uswsusp. | Victor Lowther | 1 | -1/+2 | |
Added code to zero out OPTS if QUIRK_NONE = true. | |||||
2008-03-17 | Remove outdated documentation. | Michael Biebl | 1 | -6/+0 | |
We handle video quirks in uswsusp now, so this documentation is outdated and best removed. | |||||
2008-03-17 | Parse video quirks in uswsusp sleep module | Michael Biebl | 1 | -4/+48 | |
- Parse the video quirks in the uswsusp and pass it to s2ram (do_suspend) and s2both (do_suspend_hybrid). - Show the available quirks in the help method. - quirk-save-pci is currently s2ram specific and not yet provided by hal. - quirk-dpms*, quirk-reset-brightness and quirk-vga-mode3 are not handled by s2ram and thus simple no-ops. | |||||
2008-03-16 | Merge branch 'pmu' | Michael Biebl | 3 | -5/+16 | |
2008-03-16 | Merge branch 'master' into vlowther-stabilization-bugfixes | Victor Lowther | 3 | -0/+6 | |
2008-03-16 | Better PMU support. | Michael Biebl | 3 | -5/+16 | |
- If /dev/pmu is existent, assume we can suspend - Don't try to run pm-pmu on machines without a PMU | |||||
2008-03-16 | Consolidated console save/restore code. | Victor Lowther | 2 | -5/+8 | |
Instead of having console switch/restore logic spread out all over the place, have 00clear perform all our console switching. | |||||
2008-03-16 | Make the modules shell script | Michael Biebl | 3 | -0/+6 | |
We install the sleep modules as _SCRIPTS, so they should be 0755 and have a shebang. This has the additional benefit that editors automatically enable syntax coloring. | |||||
2008-03-16 | Fix bug where pm-is-supported could only be run as root. | Victor Lowther | 1 | -3/+8 | |
Now we only parse the blacklist and the default parameters when we are taking the suspend lock. | |||||
2008-03-15 | Mostly seperated vt switching logic from the suspend_lock logic. | Victor Lowther | 2 | -4/+4 | |
This should fix the breakage implemented by moving the locking. |