summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-12-10Fix bug# 25547, make pm-action options formatting correct.Victor Lowther1-11/+5
2009-12-07Updated pm-action documentation to describe the new return values.Victor Lowther1-0/+11
2009-12-07Track suspend/hibernate failures and exit accordingly.Victor Lowther3-8/+20
It turns out that echo whatever >/sys/power/state will fail if transitioning to that state fails. If transitioning to the reuested power state fails, pm-action will return an error code greater or equal than 128.
2009-12-06Resolve bug# 25427Victor Lowther1-1/+1
2009-12-05Update revision to reflect rc status, and make manpage actually build.Victor Lowther2-120/+120
2009-12-05Update import-fdi-quirkdb to make it a little more flexible.Victor Lowther1-2/+15
It now takes two optional arguments -- $1 is the location of the .fdi quirks, and $2 is the place to put them.
2009-12-05Add reference to README.debugging in the pm-action manpage.Victor Lowther1-0/+7
2009-12-05Bump revision number to 1.3.0Victor Lowther1-1/+1
2009-12-05Updated pm-action manpage to reflect recent changes.Victor Lowther1-19/+20
We have --store-quirks-as-lkw instead of --store-quirks-as-fdi, and the default kernel methods have a suspend-hybrid implementation that has a 900 second delay between suspending and hibernating.
2009-12-05Merge branch 'profiling-support' into native-quirk-dbVictor Lowther2-6/+49
2009-12-05Merge branch 'master' into native-quirk-dbVictor Lowther1-0/+28
2009-12-01Oops, spell nouveau correctly.Victor Lowther1-1/+1
2009-12-01Add support for hibernate after suspend.Victor Lowther1-0/+28
Do this by adding a default suspend_hybrid sleep method. With the default settings, we schedule an alarm for 15 minutes from now, suspend, and hibernate if we wake up in 15 minutes.
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 Lowther2-41/+102
Also add the functionality the documentation mentions.
2009-11-30Clean up on_ac_power modifications.Victor Lowther1-6/+7
Ugh, backticks.
2009-11-30Merge branch 'master' into native-quirk-dbVictor Lowther4-9/+17
Conflicts: pm/sleep.d/98smart-kernel-video 98smart-kernel-video no longer exists, but we want the other fixups in the master branch.
2009-11-30Some final fixups to make the built-in video quirk database handling work.Victor Lowther3-92/+96
2009-11-30Oops, forgot up update Makefile.amVictor Lowther2-45/+27
2009-11-30some documentation updates for DeviceKit-powerMartin Pitt2-3/+8
https://bugs.freedesktop.org/show_bug.cgi?id=25274
2009-11-30pm-functions.in: Drop $CHASSIS_TYPEMartin Pitt1-6/+0
$CHASSIS_TYPE is not used anywhere in pm-utils itself, nor any third-party pm-utils hook that I can see. It relies on a dmidecode map in hal which has never really been robust, and it just seems generally obsolete nowadays. Let's not proliferate that any further and just remove it entirely. https://bugs.freedesktop.org/show_bug.cgi?id=25274
2009-11-30on_ac_power: DeviceKit-power supportMartin Pitt1-0/+9
Try to contact DeviceKit-Power in on_ac_power, and if it succeeds, use that. Otherwise fall back to hal. https://bugs.freedesktop.org/show_bug.cgi?id=25274
2009-11-30Fix a typo in have_kmsMichael Biebl1-1/+1
The nvidia driver is called "nouveau", not "noveau". Thanks to Julien Cristau for spotting this.
2009-11-16Actaully add the new .fdi importing script.Victor Lowther1-0/+129
2009-11-16Extract out the bits that handle translating .fdi files into their ownVictor Lowther3-127/+5
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-12Bump to 1.2.6.1pm-utils-1.2.6.1Victor Lowther1-1/+1
Oops, broke smart non-KMS modesetting for Intel.
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-08Merge branch 'master' into pm-utils-1.2pm-utils-1.2.6Michael Biebl2-2/+2
2009-11-08Fix typo in pm-action.8Michael Biebl1-1/+1
Patch by Mario Lang. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=540122
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. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=554959
2009-11-07Bump version number to 1.2.6Victor Lowther1-1/+1
2009-11-07Merge branch 'master' into pm-utils-1.2Victor Lowther7-37/+29
2009-11-07Merge commit 'remotes/UPSTREAM/master'Victor Lowther3-6/+5
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-06Revert "Fix a bashism ('==')"Michael Biebl1-1/+1
This reverts commit f3821f3479a58a8453bf9219fb5933fd99b5c1a8. The fix was actually bogus and a false-positive of checkbashisms.
2009-07-01Fix a bashism ('==')Michael Biebl1-1/+1
See Debian bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530164
2009-07-01Fix syntax for shell configuration variables.Michael Biebl1-1/+1
See Debian bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528726
2009-07-01Update comment to reflect current stateMichael Biebl1-2/+1
2009-06-13Make is_set checking more explicitVictor Lowther1-2/+3
If is_set is not one of the usual boolean values, return 2.
2009-05-06Update places where we check for booleans to use is_setVictor Lowther3-6/+6
Suprisingly, there are not that many.
2009-05-06Add is_set function to make checking boolean variables easier.Victor Lowther1-1/+13
The definition of a boolean variable is one that is set to "true", "yes" "1", or that is set to the null value.
2009-04-23Fix a few typos in the documentationMichael Biebl2-3/+3
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=525253
2009-04-17Fix typo in have_kms()Michael Biebl1-1/+1
The function is correctly called add_parameters. Debian bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=524243
2009-04-11Merge branch 'master' into pm-utils-1.2pm-utils-1.2.5Victor Lowther1-3/+3
2009-04-11Use sched_smt_power_savings.Victor Lowther1-3/+3
There is no sched_smp_power_savings tunable. Thanks, Michael Biebl!
2009-04-03Bump revision numberVictor Lowther1-1/+1
2009-04-03Merge branch 'master' into pm-utils-1.2Victor Lowther5-51/+44
2009-04-03We should not need to chvt when suspending using KMSVictor Lowther1-3/+4