path: root/pm/sleep.d
AgeCommit message (Collapse)AuthorFilesLines
2010-06-15Added informative messages to some of the sleep hooks.Victor Lowther4-12/+35
2010-06-05Add support for ext4 filesystems in journal_commit.Victor Lowther1-1/+1
Also force pm-utils to disable powersaving features across a suspend/resume.
2010-06-05Add help and configurability to most of the powersave hooks.Victor Lowther1-1/+1
2010-03-14Merge branch 'master' into pm-utils-1.3Victor Lowther2-3/+6
2010-02-15Small fix for 309fba58adaf8c57df6cb91411c81eae336e82dcMichael Biebl1-1/+1
2010-02-03Rename, for consistency's sakeMichael Biebl1-0/+0
2010-02-03Fix typo in regexp, replacing ; charRafał Miłecki1-1/+1
Replace all occurences of ; not only the first one Signed-off-by: Rafał Miłecki <>
2010-02-03fix alternatives matching in native quirks DBMartin Pitt1-1/+1
The native quirks DB separates alternatives with ';'. For regexp matching, turn those into '|', so that they will actually match.
2010-02-03fix usage of find_native()Martin Pitt1-0/+3
98-video-quirk-db-handler expects find_native() to write the quirks to stdout, so actually do write them there. This makes the native quirks work.
2010-02-03fix DMI attribute matchingMartin Pitt1-1/+1
canonicalize_dmivar() refused the valid property "system.firmware.release_date" because of a missing '_' in the character filter.
2009-12-25chvt again when using nvidia binary driverVictor Lowther1-1/+0
Certian newer nvidia binary drivers do not chvt in kernelspace, which leads to reported lockups. Go ahead and have them chvt in userspace again.
2009-12-10Use --quirk-test to override the usual sanity checks.Victor Lowther1-4/+9
This can be useful for testing to see if your system requires an unusual set of quirks, but can also make your system crash in new and exciting ways across suspend/resume. You have been warned.
2009-12-10Update 98-video-quirk-db-handler to reflect recent bug fixesVictor Lowther1-4/+4
Some longstanding typos in the quirks were fixed in 98smart-kernel-video. Update the new quirk handling machinery to take those fixes into account.
2009-12-10Merge branch 'pm-utils-1.2' into pm-utils-1.3Victor Lowther1-5/+5
Conflicts: pm/sleep.d/98smart-kernel-video
2009-12-10Fix pci-save vs save-pci related typosChristian Krause2-4/+4
- fix wrong function calls to pci_restore and pci_save which did not match the actual defined functions (restore_pci and save_pci) - use the correct quirk parameter in "remove_paramters" (use --quirk-save-pci instead of --quirk-pci-save)
2009-12-10[PATCH] Fix vga-mode-3 typo in video hooksTormod Volden2-3/+3
We have been using vga-mode3 while the standard says vga-mode-3. This might fix (or even break) some resume issues on hardware which did not have any video quirks, since the option is set in fdi/information/10freedesktop/99-video-quirk-default.fdi from hal-info. Signed-off-by: Tormod Volden <> Signed-off-by: Victor Lowther <>
2009-12-01Oops, spell nouveau correctly.Victor Lowther1-1/+1
2009-12-01Oops, actually cache the dmi variables again if we need to updateVictor Lowther1-0/+1
the last known working quirk.
2009-12-01Add some documentation on native quirk handling.Victor Lowther1-41/+56
Also add the functionality the documentation mentions.
2009-11-30Some final fixups to make the built-in video quirk database handling work.Victor Lowther1-91/+86
2009-11-30Oops, forgot up update Makefile.amVictor Lowther2-45/+27
2009-11-16Extract out the bits that handle translating .fdi files into their ownVictor Lowther1-125/+0
script. Integrating video quirk db handling into pm-utils requires splitting out database querying from database importing anyways.
2009-11-16Start merging native quirk handling functionality into pm-utilsVictor Lowther1-11/+8
2009-11-15Make pm-utils handle video quirks nativelyVictor Lowther3-178/+564
Add video-quirk-db-handler, which knows how to read the video .fdi files, translate them into a native format, and use that native format to find the appropriate quirks for a given system. This hook replaces 00auto-quirk and 98smart-kernel-video.
2009-11-12Add back have_smart_intelVictor Lowther1-1/+22
We still need to consider the case where i915 is used with modesetting disabled. So revert the have_smart_intel removal in 504faf0a0c31cbdbc03a608cf633d58f12e49eb7. Thanks, mbiebl!
2009-11-08Don't err out in maybe_deallocvt if there is no console stateMichael Biebl1-1/+1
kpowersave pops up a window telling that an error "1" has occurred when suspending to ram. The error "1" message is annoying and lacks meaning to the user. It's caused by maybe_deallocvt returning the ret_val of state_exists when the tested (here: console) file isn't found. This absence of this file seems not to do any harm therefore the escalation of the ret_val 1 is deprecated. Solution: just tell maybe_deallocvt to return 0 in the above case.
2009-11-07Merge commit 'remotes/UPSTREAM/master'Victor Lowther1-2/+1
2009-11-07Make kernel modesetting detection a little smarter.Victor Lowther1-24/+4
It turns out that the method we were using to detect kernel modesetting support was not very accurate. It turns out there is no bulletproof way for us to tell if KMS is being used, but Michael Biebl found a way that sucks less than out current method. Hopefully the framebuffer drivers will grow a flag in sysfs somewhere that tells us that KMS is in use.
2009-07-01Update comment to reflect current stateMichael Biebl1-2/+1
2009-05-06Update places where we check for booleans to use is_setVictor Lowther2-5/+5
Suprisingly, there are not that many.
2009-04-17Fix typo in have_kms()Michael Biebl1-1/+1
The function is correctly called add_parameters. Debian bug
2009-04-03We should not need to chvt when suspending using KMSVictor Lowther1-3/+4
2009-04-03Add KMS support to 98-smart-kernel-videoVictor Lowther1-27/+25
Also factor some things out to make 98-smart-kernel-video shorter.
2009-04-03Move chvt handling into 99videoVictor Lowther3-24/+19
This prepares for adding kernel modesetting support.
2008-12-15Fix broken quirk handling introduced by auto-quirk debugging change.Victor Lowther1-1/+1
2008-12-14Echo the quirks we got from HAL in 00auto-quirk.Victor Lowther1-3/+5
This will make pm-utils slightly easier to debug. Thanks, Michael Biebl for the idea.
2008-12-05Do not try to make removed hookspm-utils-1.2.3Victor Lowther1-2/+0
2008-11-30Drop 50ntpdVictor Lowther1-28/+0
ntpd operates normally over a sleep/wake cycle. Stoppping and restarting it in a sleep hook is too adhoc. If it is essential that ntpd be stopped and restarted, then having NetworkManager do the job when interfaces go offline and come back online is a better way to do things.
2008-11-30Drop 65alsa -- it is useless by itself.Victor Lowther1-19/+0
alsa drivers that support suspend/resume will save their state without it. alsa drivers that don't will need to be unloaded and reloaded as well as having their state saved and restored to work properly. See thread at
2008-11-3090clock takes over a second to run on suspend.Victor Lowther1-0/+2
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-30Remove 55batteryVictor Lowther2-21/+0
HAL has handled rescanning the batteries since mid 2006.
2008-10-29Added dbus_send helper function.Victor Lowther2-5/+3
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-05Do not save quirks if we were inhibited.Victor Lowther1-0/+1
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-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-09-27Fixed typo in 00auto-quirkVictor Lowther1-1/+1
2008-09-13Merge branch 'auto-quirks'Victor Lowther2-0/+89