summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-11-3090clock takes over a second to run on suspend.Victor Lowther4-0/+24
Most systems do not need it. Add NEED_CLOCK_SYNC, and only run hwclock if it is set. This will probably go away entirely in a later release.
2008-11-30Bump revision numberVictor Lowther1-1/+1
2008-11-30Remove 55batteryVictor Lowther2-21/+0
HAL has handled rescanning the batteries since mid 2006.
2008-11-30Modified pm-utils.pc.in to make autoconf intergration easierVictor Lowther2-1/+25
This adds pm_sleephooks, pm_powerhooks, and pm_sleepmodules to the values that pkg-config can return.
2008-10-29Added dbus_send helper function.Victor Lowther4-5/+12
This function works just like dbus-send, but returns $NA if the command fails for any reason. Also modified hooks to use dbus_send where applicable.
2008-10-07Reset acpi_video_flags before suspend.Michael Biebl1-3/+1
If no --quirk-s3-* option is passed to pm-suspend, set acpi_video_flags to 0. This allows to reliably test different set of quirks and clears any flags that were set via the kernel boot option. We deliberately ignore the kernel acpi_sleep option, quirks should be set via HAL.
2008-10-06One last cleanup in 00auto-quirksMichael Biebl1-1/+1
2008-10-05Merge branch 'master' into pm-utils-1.2pm-utils-1.2.2Victor Lowther3-6/+83
2008-10-05Do not save quirks if we were inhibited.Victor Lowther1-0/+1
2008-10-05--store-quirks-as-fdi, not --save-quirks-as-fdiVictor Lowther1-1/+1
2008-10-05Document sleep module fallback behaviour in pm-action man page.Victor Lowther1-1/+2
2008-10-05Document hook ordering convention in the pm-action man page.Victor Lowther1-3/+44
2008-10-05Document --auto-quirks and --save-quirks-as-fdi in the pm-action man page.Victor Lowther1-1/+33
2008-10-05Always reset acpi video flags in 99video on resumeVictor Lowther1-0/+2
2008-10-05Numbers are also valid in quirks from lshal.Victor Lowther1-1/+1
2008-10-05Bump revision number to 1.2.2Victor Lowther1-1/+1
2008-10-05Merge branch 'master' into pm-utils-1.2Victor Lowther5-13/+13
2008-10-05Fix incomplete renaming of _METHOD to _MODULEVictor Lowther2-8/+8
2008-10-05Fix stupid thinko in has_parameterVictor Lowther1-1/+1
2008-10-04Do not save generated .fdi in /tmpVictor Lowther1-2/+2
Instead, save them in /etc/hal/fdi/information. Closes an airline-plot potential DoS attack.
2008-10-03Bump version to 1.2.1pm-utils-1.2.1Victor Lowther1-1/+1
2008-10-03Merge branch 'auto-backend' into pm-utils-1.2Victor Lowther6-141/+176
2008-10-03Merge branch 'auto-quirks'Victor Lowther1-1/+1
2008-09-27Fixed typo in 00auto-quirkVictor Lowther1-1/+1
2008-09-27Merge branch 'auto-quirks'Victor Lowther5-8/+135
2008-09-27Merge branch 'auto-backend'Victor Lowther6-141/+176
2008-09-27Use hal-get-property instead of dmidecode to get the chassis type.Victor Lowther1-2/+2
2008-09-18Forgot to change sleep_method_help in pm-action.inVictor Lowther1-1/+1
2008-09-17Impliment module autoloading.Victor Lowther1-6/+9
We can now autodetect the proper sleep methods, and the sleep modules are stackable.
2008-09-17Always fall back to kernel methods for suspend and hibernate.Victor Lowther2-22/+26
That way we have a method of resilience in the case of misconfiguration, and future sleep methods do not have to reimplement the kernel methods.
2008-09-17Move the check_ functions to pm-functions.Victor Lowther4-110/+90
Also conditionalize the do_ functions in the sleep modules. Now, we only declare the actual do_ functions if the system can in fact sleep using the requested method.
2008-09-17Make per-module help and before_hooks methods stackable.Victor Lowther3-7/+39
This will help with making the sleep methods stackable and autodetectable.
2008-09-17Determine what sleep method we will try before sourcing pm-functionsVictor Lowther1-1/+1
Lays some groundwork for allowing autodetect of sleep methods.
2008-09-17Modified pm-pmu to take a --check parameterVictor Lowther1-20/+36
This allow us to check and see if suspending via pmu will do The Right Thing before actually performing a suspend via pmu.
2008-09-13Merge branch 'auto-quirks'Victor Lowther3-4/+89
2008-09-13Merge branch 'handle-pci-save'Victor Lowther2-4/+46
2008-09-10Make 00auto-quirk fail gracefully if HAL is not there.Victor Lowther1-2/+7
2008-09-10Use has_parameter instead of manually looping over parameters.Victor Lowther1-8/+4
2008-09-10Merge branch 'master' into auto-quirksVictor Lowther2-1/+10
2008-09-10Add a little helper function to test for a single parameter.Victor Lowther1-0/+9
2008-09-10Update TODO for --auto-quirk and --store-quirks-as-fdiVictor Lowther1-4/+0
We can grab quirks from HAL, and we know how to save quirks to a .fdi file.
2008-09-10Added support for saving quirks to a .fdi fileVictor Lowther1-0/+47
We probably collect too much information here, but too much is better than not enough.
2008-09-10Describe DWIM functionality in auto-quirk help.Victor Lowther1-1/+2
2008-09-10Fix logging bug that was aborting help after the first hook.Victor Lowther1-1/+1
2008-09-09When pm-action is invoked without any parameters, grab them from HALVictor Lowther1-0/+4
This adds a bit of DWIM to pm-suspend and friends.
2008-09-09Add help to 00auto-quirkVictor Lowther1-1/+10
Also fix a silly typo
2008-09-09Automagically grab quirks from HALVictor Lowther2-0/+27
To use this functionality, run pm(suspend|hibernate|suspend-hybrid) with --auto-quirks.
2008-09-09Updated 98smart-kernel-video to be aware of new quirksVictor Lowther1-3/+9
Are the kernel video drivers spart enough to handle no-fb and pci-save? Only time will tell.
2008-09-09Added support for the nofb and pci_save HAL quirks.Victor Lowther1-1/+37
Right now there are no entries in any of the .fdi files that specify use of these quirks, which is why they were probably never implemented in pm-utils.
2008-09-07We handle hook failure and suspend_hybrid correctly now.Victor Lowther1-11/+0
Delete those sections from the TODO