After far far too long, hibernate finds itself being released again.
1.91 is intended to be a pre-release to ensure 2.0 is well-tested.
There have been a lot of changes and patches merged since the last
release that I'd like to see get some more testing. Sources and RPMs
are available from
www.suspend2.net/downloads/ . Gentoo ebuilds and
Debian packages should be trickling through the usual channels
already, thanks to Brix and Martin Krafft.
Configuration changes
---------------------
The biggest difference from the previous release is that the default
configuration is now split up into multiple configuration files. As
Martin Krafft explains,
Hibernate now supports two new directives: Include and TryMethod.
The first one is designed for common settings to all suspend
methods (such as hooks), which can now be exported to a single,
commonly used file (common.conf). TryMethod, on the other hand,
is an include directive especially made for the different suspend
methods (suspend2, vanilla suspend-to-disk, suspend-to-ram). If
encountered, hibernate will load the file, try to suspend, and
simply move on to the next TryMethod (or Include, or directive),
if it failed. This allows different suspend methods to be tried in
turn and should make your life much easier by working out of the
box (hopefully!).
Thus there are now 5 configuration files:
hibernate.conf
suspend2.conf
disk.conf
ram.conf
common.conf
You shouldn't need to modify hibernate.conf unless you want to
customise precisely what the hibernate command does (a symlink to
hibernate called hibernate-ram is recommending for suspend-to-ram).
The rest is pretty self-explanatory - common options in common.conf,
method-specific options into the relevant .conf file.
Regardless of all this, everything should still be backwards
compatible. If you're happy with your configuration as is, you don't
need to change a thing. If something does break, please let me know
and I'll have it fixed before 2.0.
New options
-----------
PauseAudio will pause your audio player before suspending so that
you do not find yourself in an embarrassing situation on resume (eg,
blaring loud music in a library). It currently supports xmms,
beep-media-player and quodlibet. Patches for other audio players are
welcome.
Runi915resolution for users with a wide-screen display and an i915
card.
DummyXServerConfig allows you to use a different config file for the
dummy X server that is started if you need to.
LockGnomeScreensaver - supports the new gnome-screensaver.
LogTimestamps will put timestamps in hibernate.conf for each step of
suspend and resume. It's recommended only to turn this on for
optimising suspend/resume time, otherwise it'll actually slow things
down!
Other changes
-------------
The rest of the changes include bugfixes, added robustness and
other small creature comforts. Full changelog is at the end of this
email.
Thanks to everyone who has been sending patches. Many of these have
been merged (listed in the changelog below). I know there are still
some more waiting in bugzilla and in the Debian BTS - I'll try to
get to these shortly. A big thanks must also go to Martin Krafft for
collating all the Debian patches together.
1.90 (5 June 2006)
- Add $CONFIG_PREFIX to install script.
- Refine grub menu restoration messages.
- Make xlock scriptlet mawk-compatible.
- Don't output config options with --help.
- Allow PowerdownMethod 0 (don't use ACPI).
- Don't evaluate $? too early. (Henrique de Moraes Holschuh and Alon Bar-Lev)
- Try an alternate method of finding X parameters. (Joey Hess)
- Allow disabling the xmessage dialogs. (Joey Hess)
- Added pause_audio scriptlet to avoid embarrassing situations. (Joey Hess)
- Fix xosd font quoting issues in xstatus. (Joey Hess)
- Add an option for running i915resolution on resume. (Joey Hess)
- Split out config files into a new structure.
- Add the ability to try various suspend methods until one succeeds.
- Support for pccardctl. (Martin F Krafft)
- Fix X11R6/bin not appearing in path through su in xlock. (Leonid Evdokimov)
- Allow passing a different config to UseDummyXServer. (Wolfgang Karall)
- Support for gnome-screensaver. (Sam Noble)
- Fix file locations and paths for slackware. (PJ Beers)
- Don't allow suspending when rebooting or shutting down. (Henrique de Moraes Holschuh)
- Support for timestamps in hibernate.log (for profiling)
1.91 (5 June 2006)
- Call common.conf from each of {suspend2,disk,ram}.conf so that hibernate-ram
works again.
--
Bernard Blackham <bernard at blackham dot com dot au>