commit 054668a461347514034b88eef24f902b69d55d5b
Merge: e6fd079... 46e3db3...
Author: Victor Lowther
Date: Sat Apr 11 07:45:20 2009 -0500
Merge branch 'master' into pm-utils-1.2
commit 46e3db3d321579217edbea90c1ddf6f98ea1f38b
Author: Victor Lowther
Date: Sat Apr 11 07:43:58 2009 -0500
Use sched_smt_power_savings.
There is no sched_smp_power_savings tunable.
Thanks, Michael Biebl!
commit e6fd0796858826bfc4404672d0234fb15789f8f2
Author: Victor Lowther
Date: Fri Apr 3 13:49:15 2009 -0500
Bump revision number
commit ab9399236ff33e9b22dbc18d01566609689c859a
Merge: 813c1e4... 11176a7...
Author: Victor Lowther
Date: Fri Apr 3 13:48:21 2009 -0500
Merge branch 'master' into pm-utils-1.2
commit 11176a7d37f6a0854c8d9e338d972299589788dd
Author: Victor Lowther
Date: Fri Apr 3 13:42:01 2009 -0500
We should not need to chvt when suspending using KMS
commit a79d16300c662080caf1775f1cf68f1be4049716
Author: Victor Lowther
Date: Fri Apr 3 13:39:55 2009 -0500
Add KMS support to 98-smart-kernel-video
Also factor some things out to make 98-smart-kernel-video shorter.
commit 584f08dc12fada69dbe1948a61cfc4b179b40eda
Author: Victor Lowther
Date: Fri Apr 3 13:27:56 2009 -0500
Move chvt handling into 99video
This prepares for adding kernel modesetting support.
commit 813c1e4e07b9a1ccd887c0eacdb714cf5715fd5c
Author: Victor Lowther
Date: Sun Feb 8 17:23:37 2009 -0600
Bump version number for pm-utils 1.2.4
commit 4755f6754b1a80db775676f7d485da0ee725a0c1
Author: Victor Lowther
Date: Fri Jan 30 04:51:50 2009 -0600
Make CHASSIS_TYPE always have Unknown if we cannot determine the chassis type.
commit 328c2016b4adf0fc04de43f79c66c1477abdae3f
Author: Victor Lowther
Date: Mon Jan 26 06:50:13 2009 -0600
Resolve fd.o bug# 19658
modunload was not unloading dependent modules correctly due to
incorrect string handling. Fix provided by zak.kipling@cantab.net.
commit 67ac2ed11b44df8f5405ee1c424f2073193aca5e
Merge: cdf3765... df99431...
Author: Victor Lowther
Date: Mon Jan 26 06:24:33 2009 -0600
Merge commit 'UPSTREAM/master'
commit df99431ba8ee5a2a5b552f32950ae98eec9757d2
Author: Dan Nicholson
Date: Sun Jan 18 11:20:47 2009 -0800
Match gentoo message "started" when checking for running services
Gentoo uses the convention of printing the message "started" when
showing the status of services. Augment stopservice() to check this in
addition to "running". This also drops the unnecessary -c argument from
the grep command.
Signed-off-by: Dan Nicholson
commit cdf37656b3835da0c8476460076b03785e0b9758
Author: Victor Lowther
Date: Mon Dec 15 13:55:32 2008 -0600
Fix broken quirk handling introduced by auto-quirk debugging change.
commit 68e38d6e7746fe8d36d80f5b85d5b704bf49bcf2
Author: Victor Lowther
Date: Mon Dec 15 06:08:22 2008 -0600
By default, pm-powersave does nothing with laptop-mode.
So dpn't even mention it in our manpages.
commit 265fcd57fe3d09062722a7e26bde07c2851fcc1f
Author: Victor Lowther
Date: Sun Dec 14 21:53:34 2008 -0600
Echo the quirks we got from HAL in 00auto-quirk.
This will make pm-utils slightly easier to debug.
Thanks, Michael Biebl for the idea.
commit e3c0135899e8f1b9c27333d4641dabf9c1a562cf
Author: Victor Lowther
Date: Sun Dec 14 15:46:39 2008 -0600
hal-get-porperty runs just fine as a normal user
commit 2c89b8f30b1d28ad98d17783ec6c75e27c5b7514
Merge: 6f9cbbf... 41be1ba...
Author: Victor Lowther
Date: Sun Dec 14 13:37:04 2008 -0600
Merge branch 'pm-utils-1.2'
commit 41be1ba0668222efd6b3861ce2edaf1398a40364
Author: Victor Lowther
Date: Thu Dec 11 11:06:08 2008 -0600
Fix silly typo in pm-utils.pc.in. Thanks, Robby!
commit 6f9cbbf628bb19f488695e7fa6c5d63d24a2eaa7
Merge: 3dc0090... 74abfd9...
Author: Victor Lowther
Date: Thu Dec 11 10:06:13 2008 -0600
Merge branch 'pm-utils-1.2'
commit 3dc009097307409f9f44522e5ece9b9f2d1bec3b
Author: Victor Lowther
Date: Thu Dec 11 10:04:50 2008 -0600
Export the default config dir using pkgconfig.
commit 74abfd91d9aba25f1b5b8c3b9a238b426470b6e2
Author: Victor Lowther
Date: Fri Dec 5 06:15:49 2008 -0600
Do not try to make removed hooks
commit 2c253a933218e5256427bf84460e1060b3dc0f0e
Merge: f0cf3ad... 89c71b6...
Author: Victor Lowther
Date: Wed Dec 3 13:09:46 2008 -0600
Merge branch 'master' into pm-utils-1.2
Conflicts:
configure.ac
commit 89c71b6e409194cb18a5a6cf6b358d2f36957ffd
Merge: fbf72f5... 618110a...
Author: Victor Lowther
Date: Wed Dec 3 13:06:54 2008 -0600
Merge branch 'maybe-pm-utils-1.2.3'
commit 618110a72da2c22e50e3a6324be2332699103cca
Author: Victor Lowther
Date: Mon Dec 1 09:26:12 2008 -0600
Updated NEWS with major items for the 1.2 series.
commit db9fd15445ee7c2eeb873b06cf89da15442d8e67
Author: Victor Lowther
Date: Sun Nov 30 10:19:24 2008 -0600
Added notes on how to minimized user impact.
After all, user perception of these things is our reality.
commit 7dd6fe1ae1da23e5c051ca175b2834c5e5eef7ae
Author: Victor Lowther
Date: Sun Nov 30 08:19:00 2008 -0600
Add more comments to uswsusp since it is being used as an example in documentation
commit 0ef31524b229174b02c51d2134b4f56636c590db
Author: Victor Lowther
Date: Sun Nov 30 07:51:37 2008 -0600
Describe stackable sleep modules in HOWTO.modules.
commit 3e72a7a5adb9d3b69d45dda327ed5bde5ad2eabc
Author: Victor Lowther
Date: Sun Nov 30 09:51:38 2008 -0600
Drop 50ntpd
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.
commit d4c9650d3476643454c282b082fa45820f4d72ac
Author: Victor Lowther
Date: Sun Nov 30 15:55:36 2008 -0600
Drop 65alsa -- it is useless by itself.
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 http://mailman.alsa-project.org/pipermail/alsa-devel/2008-November/013030.html
commit 3df57b4fbce6243f27d6cbf99f53034f862a9a6e
Author: Victor Lowther
Date: Sun Nov 30 08:37:20 2008 -0600
Support Slackware init system.
commit 493224b1beeac0154807bcb1ac8a3007a46c435b
Author: Victor Lowther
Date: Fri Nov 28 16:15:15 2008 -0600
90clock takes over a second to run on suspend.
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.
commit 6eb53f4de576e9a569d9019f3398c23438c2cfa5
Author: Victor Lowther
Date: Sat Nov 29 08:52:41 2008 -0600
Bump revision number
commit 199a735563e7f1f7146b1c0c7eb1fc3aa854a956
Author: Victor Lowther
Date: Sun Nov 30 18:19:12 2008 -0600
Remove 55battery
HAL has handled rescanning the batteries since mid 2006.
commit 2886a5de8fad097e21d4edb75de1eafecf70e718
Author: Victor Lowther
Date: Mon Oct 20 21:28:18 2008 -0500
Modified pm-utils.pc.in to make autoconf intergration easier
This adds pm_sleephooks, pm_powerhooks, and pm_sleepmodules to the values that
pkg-config can return.
commit fbf72f5fd7a685c79c858e2e400096fb65a8667e
Author: Victor Lowther
Date: Sat Nov 29 08:52:41 2008 -0600
Bump revision number
commit 290fb463ea2d9628a1b724d83d34a96c84b025c6
Author: Victor Lowther
Date: Fri Nov 28 16:53:37 2008 -0600
Don't try to build 55battery anymore
commit 74aead833bfc3ea7429e15938f7f836f0eb5f010
Author: Victor Lowther
Date: Fri Nov 28 16:15:15 2008 -0600
90clock takes over a second to run on suspend.
Most systems do not need it. Add NEED_CLOCK_SYNC, and only run hwclock
if it is set. This should eventually turn into a quirk.
commit 6e577968119b8997233b98620dd5a740c16d2412
Author: Victor Lowther
Date: Thu Nov 27 07:59:02 2008 -0600
HAL has handled this since mid 2006.
commit ab813bbbc25a88c726045b53d97b3a776f0a726c
Author: Victor Lowther
Date: Wed Oct 29 14:30:15 2008 -0500
Added dbus_send helper function.
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.
commit 6c9f2959a36e608e4d1f71230a9eaaa77940c54e
Author: Michael Biebl
Date: Tue Oct 7 03:23:25 2008 +0200
Reset acpi_video_flags before suspend.
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.
commit f0cf3adb37fd06e7cbb882c9ab4ba35da28a3531
Author: Victor Lowther
Date: Mon Oct 6 05:51:57 2008 -0500
pm-utils-1.2.2.1
commit 61656ae7d8404796354bf24200c75105d5ec6be7
Author: Michael Biebl
Date: Mon Oct 6 05:49:03 2008 -0500
One last cleanup in 00auto-quirks
commit 8bb909029274930145aaa99b4b8b5447fcf323de
Merge: 78c842d... 383ee6c...
Author: Victor Lowther
Date: Sun Oct 5 20:53:06 2008 -0500
Merge branch 'master' into pm-utils-1.2
commit 383ee6cc45b56086e7e5ea8846a1c0adae3cc035
Author: Victor Lowther
Date: Sun Oct 5 19:35:14 2008 -0500
Do not save quirks if we were inhibited.
commit 8125023126e165ecbe5bd01495ac30bfd94273b6
Author: Victor Lowther
Date: Sun Oct 5 19:17:08 2008 -0500
--store-quirks-as-fdi, not --save-quirks-as-fdi
commit 78a6575ae849858eb822655dd363887cfd8a8162
Author: Victor Lowther
Date: Sun Oct 5 18:42:00 2008 -0500
Document sleep module fallback behaviour in pm-action man page.
commit 1fe13fe144d26cf827cc06b2ba164541cd4e29e9
Author: Victor Lowther
Date: Sun Oct 5 18:39:13 2008 -0500
Document hook ordering convention in the pm-action man page.
commit 226914884fba883682fa60a40bebb3873ecde927
Author: Victor Lowther
Date: Sun Oct 5 17:41:35 2008 -0500
Document --auto-quirks and --save-quirks-as-fdi in the pm-action man page.
commit 7fa3f446439de179ae4d4bf73481e785b93fba34
Author: Victor Lowther
Date: Sun Oct 5 17:17:21 2008 -0500
Always reset acpi video flags in 99video on resume
commit 483cefcf0f7a9f3091bd03c7be52085f80134842
Author: Victor Lowther
Date: Sun Oct 5 17:12:39 2008 -0500
Numbers are also valid in quirks from lshal.
commit 78c842d66e376461206947ac53d3976f68afdc7f
Author: Victor Lowther
Date: Sun Oct 5 10:57:22 2008 -0500
Bump revision number to 1.2.2
commit baa95d0f6f5fac987c85303f158accf17bcdbd8c
Merge: d156e93... f90faf9...
Author: Victor Lowther
Date: Sun Oct 5 10:55:48 2008 -0500
Merge branch 'master' into pm-utils-1.2
commit f90faf9293b1dddba7fe6da2a22398e8b84e51cc
Author: Victor Lowther
Date: Sun Oct 5 09:27:25 2008 -0500
Fix incomplete renaming of _METHOD to _MODULE
commit 806df338c05a972cb53de1c372e829f9f61fedd3
Author: Victor Lowther
Date: Sun Oct 5 09:09:39 2008 -0500
Fix stupid thinko in has_parameter
commit f7d7d72439101083925fccd7825fd711e790c4e0
Author: Victor Lowther
Date: Sat Oct 4 21:21:29 2008 -0500
Do not save generated .fdi in /tmp
Instead, save them in /etc/hal/fdi/information.
Closes an airline-plot potential DoS attack.
commit d156e9312ea5c2fecb3d9ada08c3746012361550
Author: Victor Lowther
Date: Fri Oct 3 21:17:53 2008 -0500
Bump version to 1.2.1
commit 0f7d491ad9574e730b0bd0ea14b003f7a0917205
Merge: 969e565... 390d301...
Author: Victor Lowther
Date: Fri Oct 3 21:16:25 2008 -0500
Merge branch 'auto-backend' into pm-utils-1.2
commit fe5fc86b7e4f03cb11f291433fd9479951eedfb7
Merge: 5e629b5... 969e565...
Author: Victor Lowther
Date: Fri Oct 3 21:14:45 2008 -0500
Merge branch 'auto-quirks'
commit 969e565492b096d578c7a22c683dc67a6d14613d
Author: Victor Lowther
Date: Sat Sep 27 12:44:24 2008 -0500
Fixed typo in 00auto-quirk
commit 5e629b56b92eb87da207d4d2c942492d87d425fa
Merge: f9570ff... ba5e251...
Author: Victor Lowther
Date: Sat Sep 27 08:43:31 2008 -0500
Merge branch 'auto-quirks'
commit f9570ff8a38aeffb21fd9d6a525dbad7dc5098fb
Merge: 268ad38... 390d301...
Author: Victor Lowther
Date: Sat Sep 27 08:43:04 2008 -0500
Merge branch 'auto-backend'
commit 268ad38428662c410c7c70ccf561dab8ee6ecd50
Author: Victor Lowther
Date: Sat Sep 27 08:42:27 2008 -0500
Use hal-get-property instead of dmidecode to get the chassis type.
commit 390d3019c38e917d3baf9eea8209c54e4970fc5a
Author: Victor Lowther
Date: Thu Sep 18 11:22:37 2008 -0500
Forgot to change sleep_method_help in pm-action.in
commit 2fa2d36dd1cbd92f48de75782e4f5f7eca0b668b
Author: Victor Lowther
Date: Wed Sep 17 21:59:51 2008 -0500
Impliment module autoloading.
We can now autodetect the proper sleep methods, and the sleep modules
are stackable.
commit fc06462ba70a260cad0a4cb6c0d2fc9aa5ce3aea
Author: Victor Lowther
Date: Wed Sep 17 21:52:13 2008 -0500
Always fall back to kernel methods for suspend and hibernate.
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.
commit 04d25924f782d96ef55f164aea55e3d227a8a3ec
Author: Victor Lowther
Date: Wed Sep 17 21:41:26 2008 -0500
Move the check_ functions to pm-functions.
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.
commit 38a9d169b831aa1528a47060612cba3dd5ff3514
Author: Victor Lowther
Date: Wed Sep 17 19:47:17 2008 -0500
Make per-module help and before_hooks methods stackable.
This will help with making the sleep methods stackable and
autodetectable.
commit 982784806793454ea3b87babb3b399d98c8d1639
Author: Victor Lowther
Date: Wed Sep 17 19:29:35 2008 -0500
Determine what sleep method we will try before sourcing pm-functions
Lays some groundwork for allowing autodetect of sleep methods.
commit 15c62582af5193f10fb7e612c2b1abb8072f793f
Author: Victor Lowther
Date: Wed Sep 17 19:19:18 2008 -0500
Modified pm-pmu to take a --check parameter
This allow us to check and see if suspending via pmu will do The Right
Thing before actually performing a suspend via pmu.
commit ba5e251fe28691a359660f0dfdd229a2f6089524
Merge: f30564b... 285ed3d...
Author: Victor Lowther
Date: Sat Sep 13 04:19:41 2008 -0500
Merge branch 'auto-quirks'
commit f30564ba387d06df3428a16d5bd8664e35d16dae
Merge: dd430a0... c6a445d...
Author: Victor Lowther
Date: Sat Sep 13 04:16:38 2008 -0500
Merge branch 'handle-pci-save'
commit 285ed3d355956513ecb8509ef931860221aadd25
Author: Victor Lowther
Date: Wed Sep 10 22:04:04 2008 -0500
Make 00auto-quirk fail gracefully if HAL is not there.
commit abcd57e9730613bf08d75498fa348266a93f49b0
Author: Victor Lowther
Date: Wed Sep 10 17:25:43 2008 -0500
Use has_parameter instead of manually looping over parameters.
commit 1f8e1bfb8b212d2edaf1f0bfd1a18aac23797cd5
Merge: 5c193b1... dd430a0...
Author: Victor Lowther
Date: Wed Sep 10 17:21:09 2008 -0500
Merge branch 'master' into auto-quirks
commit dd430a021b2d413a1b6ffc8e9fbe104b2f72f35f
Author: Victor Lowther
Date: Wed Sep 10 17:19:19 2008 -0500
Add a little helper function to test for a single parameter.
commit 5c193b1c9e24224f80cf59a8dd55f58e6b656fb8
Author: Victor Lowther
Date: Wed Sep 10 12:57:43 2008 -0500
Update TODO for --auto-quirk and --store-quirks-as-fdi
We can grab quirks from HAL, and we know how to save quirks to a .fdi
file.
commit 30572ed0fdfc2522ce64d10148cd7f74b97e56eb
Author: Victor Lowther
Date: Wed Sep 10 12:56:03 2008 -0500
Added support for saving quirks to a .fdi file
We probably collect too much information here, but too much
is better than not enough.
commit 0497c019ed8e49e8f1f4e39a8d934c56f754622c
Author: Victor Lowther
Date: Wed Sep 10 10:46:36 2008 -0500
Describe DWIM functionality in auto-quirk help.
commit c768a36e484b917187b88069eb530c240b87083c
Author: Victor Lowther
Date: Wed Sep 10 10:34:51 2008 -0500
Fix logging bug that was aborting help after the first hook.
commit ef78d2649b9a6a8b7745241f7ad1b8416f017a7f
Author: Victor Lowther
Date: Tue Sep 9 21:31:53 2008 -0500
When pm-action is invoked without any parameters, grab them from HAL
This adds a bit of DWIM to pm-suspend and friends.
commit 8a46966d6ea9329fba27f9eb3bfeaf298a419b36
Author: Victor Lowther
Date: Tue Sep 9 21:13:49 2008 -0500
Add help to 00auto-quirk
Also fix a silly typo
commit 9197b4173c308bcdcc9b5f8a4f8b95146e634833
Author: Victor Lowther
Date: Tue Sep 9 21:07:45 2008 -0500
Automagically grab quirks from HAL
To use this functionality, run pm(suspend|hibernate|suspend-hybrid) with
--auto-quirks.
commit c6a445deed2ad7321d6707a328eba0cd67639104
Author: Victor Lowther
Date: Tue Sep 9 15:11:29 2008 -0500
Updated 98smart-kernel-video to be aware of new quirks
Are the kernel video drivers spart enough to handle no-fb and pci-save?
Only time will tell.
commit 7da41036e8c8555fea8eeddfa66307d798bcf87d
Author: Victor Lowther
Date: Tue Sep 9 14:48:56 2008 -0500
Added support for the nofb and pci_save HAL quirks.
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.
commit 6ab65e737b0d70c97cabb4cd795909115cbd7591
Author: Victor Lowther
Date: Sun Sep 7 09:22:59 2008 -0500
We handle hook failure and suspend_hybrid correctly now.
Delete those sections from the TODO
commit 9dc773bafb1354cb4ffbc31dc364817aca57ca41
Author: Victor Lowther
Date: Sun Sep 7 08:39:21 2008 -0500
pm-utils 1.2.0
This release brought to you by Penelope Lowther, who is 4 weeks old
today.
commit 113024e1bb6a12a667666d912123ecbd9a9ee984
Author: Victor Lowther
Date: Fri Jul 25 07:47:19 2008 -0500
First pm-utils 1.2.0 release candidate
commit 1125407844a46363a5ba8d4cf474de5cd8231431
Author: Victor Lowther
Date: Wed Jul 23 08:07:25 2008 -0500
Also missed a ;;
commit c91083f2a91b006ad19e853eb0d19f1263aef050
Author: Victor Lowther
Date: Wed Jul 23 08:04:16 2008 -0500
Missed a close brace
commit 3fec4c5c285fcb0eaad6de6dae3c4132e860944e
Merge: 6ec54f8... 6aea272...
Author: Victor Lowther
Date: Wed Jul 23 07:29:54 2008 -0500
Merge branch 'pm-utils-1.1' into pm-utils-1.2
Conflicts:
configure.ac
pm/sleep.d/98smart-kernel-video
commit 6aea27259e25958bedfc352398128ca93de10e49
Author: Victor Lowther
Date: Mon Jul 21 23:20:15 2008 -0500
Greatly expanded the 98smart-kernel-video hook.
Each intelligent driver gets its own section, and we no longer
remove s3-bios and s3-mode quirks if we are using Intel kernel modesetting.
commit 6ec54f84dd4dcc0ed1f670cdcb1894f4ed6a6239
Merge: f76baff... 873733d...
Author: Victor Lowther
Date: Thu Jul 10 13:49:34 2008 -0500
Merge branch 'two-parameter-sleep-hooks'
commit f76baff97225aa45221d553b7541d3e4db953a04
Author: Victor Lowther
Date: Sat Jul 5 12:00:32 2008 -0500
Make some changes to core functionality to support pm-powersave
This consists of core features extracted from the powersave-hooks branch, and
does the following:
* Refactor some settings in pm-functions to make it easier to support seperate
settings for pm-action and pm-powersave. Other than sharing a mechanism for
running hooks and being able to use certian utility functions, they do not
have much in common w.r.t settings and lifecycle rules for those settings.
* Move take_suspend_lock from pm-functions to pm-action. pm-powersave uses a
simpler scheme, and there is not enough code sharing to justify having it in
pm-functions.
* Add a bit of code to pm-functions to figure out what chassis type we are
running on.
* Add a 00powersave hook that turns powersaving off across a suspend/resume.
Things like laptop-mode in particular have been known to cause issues in
some situations.
* Make pm-powersave log to a real logfile and try to guess at the appropriate
powersave mode if called with no arguments.
commit 873733dad6476a7c5f7ec6068fb0be7b4c62edbb
Author: Victor Lowther
Date: Wed Jul 2 20:57:10 2008 -0500
Modify the tuxonice sleep module to modify $REVERSE for suspend_hybrid
pm-utils can handle suspend_hybrid correctly now, so make use of that
functionality.
commit d06ab6c9c11c21d98ffbee19047678a1bd60b6a0
Author: Victor Lowther
Date: Tue Jul 1 21:15:23 2008 -0500
Update documentation to describe the new two-parameter sleep.d regime
commit c7e053a05844af2789bb7fab3bf81b0c6d1abcb6
Author: Victor Lowther
Date: Tue Jul 1 21:09:09 2008 -0500
Add support for massing $METHOD as the second parameter to hooks
This makes it easier for hooks that care about suspend_hybrid to handle
it correctly without having to force all the other hooks to care about it.
Also updated 01grub to conform to the new plan.
commit d3223855cbb91c01776aca2d4196b79f73afd7ae
Author: Victor Lowther
Date: Fri Jun 27 23:34:48 2008 -0500
Make uswsusp work with the reordered hooks.
00clear -> 90chvt and all that.
commit 1167ff73476bb7e17507f12b0d9a2460957a8952
Merge: 84e87ee... 4256c9d...
Author: Victor Lowther
Date: Fri Jun 27 23:22:13 2008 -0500
Merge branch 'vlowther-handle-hook-failure'
commit 84e87eead51898570418f4e6ce86ec5b7651a33c
Author: Victor Lowther
Date: Fri Jun 27 20:09:22 2008 -0500
Minor updates and spelling fixes.
commit 4256c9dd8f924deecd904f6b0b64817b1e7af74d
Author: Victor Lowther
Date: Sun Jun 22 11:40:24 2008 -0500
Added documentation in HOWTO.hooks covering abort on hook failure.
commit 494ee04c73d8be70d5d5640e6c710d7073a22a0c
Author: Victor Lowther
Date: Fri Jun 20 23:26:31 2008 -0500
Document inhibit and inhibited in HOWTO.hooks
commit 50243cc80599b56699cbf11c2872d905e3968d7d
Author: Victor Lowther
Date: Fri Jun 20 20:54:51 2008 -0500
update to pm-utils 1.1.2.3 with no change
commit 965ff9c155d0151921514551881db4e6d499c214
Author: Victor Lowther
Date: Fri Jun 20 20:50:18 2008 -0500
If suspend has already been inhibited, don't run more hooks.
commit 153cc173c901761bc87b44759f6ce9a46de04da7
Merge: f89c736... 315af0b...
Author: Victor Lowther
Date: Sun Jun 8 19:19:50 2008 -0500
Merge branch 'master' into vlowther-handle-hook-failure
commit f89c73694e5c5a057f06460410d278f3727e5225
Author: Victor Lowther
Date: Sun Jun 8 19:17:36 2008 -0500
Simplify hook exit status testing logic a bit.
commit 82c7efe54c7b04f2cf5bf73d9b0bf1c32fb26f56
Author: Victor Lowther
Date: Sun Jun 8 18:53:19 2008 -0500
We have new manpages, so delete that bit of the TODO.
commit 315af0beb95acefc786e8d025729da07ecd825c2
Author: Victor Lowther
Date: Sun Jun 8 18:53:19 2008 -0500
We have new manpages, so delete that bit of the TODO.
commit eb21ea1fa1cf633a88ac44fa8651e9691ae8c1c8
Author: Victor Lowther
Date: Sun Jun 8 18:27:15 2008 -0500
Bumped revision to 1.1.2.3-test1 for testing purposes.
commit b4dd07cdcad09ca8077ac28fbd435d947654777a
Merge: b1ce8fe... 7a2e509...
Author: Victor Lowther
Date: Fri Jun 6 20:48:22 2008 -0500
Merge branch 'master' into vlowther-handle-hook-failure
commit 7a2e5093d110de02039ee3eca1f5ee290ef72c49
Author: Victor Lowther
Date: Fri Jun 6 20:35:27 2008 -0500
Documentation updates describing the sleep hook ordering convention.
commit b1ce8fe746a3e23d8cde072c3b2ba2060e56c62f
Author: Victor Lowther
Date: Fri Jun 6 19:48:38 2008 -0500
Incorrect comparison to skip non-run hooks when running hooks in reverse.
commit 772852daba024d968ddad8fa2c440d72433f9e8e
Author: Victor Lowther
Date: Fri Jun 6 19:42:54 2008 -0500
Remember to escape > in pm-functions when running hooks too.
commit 9187f1c652c40bbc9e1e8c7a1b72c18424a99afb
Author: Victor Lowther
Date: Fri Jun 6 19:38:26 2008 -0500
Actually remember to source our functions file in 50ntpd
commit 68cc25ef5701abd38066797fbc6a86e6f461060a
Author: Victor Lowther
Date: Fri Jun 6 19:34:53 2008 -0500
Add missing close brace in 50ntpd
commit 373c74b6ac3748cba04ee4e145555d93a409f4d0
Author: Victor Lowther
Date: Thu Jun 5 08:23:22 2008 -0500
Escape > comparison in 98smart-kernel-video
This closes Bug 16175 in fd.o bugzilla
commit e0c3437b0f934b83675a560a8cdbdd3212f98b1e
Author: Victor Lowther
Date: Thu Jun 5 08:23:22 2008 -0500
Escape > comparison in 98smart-kernel-video
This closes Bug 16175 in fd.o bugzilla
commit 0218a2dd4a87a2d4966eb0c49843c2773dc36453
Author: Victor Lowther
Date: Sun Jun 1 12:10:14 2008 -0500
Add initial support for handling hook failure
If a hook exits with a status code other then 0 or one of the
already-defined exit codes:
* Inhibit suspend/resume, and do not run any more hooks.
* Track the last sucessful hook that ran, and if we have to run hooks
in reverse start with that hook.
* If we inhibited for any reason, exit with a non-zero return code from
pm-action.
commit df34a14f1875c8bf650efbd0a9fa0a7561aa1677
Author: Victor Lowther
Date: Sun Jun 1 09:12:52 2008 -0500
Start 1.2 development cycle
commit 1803186ad283ad2ffee10956b197fc2199c0117b
Merge: c232dc3... 3dbc767...
Author: Victor Lowther
Date: Sun Jun 1 08:35:32 2008 -0500
Merge branch 'vlowther-reorganize-hooks'
commit c232dc324c37debc1268ea7f8d6f5a46c2a135d3
Author: Victor Lowther
Date: Wed May 28 21:27:04 2008 -0500
Bump revision to 1.1.2.2
commit 0a9f28988ccdfe2209f3864414168461b0115aae
Author: Victor Lowther
Date: Wed May 28 20:44:46 2008 -0500
Don't quote $PM_CMDLINE when saving initial parameters.
commit fc4b5c0962ca731ff59d1867a68caa0c00b8b02e
Author: Victor Lowther
Date: Wed May 28 20:06:44 2008 -0500
Make parameter manipulation more robust in the face of programmer
error.
Use cp and rm when manipulating parameter files instead of mv.
commit 3dd57d94dd26f2d0012fbc7bd1f3d192496c4491
Author: Victor Lowther
Date: Wed May 28 18:34:12 2008 -0500
Fix broken add_parameters functionality.
Also change storage directory cleanup to make things like this
easier to debug in the future.
commit 70f9c0b631b6bb6f2f394c0650d3b0b85c10a1c9
Author: Victor Lowther
Date: Tue May 27 19:09:32 2008 -0500
Bump revision number
commit eb03d095b926b43f116b9549cc0f38c8439ec65f
Author: Victor Lowther
Date: Tue May 27 18:59:13 2008 -0500
Save PM_CMDLINE correctly so that it shows up nicely in the logs.
commit bc70374c72ca0cc04e777ed15639fef0c8b9c847
Author: Victor Lowther
Date: Tue May 27 18:48:32 2008 -0500
Ensure that PARAMETERS.rm always exists.
commit cf6120adf4c455eb31d09955382fdd01bb16ef9d
Author: Victor Lowther
Date: Tue May 27 18:45:32 2008 -0500
Moved parameter saving os that it always happens after we take the lock.
commit 27b3f0f77592989863351634aad78d615b8cbba4
Author: Victor Lowther
Date: Tue May 27 18:41:20 2008 -0500
Fix reversed logic when creating a parameters file.
commit 361e8a769a808f5f329f80f24f67d5d144f334b6
Author: Victor Lowther
Date: Tue May 27 18:37:34 2008 -0500
Save all parameters into a file instead of one file per param.
This closes a security hole noticed by mbiebl.
commit 605e67234f5b9690feacc3431ed227db637df18a
Author: Victor Lowther
Date: Tue May 27 10:43:52 2008 -0500
Return $NA instead of 1 when smart-kernel-video is not applicable.
commit 0f506a904a0814d95a2d41ca873cfcf1776cff20
Author: Victor Lowther
Date: Tue May 27 07:04:00 2008 -0500
Fixed error resulting in no parameters being saved.
Moved the "mkdir -p ${STORAGEDIR}" command.
commit 8d90eea7dea8ec0bc2f4ab62feeb965cac8675ba
Merge: d48f63c... d9f3d68...
Author: Victor Lowther
Date: Mon May 26 07:44:55 2008 -0500
Merge branch 'man-xml'
commit d48f63c55f7281a2540dbb5515d5a42c1332545e
Author: Victor Lowther
Date: Mon May 26 07:34:32 2008 -0500
Actually install the documentation.
commit 595753506a5904c234964043b72bc53734e83dd7
Author: Victor Lowther
Date: Mon May 26 07:05:02 2008 -0500
Bump version number in preperation for release
commit 5e1b6fd697a7f14ad3bbec628d6bef09951a3995
Merge: f94d93e... 6b1b26a...
Author: Victor Lowther
Date: Mon May 26 06:50:56 2008 -0500
Merge branch 'man-xml'
xml-ized our manpages, and added manpages graciously donated by the
Debian project.
commit f94d93e8d4d988e7aa1bdc36bbbf0fadea724083
Merge: ab2deff... a95fac9...
Author: Victor Lowther
Date: Mon May 26 06:49:32 2008 -0500
Merge branch 'vlowther-binary-video-quirks'
commit ab2deff4eae5954e02bed2f01fbf81d2300b82fb
Author: Dan Nicholson
Date: Thu May 22 07:07:29 2008 -0700
Fix ChangeLog generation in distcheck
Fixed the ChangeLog target for all the various situations it might fail
in distcheck.
commit f68c246e2f2bbf2e52d0369bb195ff7aedb3c72a
Author: Dan Nicholson
Date: Thu May 22 06:57:54 2008 -0700
Don't remove ChangeLog on distclean
distclean is used in tarballs to return to a pristine state. Removing
the distributed ChangeLog would violate that.
commit 080429bad72c1ca87f636b85689d33e9096ff83b
Author: Dan Nicholson
Date: Thu May 22 06:54:39 2008 -0700
Ignore more generated files
commit d9f3d682eb02d08afbd29b0c588f90b414d2e482
Author: Dan Nicholson
Date: Thu May 22 06:11:38 2008 -0700
xmlto only takes a single file, don't pass more
Minor nitpick so that only a single file, the first prerequisite, is
passed to xmlto since it can only handle taking a single file. There was
only one prerequisite anyway, so... not much to see here.
commit e458c6e809cd2cf2112bbb885bec8d0b97af70a5
Author: Dan Nicholson
Date: Thu May 22 06:04:28 2008 -0700
Only create manpage symlinks when target pages have been installed
Instead of always creating the symlinks to pm-action.8, we first check
that it's actually installed.
commit 6db906ca51cc13d752f0b7e3462fd372ef06a49f
Author: Dan Nicholson
Date: Thu May 22 05:49:05 2008 -0700
Only build manpages when xmlto is available
Don't require users to have xmlto and DocBook XML installed just to try
pm-utils. However, since the man pages are required for dist, prebuilt
pages will be available in the tarballs.
commit 3dbc767c57e1a1ff1c59bcb6542a1f2ef7875579
Author: Victor Lowther
Date: Sun May 18 10:31:37 2008 -0500
update Makefile.am to reflect hook name changes,
commit 9eaef4ff2319e3813ba7ce17c30ffcdfb76506c2
Author: Victor Lowther
Date: Sun May 18 10:27:53 2008 -0500
Even more reorganization
commit cc55fcd04883f1462144eb3efdbb1c09fe7d6089
Author: Victor Lowther
Date: Sun May 18 10:25:01 2008 -0500
Split the NTP handling code in 90clock into its own code.
While I was at it, reorganized the hooks to conform to the new
ordering convention.
commit 6b1b26a50be94eef59df0a735a2b4ba0358662a7
Author: Victor Lowther
Date: Sat May 17 19:24:56 2008 -0500
Missing a tag in pm-powersave
commit a95fac932e9f9a921690860bd01f4e5b88b619c2
Author: Victor Lowther
Date: Sat May 17 19:17:21 2008 -0500
Stefan pointed out that >= is not a valid string comparison op for test.
commit b7689e5134fa18982d1b98711f057754d0ecbed2
Author: Victor Lowther
Date: Sat May 17 19:02:56 2008 -0500
More pm-actiom manpage updates.
commit a6e2ad4abd3b16657ee792311c25a364d537d38d
Author: Victor Lowther
Date: Sat May 17 10:01:00 2008 -0500
Remenber to set IFS back to normal before exiting run_quirks.
commit 824f18a0d32f9f2a1ef661748bd35245a850af03
Author: Victor Lowther
Date: Sat May 17 09:54:18 2008 -0500
arrgh, need to actually export PM_CMDLINE.
commit e030d991958724c96d17adb244d64d17c4dd9df6
Author: Victor Lowther
Date: Sat May 17 09:43:08 2008 -0500
Cleanups to parameter manipulation to make it a bit less evil
This involved restructuring the run_hooks loop a bit, but it does clean
things up some.
commit 6394817797757edcc5a3e20efaad0d6d95398557
Author: Victor Lowther
Date: Fri May 16 22:49:15 2008 -0500
log() is not in scope in hooks.
commit d37f75e1b7b3c7ab8fee98606ecb3334b3af1eab
Author: Victor Lowther
Date: Fri May 16 22:40:56 2008 -0500
Make remove_parameters all work again.
commit b680545d57649aeef740b91657e381512553ee47
Author: Victor Lowther
Date: Fri May 16 22:19:47 2008 -0500
Fix another stupid error in get_parameters
* is not a valid parameter.
commit 2292a5914e63fb911b4c074155e1f2c71418fbfe
Author: Victor Lowther
Date: Fri May 16 22:07:39 2008 -0500
fix stupid typo in get_parameters.
commit 6ddd3b7eec599bf29ac1b4a5c61a153708c202a9
Author: Victor Lowther
Date: Fri May 16 21:56:36 2008 -0500
Handle binary video drivers using --quirk-none instead of disable_hook
Otherwise, we would have to duplicate everything to handle the uswsusp use
case, and that would be extra annoying.
commit 22aaeeca28fbbbce7ed9d01124ed51ccbf450888
Author: Victor Lowther
Date: Fri May 16 21:18:53 2008 -0500
Minor cleanups in 98-smart-kernel-video
commit 8c366f223d8db7143ef7c458f0503655af5716b6
Author: Victor Lowther
Date: Fri May 16 21:12:47 2008 -0500
Split smart kernel video driver handling to a different hook.
The new 98-smart-kernel-video hook just disables 99video outright if we are
running a video driver that is spart enough to handle its own quirks.
commit 57d53b3bcb4aa218a63b48d14dc5ca0a1caad99a
Author: Victor Lowther
Date: Fri May 16 21:05:08 2008 -0500
Added support for vbe post with a romfile
Apparently some video cards do not post when using the onboard BIOS.
commit 8dd65d7dacc708f7320b0d362085889eb4f31f1a
Author: Victor Lowther
Date: Fri May 16 19:16:00 2008 -0500
Added support in 99video to check for a "smart enough" kernel video driver
One that is "smart enough" knows how to handle video card reinitialization
without needing any of the usual quirks. Right now that list includes:
* nVidia binary driver.
* fglrx ATI binary driver.
* Intel i915 DRM driver on kernels at or after 2.6.26
commit a91dfd180848a8b61bcdfa966360636c820bfa7d
Author: Victor Lowther
Date: Thu May 15 13:02:44 2008 -0500
Split out the debugging information into README.debugging.
I will add more thurough information on how to debug pm-utils later.
commit 19a2e2412b19816b15380791774811b377abe9a4
Author: Victor Lowther
Date: Mon May 12 13:06:07 2008 -0500
Forgot pm-powersave.xml
commit f4b0f36cceaafe2368d8a0ba41515e89253add4d
Author: Victor Lowther
Date: Mon May 12 13:02:13 2008 -0500
Remove Debian-specific information from the imported manpages.
Also rewrote parts of the pm-action manpage for clarity.
commit 2250cd17cf7da757a267aa0d57e4fe9d48a6f3a5
Author: Michael Biebl
Date: Sat May 10 19:11:16 2008 +0200
Fix man page section
- Put pm-pmu into man page section 8 (admin tools)
- Fix references to pm-suspend, which is also section 8
commit 3342684a217aefa3179192dad9cb364b9a319e20
Author: Michael Biebl
Date: Sat May 10 18:55:54 2008 +0200
Make xmlto mandatory.
Make xmlto mandatory for now. We can provide ./configure switch if
requested.
commit c6c675a5d85e0a3cf664eeb2e936102623cbf8d2
Author: Michael Biebl
Date: Sat May 10 18:47:55 2008 +0200
Create symlinks for pm-action man page
Create symlinks for pm-suspend.8, pm-suspend-hybrid.8 and pm-hibernate.8
pointing to pm-action.8
commit 2ceff51a323d13ab9b8df1a0b6db46b436d8e053
Author: Michael Biebl
Date: Sat May 10 18:36:18 2008 +0200
Create man pages from docbook xml
- Remove old docbook2man rules.
- Add rules for creating man pages from docbook xml using xmlto.
commit 8cff1174e991e21283032439ca972a6b4005c91f
Author: Michael Biebl
Date: Sat May 10 18:34:59 2008 +0200
Ignore *.8 man pages.
commit dfb21b7d57fe12f2c9db3eb7d6904a0ab531b70b
Author: Michael Biebl
Date: Sat May 10 18:34:23 2008 +0200
Fix configure check for xmlto
- Search for xmlto, not XMLTO
- Remove obsolete check for docbook2man
commit 0d7f3d63b713c063703c2ab75d49eb5689dcfe6c
Author: Michael Biebl
Date: Sat May 10 18:25:05 2008 +0200
Convert docbook sgml man pages to docbook xml
commit a82ff0c63a73903bc314ea86847a0d712d38645b
Author: Michael Biebl
Date: Sat May 10 18:24:24 2008 +0200
Copy docbook xml man pages from Debian.
commit 6816feeeee67fe9ee84d409753dc590c16ddfaa3
Author: Michael Biebl
Date: Sat May 10 18:02:22 2008 +0200
Add a configure check for xmlto
commit c6c5d707f81f7c3c8b44971c0f48b63e634dbaed
Author: Michael Biebl
Date: Sat May 10 18:06:20 2008 +0200
Ignore autogenerated pm/pm-functions.
commit 49ef4f784d8489780542736d748cad04fe05a34f
Author: Victor Lowther
Date: Sat May 10 08:44:05 2008 -0500
Added special-casing of mode 3 in vbe_restoremode
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.
commit b8fb53358d2aa90d694080486bd7f828d891e0be
Author: Victor Lowther
Date: Sat May 10 08:18:21 2008 -0500
Minor functions.in formatting changes.
commit 831626d71e56c9241a3a77eab6f4cbc7f99e01d1
Author: Victor Lowther
Date: Sat May 10 07:53:48 2008 -0500
pm-functions.in cleanups and minor fixes.
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.
commit e385c44402d3d1ba80b17e96ba4ced6d4c3650fa
Author: Victor Lowther
Date: Wed May 7 20:40:04 2008 -0500
Fix vbe mode restore bug
Partial fix for pm-utils bug no. 15840 -- it does not include the
vgamode special-case code.
Thanks, Martin Pitt!
commit ddbee7518ba53ab2161934bcdc4eea0394a27371
Author: Victor Lowther
Date: Wed Apr 30 22:27:25 2008 -0500
Simplify implementation of check_suspend a bit.
Why use 4 commands where 2 will do?
commit 2d7fce602129abb1ce0590cd00637375a3423a62
Author: Victor Lowther
Date: Wed Apr 30 22:19:41 2008 -0500
Added comments and minor fixes.
commit 39b5eb3eb9a7353c5dacc91b672afae3ce9c97de
Author: Victor Lowther
Date: Wed Apr 30 19:15:31 2008 -0500
Normalize error checking introduced by a068f3fbc7c522.
'if [ command_exists "do_$METHOD" ]' always returns true -- [ is a command,
not shell syntax.
commit d98360b945cd44701a925192f36d7ef681a92823
Author: Dan Nicholson
Date: Mon Apr 28 07:41:16 2008 -0700
Only build man pages when docbook2man is available
Since not everyone has the whole DocBook chain, the building of the
man pages is now conditional on the docbook2man utility being available.
The built man pages are always included in `make dist', meaning that
docbook2man must be available in that situation.
commit a068f3fbc7c522bba62991dd7ffc7a2eb4aeee2e
Author: Till Maas
Date: Mon Apr 28 03:00:22 2008 +0200
- do not run hooks if do_$METHOD does not exist
- log it when it does not exist
- log abortion because of $INHIBIT
commit 3c12201486d6470e6f3596704f8d305e71a143ea
Author: Victor Lowther
Date: Sun Apr 27 16:32:24 2008 -0500
Fix bug that would cause init_logfile to die if the logfile did not exist.
Add an explicit check for file existence instead of relying on -O to do it
for us.
Thanks, Till Mass for pointing this out.
commit 1fd4bb49ff73fff69fa6e4e94baeb9699fa2f00e
Author: Till Maas
Date: Mon Apr 14 22:29:53 2008 +0200
- add -w to grep in hibernate check to avoid matching "testproc" with "test"
"shutdown" with "shut" Reported: Red Hat Bugzilla: #427018
commit e9f88b34d75052bab78fe9747f5c90b9f0f4a02c
Author: Till Maas
Date: Mon Apr 14 20:57:32 2008 +0200
- Mention "${PM_FUNCTIONS}" instead of harcoded 32bit path for functions file
commit e6219e13d19c741c24822da40e20d37b81b3be5a
Author: Victor Lowther
Date: Sat Apr 12 08:26:17 2008 -0500
Fixed arithmetic expansion bug in uswsusp found by checkbashisms.
commit 69456c003c8a03e809f88f159aeaa05d35134b71
Author: Victor Lowther
Date: Thu Apr 10 22:02:15 2008 -0500
Added a README file for the distributions.
It describes a better method for packaging hooks needed for suspend/resume --
namely, put the hooks in the package tht requires them rather than making them
a part of the pm-utils package.
commit 93af881ac18718c8eae7f575c3f30396791b0e75
Author: Michael Biebl
Date: Mon Apr 7 10:55:05 2008 +0200
Add safety check before writing mode to /sys/power/disk
Be extra paranoid and only set HIBERNATE_MODE if it is actually
supported.
commit 4b527b7b88e146e9633a11337e3055d282b5c281
Author: Michael Biebl
Date: Mon Apr 7 10:47:28 2008 +0200
/dev/pmu better be a character device
commit 782e3549d5cafb2a35e83faf88695a742a5fe64b
Author: Michael Biebl
Date: Mon Apr 7 00:12:43 2008 +0200
Disable 00clear for uswusp sleep module.
s2ram has its own vt switching logic, so disable 00clear for the uswsusp
sleep module.
commit a410403c9fcf04841805d0311424bf6d7d3e083e
Author: Michael Biebl
Date: Wed Apr 2 09:41:12 2008 +0200
Check for s2ram in check_suspend().
The uswsusp sleep module uses s2ram now for do_suspend(), so check
for the command in check_suspend().
commit 9a5792fbc6198c3b2a0fa89e4765b199cc65fb83
Author: Michael Biebl
Date: Tue Apr 1 01:51:05 2008 +0200
Add some ideas how to integrate pm-utils with hal
Add functionality to automatically retrieve quirks from hal or store
them as fdi file.
commit 32fa5f0c571d15b79547981501d2047ed094e9bd
Author: Michael Biebl
Date: Tue Apr 1 01:46:20 2008 +0200
Add some notes about updating and merging the man pages from Debian.
commit 5ab80370c35c1b8a103b86ee7ab4861c9e2fd814
Author: Victor Lowther
Date: Mon Mar 31 18:22:27 2008 -0500
Added note about suspend-hybrid handling to TODO.
Also modified formatting to make it easier to read.
commit 0bb9565ead57cba02c02b73f6ee7f59bc60b89ff
Author: Richard Hughes
Date: Mon Mar 31 19:38:35 2008 +0100
post release version bump
commit 2c0d6788531e79e5eb184e60420064edc9a83ed6
Author: Richard Hughes
Date: Mon Mar 31 19:37:51 2008 +0100
Victor Lowther is the new maintainer of pm-utils
commit 6eed56bc0073e8ff2cc5aad8ee9f3355e8bddd32
Author: Victor Lowther
Date: Sun Mar 30 10:51:19 2008 -0500
Final touchup to NEWS, make logging in pm-action a bit prettier.
commit 116ed5d18838652f2405126958e8ed6e75527224
Author: Victor Lowther
Date: Sun Mar 30 10:42:44 2008 -0500
Updated NEWS file to include changes to the pm-utils project.
commit 4ffb15d6e3f0f87f952a7e747563ead099f8ae6a
Author: Victor Lowther
Date: Sat Mar 29 17:44:16 2008 -0500
Updated version number
commit 4db81081d77847abc7461423dc0b40b60587c2d2
Author: Victor Lowther
Date: Sat Mar 29 16:21:26 2008 -0500
Comment fixups in preperation for release.
In particular, add comments to the top of the sleep hooks describing what
each of them is for.
commit b0c4c0a8bd4139a9da92f4cd25d0694b5911d9e1
Author: Victor Lowther
Date: Sat Mar 29 15:12:12 2008 -0500
Spelling fixes in README and TODO
commit 0c8886a67f04414c65ff71cea6d046f4f903ca30
Author: Victor Lowther
Date: Sat Mar 29 14:14:55 2008 -0500
Updated NEWS and TODO files in preperation for release.
See the files themselves for more details.
commit 763243bad7ed0daf433e8c1793b602f563c5fbbd
Merge: bae3503... df039c9...
Author: Victor Lowther
Date: Sat Mar 29 12:53:57 2008 -0500
Merge branch 'master' of ssh://vlowther@git.freedesktop.org/git/pm-utils
commit bae3503fb464be7a0cd78462cd2c3d0b65e51a23
Author: Victor Lowther
Date: Sat Mar 29 12:52:14 2008 -0500
Updated README in preperation for making a stable release.
commit df039c9dc6917d7283d50c78a17405d38af77e96
Author: Michael Biebl
Date: Fri Mar 28 15:44:43 2008 +0100
Improve PMU check
Test if /dev/pmu is a character device.
commit bf5f55f5b5ec375ac1b0b565011b8bf9d0ccf178
Author: Victor Lowther
Date: Thu Mar 20 19:33:44 2008 -0500
Avoid incorrect exit code 1 failure messages in the log.
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.
commit 61e2d92c43953537855e89b744844b0af7b84700
Author: Victor Lowther
Date: Thu Mar 20 19:15:51 2008 -0500
Prettify logging a bit more.
Now with added timestamps, so you can see how long running all the hooks takes.
commit f5419be4798d653a76e18e598236b140450ea127
Author: Victor Lowther
Date: Thu Mar 20 18:05:36 2008 -0500
Cleaned up logging of which hooks ran a bit more.
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.
commit 5c88707ceb3ed04d7562f31f5a3aee1a4c1d895b
Author: Victor Lowther
Date: Thu Mar 20 18:58:54 2008 -0500
No need to clear the screen on 00clear.
Allocating and deallocating vt 63 take care of that for us.
commit 4177c51a5b713eff1dd07c65c723a87e297410c9
Author: Victor Lowther
Date: Thu Mar 20 18:54:06 2008 -0500
Modify 94cpufreq to use savestate/restorestate more efficiently
commit 95905af6b3a549b12bb9054043ce91a53d54c3cc
Author: Victor Lowther
Date: Thu Mar 13 17:24:55 2008 -0500
No need to print replies from dbus in 55battery.
commit 6ae1dd2b1f0ab8f9e7f63e38473f109bafc8106b
Author: Victor Lowther
Date: Thu Mar 13 17:22:00 2008 -0500
Simplified implementation of 49bluetooth.
No need for awk or for case statements.
commit 23bc36cba4c017f70198ce3278db5597183f1e41
Author: Victor Lowther
Date: Thu Mar 20 17:45:09 2008 -0500
Use 'all' instead of "*" to remove all commandline paraameters.
commit a0b7a9e72d98312a1efd94e738a427c2694461df
Author: Victor Lowther
Date: Thu Mar 20 16:49:51 2008 -0500
Missed a close quote in modules.d/kernel
commit 73ab1734f6d353ad4ee2d2f671e3944810fb88e7
Author: Victor Lowther
Date: Thu Mar 20 16:43:07 2008 -0500
Added easy support to drop all parameters.
Just set DROP_PARAMETERS to "*"
commit f75ffa2e8c5391b50177375f0b46653dbd38cc7f
Author: Victor Lowther
Date: Thu Mar 20 12:48:19 2008 -0500
Changed kernel hibernation to use the default kernel method unless overridden.
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.
commit 868a6fabf6b254c53b12309fa9719eb5120e6d3f
Author: Victor Lowther
Date: Wed Mar 19 21:34:37 2008 -0500
Fixups in hook blacklisting and parameter removal.
commit a4f4526748482fd8c08a132d4dcb4762fc111041
Author: Victor Lowther
Date: Wed Mar 19 21:25:37 2008 -0500
remove_parameters was not doing The Right Thing.
Rewrote parameter removal loop to try and fix that.
commit 0129bc69e33523c9746a44fb4a78e25579acecb8
Author: Victor Lowther
Date: Wed Mar 19 21:09:40 2008 -0500
Make the hook blacklist and parameter overrides use env. variables.
This came about after a long discussion with mbiebl on the best way to
configure settings in pm-utils.
commit 174f1430e76dfcf9d45e6d44422a47c2e2bba369
Merge: ea374c8... 55e3dbb...
Author: Victor Lowther
Date: Wed Mar 19 20:35:54 2008 -0500
Merge branch 'vlowther-stabilization-bugfixes' into vlowther-default-parameters
Conflicts:
pm/pm-functions.in
commit 55e3dbbfe6dc6ffae294cb1976a1a5c6cf9362da
Author: Victor Lowther
Date: Wed Mar 19 20:15:47 2008 -0500
Added copious commenting in the defaults file.
commit 616c86edd7030f3cb1eaf7e08444f8882830977a
Merge: 53743fa... 2d224fc...
Author: Victor Lowther
Date: Wed Mar 19 19:50:53 2008 -0500
Merge branch 'master' into vlowther-stabilization-bugfixes
commit 53743fa7e2f1248fcaf1e6fe62a8390dcfadffcf
Author: Victor Lowther
Date: Wed Mar 19 19:48:31 2008 -0500
Rewrite fix for suspend_hybrid in a more elegant fashion
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.
commit ea374c82c37f881398cfa0eea2c7518286e1ae42
Author: Victor Lowther
Date: Tue Mar 18 19:25:39 2008 -0500
Addind logging to add_parameter and remove_parameter
commit aaf4bb9cc962c4aaf5004d53ce86d5fc29ae2be9
Author: Victor Lowther
Date: Tue Mar 18 19:21:19 2008 -0500
Fix logic error in remove_parameter.
commit e49b18c42f3c501e3d352df8b5356ba8cff1e6ab
Author: Victor Lowther
Date: Tue Mar 18 19:05:31 2008 -0500
Updated /etc/pm/parameters parsing.
Now we can add and remove parameters passed from our invoker.
commit 2d224fc56941d6c6c65b51d0e9943b331b8e69b8
Author: Victor Lowther
Date: Mon Mar 17 19:16:19 2008 -0500
Mask out acpi_sleep settings when --quirk-none is passed.
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.
commit 5292f700d84d50e40d6690d415ba5f97b39979d4
Author: Victor Lowther
Date: Mon Mar 17 12:24:04 2008 -0500
Add more logging -- log parameters and the hook blacklist.
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.
commit 29a615e95956da7bbc925a0d139ea38fa4956530
Author: Victor Lowther
Date: Mon Mar 17 07:30:45 2008 -0500
Actually make "make dist" work.
--git-dir has to come before the log command when generating the changelog.
commit 5d4eaefc302d35d5a3ac2fbdf09a799597b5c536
Author: Victor Lowther
Date: Sun Mar 16 18:57:38 2008 -0500
QUIRK_NONE was not being honored in uswsusp.
Added code to zero out OPTS if QUIRK_NONE = true.
commit f8a6c613a3f432b96d076e16c036de74c27a0856
Author: Michael Biebl
Date: Mon Mar 17 00:27:07 2008 +0100
Remove outdated documentation.
We handle video quirks in uswsusp now, so this documentation is outdated
and best removed.
commit 5de0eb47fc7b0a07b9fc1df6ad20ed9912ef492a
Author: Michael Biebl
Date: Mon Mar 17 00:13:46 2008 +0100
Parse video quirks in uswsusp sleep module
- 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.
commit 54eff27133ce0ed1f899b237d9946a3f31546a96
Merge: 1234dd9... fe61299...
Author: Michael Biebl
Date: Sun Mar 16 23:58:19 2008 +0100
Merge branch 'pmu'
commit 1234dd9926d0f5a816a5a0728d7289dd932d87e0
Merge: 9ebfc96... e9f2ddf...
Author: Victor Lowther
Date: Sun Mar 16 17:24:52 2008 -0500
Merge branch 'master' into vlowther-stabilization-bugfixes
commit 9ebfc96ce7558bb7db0132d579ec85dde77237e9
Author: Victor Lowther
Date: Sun Mar 16 16:49:11 2008 -0500
Updated README to describe /etc/pm/blacklist and /etc/pm/parameters.
Also added a bit of documentation describing --help.
commit fe612997f9809777864ce859ad5ad47a02fb6dcb
Author: Michael Biebl
Date: Sun Mar 16 19:01:59 2008 +0100
Better PMU support.
- If /dev/pmu is existent, assume we can suspend
- Don't try to run pm-pmu on machines without a PMU
commit e802a8c71ed3a2f696181d69b0feca80b5aba06f
Author: Victor Lowther
Date: Sun Mar 16 16:33:36 2008 -0500
Consolidated console save/restore code.
Instead of having console switch/restore logic spread out all over the place,
have 00clear perform all our console switching.
commit e9f2ddf6709c2d8b8bf9eed16a20a2123a51f747
Author: Michael Biebl
Date: Sun Mar 16 19:07:02 2008 +0100
Make the modules shell script
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.
commit 4fe96950186e616db17767ce78690f7b82231a51
Author: Victor Lowther
Date: Sun Mar 16 11:24:55 2008 -0500
Fix bug where pm-is-supported could only be run as root.
Now we only parse the blacklist and the default parameters when we are taking
the suspend lock.
commit 1de164bdd3915e7c93329a9df77064ed7b402ea1
Author: Victor Lowther
Date: Sat Mar 15 18:04:11 2008 -0500
Mostly seperated vt switching logic from the suspend_lock logic.
This should fix the breakage implemented by moving the locking.
commit 40cf5324abdfa5eac08cba836ca84097849ad188
Author: Victor Lowther
Date: Sat Mar 15 17:18:17 2008 -0500
Implemented sleep_method_help support.
This intergrates sleep modules into the help system.
commit de8659ed4bb5d42251ee8695fc54642dbcce0604
Author: Victor Lowther
Date: Sat Mar 15 17:07:49 2008 -0500
Moved locking in pm-action.
This fixes a help-related bug that Michael Biebl noted.
commit 962304a9279c244c9cdc1328cb800dd6bd49736e
Author: Victor Lowther
Date: Sat Mar 15 16:38:32 2008 -0500
Restore separate logging functionality
Somehow the changes introduced by 1fb77e994d7d1628c86324066693fd23d4abfb6c
got dropped in the merge process. Restored them.
commit 135bc1f5858caeae2b803e1e5c220b284c45b03c
Merge: 0234380... c99900e...
Author: Victor Lowther
Date: Sat Mar 15 13:54:18 2008 -0500
Merge branch 'vlowther-dynamic-hook-disable' into vlowther-default-parameters
commit c99900e9e8bf7f909ac42f825e5f2694dc26b611
Merge: 8626bbd... ac2e951...
Author: Victor Lowther
Date: Sat Mar 15 13:53:31 2008 -0500
Merge branch 'master' into vlowther-dynamic-hook-disable
Conflicts:
pm/pm-functions.in
commit ac2e951e553f69dc5ab04b37f4e973bebdb1f5c4
Author: Victor Lowther
Date: Fri Mar 14 07:21:34 2008 -0500
Split functions.in into functions.in and pm-functions.in
pm-functions.in contains the functionality that should only be used by the
pm-utils frontends (pm-action, pm-is-supported, and pm-powersave).
functions.in contains code that is shared between the hooks and the pm-utils
frontends.
The reason behind splitting this out is to reduce namespace pollution in
the hooks and to eventaully make it easier to split the hooks into their
own package.
commit 0234380da899b2ae52ab5d88dde9914c6f1e3170
Merge: 44cbf06... 8626bbd...
Author: Victor Lowther
Date: Thu Mar 13 10:02:51 2008 -0500
Merge branch 'vlowther-dynamic-hook-disable' into vlowther-default-parameters
commit 8626bbd7551f8342abc7536899f55f49fd0820e9
Author: Victor Lowther
Date: Thu Mar 13 10:01:31 2008 -0500
Updated HOWTO.modules to mention before_hook.
Sleep module writers, take note.
commit 44cbf065577bbe9ae9ffc783895cbe45f42c3f13
Merge: dce0189... a30d46c...
Author: Victor Lowther
Date: Tue Mar 11 19:56:03 2008 -0500
Merge branch 'vlowther-dynamic-hook-disable' into vlowther-default-parameters
commit a30d46c64050f919f96baf626ae13d79d1023317
Author: Victor Lowther
Date: Tue Mar 11 19:54:21 2008 -0500
Optionally ignore two leading digits in the hook filename in hook_ok
Requested by Michael Biebl.
commit dce01897081f9c23b3b33ed600b4190ac91f8ee3
Merge: 0978de0... 02685b1...
Author: Victor Lowther
Date: Tue Mar 11 17:29:29 2008 -0500
Merge branch 'vlowther-dynamic-hook-disable' into vlowther-default-parameters
commit 02685b1ea67e656c646f8bcbad6645df08441ee5
Author: Victor Lowther