Unreleased - Change default compressor to lzo (applies to TuxOnIce 3.0.1 and later) - Remove executable state from virtualbox scriptlet. 2.0 - Change remaining "Software Suspend", "Software Suspend 2" and suspend2 references to TuxOnIce. - Redirect stderr to /dev/null when resetting the cpu scaling speed. - Fix errors of the type sh: arithmetic expression: expecting primary: "5&1", which occured at resume time. sh likes whitespace around operators, it seems. - Remove NVidia from blacklist as of 2.6.25 kernels (seems to be about the time when it became usable). - Blacklist snd_ice1712. - Rename suspend2 files to tuxonice. - Apply Archlinux patch for KDE4 locking from http://repos.archlinux.org/viewvc.cgi/hibernate-script/repos/extra-i686/add-freedesktop.org-locking.patch?view=markup - Add VirtualBox scriptlet from bug 394 - Apply fix from bug 245, so amarok's use of xmms plugins doesn't make the hibernate script think xmms is running. - Modify HIBERNATE_FILEWRITER_TRAIL in init.d/hibernate-cleanup.sh to match scriptlets.d/tuxonice. - Add support for locking Enlightenment 17, from bug 400. - Unblacklist iwl3945 and the mac80211 modules, post 2.6.27. - Add pidgin script from bug 322. - Add DirectIsa option for clock scriptlet. - Bump version to 2.0. 1.99 (1 May 2008) - Complete support for the new binary signature - Blacklist uvcvideo for now. Causes an oops at atomic copy under some circumstances (2.6.25). - Change most references to suspend2/Software Suspend etc to TuxOnIce. (Most = not the ones that shouldn't be changed!) - Remove long gone save/load all settings support. - Handle recent kernels returning "" from the cpu freq scaling_setspeed sysfs entry. It was causing the hibernate script to die prematurely. - Fix a minor typo in USuspendRamPCiSave blurp (Madduck) 1.98.1 (31 March 2008) - Correct a typo in the way I fixed bashisms in 1.98, which prevented hibernate from running at all. Sorry. 1.98 (31 March 2008) - Some fbsplash fixups, default theme is taken from cmdline now (Alon Bar-Lev) - Fix filewriter issue (Alon Bar-Lev). - Add some notes about dependencies at common.conf (Alon Bar-Lev). - Fixup FindXServer environment settings, Gentoo bug#199806, Debian bug#457185 (Alon Bar-Lev). - Update gentoo module reload to meet openrc (Alon Bar-Lev). - Silent wait for fbsplashd to quit (Alon Bar-Lev). - Implement USuspendRamPciSave to allow passing the -v option to s2ram (Debian bug#473322). - Implement "USuspendRamRadeontool to allow passing the -r option to s2ram; Debian bug#445974 (Matthijs Kooijman). - Work around a bashism when mktemp is not available; Debian bug#464989 (Morten Werner Forsbring). - Remove further bashisms (local variables are initialised on declaration); also Debian bug#464989. 1.97 (6 October 2007) - Add USuspendRamUnsureOk config option to instruct s2ram to continue when it's unsure about the system type, thus not requiring -f to be passed (thanks to Andrew Pimlott; Debian bug #433028). - Add AcpiVideo* to hardware_tweaks (Alon Bar-Lev) - Modify modules_gentoo for baselayout-2, will work with baselayout-1 too (Alon Bar-Lev) - Modify for splashutils-1.5.1.1 (Alon Bar-Lev) - Add uswsup support to hibernate-cleanup (Alon Bar-Lev) - scriptlets.d/lock now supports XtrLock (Patch by "cg"; Debian bug #427475). - move get_env_var_of_process function to main script so that it may be reused; also make gaim scriptlet use it (Patch by Pascal Dormeau; Debian bug #433003). - add scriptlets to make hibernate enable offline mode of sylpheed-claws and galeon; thanks to Norbert Buchmuller (see Debian bug #427376). I was unsure whether to include these, but there seem to be users and I accidentally distributed them in the last release of the Debian package, so I might just as well push them upstream now anyway... - patch by Joey Hess which fixes the backlight script to work better if the backlight was initially below 10% (Debian bug #434825). - scriptlets.d/sysfs_power_state: use `uname -m` instead of `arch`; thanks to Uwe Herman (Debian bug #436287). - prevent double execution of included configuration files (Debian bug #433965). This also takes care of Debian bug #392712. Thanks to "CSights" and Martin Ziegler for analysing this. - Fix filewriter support for Tux-On-Ice; thanks to Matthias Hensler for the patch. - Add iwl3945, mac80211, and sky2 modules to blacklisted-modules; thanks to Jan Ondrej. - Add anacron to comment for RestartServices (Debian bug #414100). 1.96 (16 July 2007) - Stop blacklisting button module after 2.6.21. - Fix support for file & swap allocators (rename from $NAMEwriter). - Add support for rename of Suspend2 to TuxOnIce. - Add support for rename of /sys/power/suspend2/resume2 to .../resume, matching Suspend2 release 2.2.10.2 and later. - Cope with clock going backwards when considering LAST_RESUME_WAIT (Thomas de Schampheleire) - Fix typo in scriptlets.d/ususpend (Alon Bar-Lev) - Use modprobe -r -N instead of rmmod (if we have it). - Don't lock screen when doing bug reports. - Blacklist the ipw3945 module (Debian bug #427252) - Add LSB headers to init.d/hibernate-cleanup.sh - Add USuspendRamVbeMode and USuspendRamAcpiSleep to pass -m/-a flags to s2ram (mainly for Intel chipsets) (Ricardo Salvetti, Enrico Tassi; Debian bug #427684). - Add SwitchToTextModeOnResume option. Unlike SwitchToTextMode, which switches, hibernates, and returns to X on resume, this option waits until after the resume, then switches to text mode and then back to X (Joey Hess; Debian bug #420400, #420401). - scriptlets.d/network: run ifup in the background on Debian/Ubuntu to avoid locking problems (Joey Hess; Debian bug #422539). - scriptlets.d/lock: do not hang in FindXServer when no XAUTHORITY variable is set. - scriptlets.d/xbacklight: fancy fading on suspend and resume thanks to Joey Hess (Debian bug #430148). - scriptlets.d/gaim: inform running gaim instances of suspend/resume to let them go offline/online (thanks Norbert Buchmuller; Debian bug #427376). - scriptlets/networkmanager: put NM to sleep and wake it up after resume (thanks Markus Becker; Debian bug #387456). - disable vbetool by default in ram.conf (Debian bug #400688). - brought hibernate.vim up to speed. 1.95 (18 May 2007) - Add support for renamed swap and file directories in suspend2 2.2.8.4 and later. - Apply hibernate script patches from Christopher Sawtell. - Make vcat always transparent (fixes vbetool failures) - Remove restriction from init.d script that swap partitions must be labelled as swap in a partition table (unlike some dm-crypt devices). (Alon Bar-Lev) - Call 915resolution restart instead of start on Gentoo. (Alon Bar-Lev) - Promote ubuntu to distribution status. - Fix gfx_brightness in cases the proc file shows a 0 (Joey Hess; Debian bug #410750). - Add videodump scriptlet by Joey Hess to dump and reload the video card memory (Debian bug #410751). - Prevent screensaver from activating when --no-suspend is given. - Add patch to enable 2ram -p/-s options in a similar way to -f (Enrico Tassi; Debian bug #416967). - Add support for modprobing suspend modules early in the process of checking for Suspend2 support (and rmmod loaded ones post-resume). (Jens Gustedt) Modified by Nigel Cunningham. - Allow for distribution specific patches. (Alon Bar-Lev) - Don't load kernel modules when installing or doing --help. (Alon Bar-Lev) - Don't return an error if no file trail. (Alon Bar-Lev) - Fix uninstalled conf files and minor name extension issue. (Alon Bar-Lev) - Make FullSpeedCPU restore the speed of all cores, not just the last one. (Michael Gisbers) 1.94 (10 October 2006) - Make media player detection a little more robust. (Nicolas Bonifas) - Fix bogus amarok detection. (Andrew Deason) - Accomodate affected_cpus for FullSpeedCPU option. - Don't reset last_result (breaks compatibility with some obscure versions of suspend2 from the dark ages). - Fix cardctl detection bug in zsh. (Florian Tham) - Update error statuses for suspend2. - Do not lock KDE sessions that are already locked. (Alexandre Ferreira) [martin f. krafft] - Added a new scriptlet to restore the brightness of GFX cards on resume (Joey Hess; Debian bug #384140). - Use /proc/net/dev instead of ifconfig to enumerate network devices, because the latter would ignore madwifi interfaces. - Improved ususpend method. Now supports USuspendRamForce (boolean) to pass the -f option to s2ram. Also tests with s2ram's -n option if s2ram is used and the option is not set. I also made disk.conf and ram.conf prefer the uswsusp methods, if they are available. If you do not want to use them, use the sysfs-{ram,disk}.conf files, which are the former ram.conf and disk.conf files. - Added scriptlet to remount /boot read-only if /boot is a separate partition, contains an XFS filesystem, hibernate was asked to update the Grub menu file, and this feature has not been disabled in the configuration file (Debian bugs #317479, #317479, #386623). Also added README.xfs to document caveats for users of the XFS filesystem. - Added ath_pci to blacklisted modules (see Debian bug #383169). - Reworded the init.d script message about invalidating stale signatures (Debian bug #381903). - Fixed a typo in hibernate.conf manpage (Debian bug #386799) - Changed vbetool scriptlet to log stderr output to log file, and only let output through to real stderr if verbosity >=2 is selected (Debian bug #381927). 1.93 (12 July 2006) - More updates for suspend2 compatibility with 2.2.7.3. 1.92 (12 July 2006) - Fix init.d script to only clean signatures at boot-time. (Martin F Krafft) - Fix typo in TryMethod log message. (EspeonEefi) - Process command-line verbosity level earlier to ease debugging of config files. - Update PowerdownMethod 0 doco. (Jens Gustedt) - Support for uswsusp. (Jason Lunz) - Ignore leading non-numeric portions of module versions. - Support for updated sysfs interface in Suspend2 2.2.7.3. - Added FullSpeedCPU option to maximise CPU speed whilst suspending. - amaroK pause support. (Kevin 'radsaq' Radloff) - Added MuteAudio option. - Disable suspend-to-RAM for ppc kernels < 2.6.16.20. (Johannes Berg) 1.91 (5 June 2006) - Call common.conf from each of {suspend2,disk,ram}.conf so that hibernate-ram works again. 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.12 (2 October 2005, later that day) - Fix some hardcoded paths in the suspend2 scriptlet. 1.11 (2 October 2005) - Remove trailing LILO command-line to avoid asking for passwords. (Bug#65) - Unload compressor or encryptor modules that we loaded on suspend. (Bug#66) - Silence fuser. - Ensure we have chvt. (Bug#71) - Added PCMCIA scriptlet to eject cards before suspending. (Bug#75) - Added fluxbox, fvwm and pwm to list of detected window managers for X server. (Bug#81) - Added RestoreVCSAData option (helps some people resume with the fglrx driver). - Added --lock-console-as option. (Bug#84) - Allow --help to work without root. (Bug#85) - Added XLock and XAutolock options. (Gene Pavlovsky) (Bug#111) - Remove interface_version detection (for Software Suspend 2.2-rc8) 1.10 (13 July 2005) - Turn swap off before clearing it in init.d script. - Make an awk expression mawk compatible. - Fix quoting in grub. - Test fix for funky colours when using fbsplash (Henrik Brix Andersen). 1.09 (27 June 2005) - Use /bin/echo when calling kernel suspend methods to avoid getting killed on oopses. (Piotr P. Karwasz) - Make Distribution option case-insensitive. - Fix non-standard path issue with KDE xstatus dialog under Gentoo (Pat Double) - Fix non-standard path issue with KDE xstatus dialog under SuSE. - Clean up stderr output in xstatus. (Pat Double) - Only bring down interfaces that are up. - Slackware path fixes (Chris Friedhoff) - Support for cryptoapi in Suspend2. - Added logrotate script for hibernate.log. (Henrik Brix Andersen) - Only start services enabled for the given runlevel. (Stephen Gildea) 1.08 (13 May 2005 - "Black Floody Friday") - Fix fbsplash colour weirdness (Henrik Brix Andersen) - Make fbsplash/bootsplash automatically select on SwitchToTextMode. - Remove spurious VT switches (also means fbsplash should be seamless between hibernate script and userui). - Change ":" to "true" for compatibility with some versions of dash (Henrik Brix Andersen) - Rename a bunch of options with "Suspend2" instead of swsusp, specifically: UseSwsusp2 -> UseSuspend2 Swsusp2AllSettings -> Suspend2AllSettings Swsusp2AllSettingsFile -> Suspend2AllSettingsFile SwsuspVT -> HibernateVT Old options names are still recognised, but not advertised. - Enforce modprobe/hotplug disabling whilst suspending unconditionally. - Add a "hardware tweaks" scriptlet for hardware-specific config options, currently includes: * using the ibm_acpi module to signal suspend progress (Henrik Brix Andersen) * using radeontool to turn your backlight on and off (Henrik Brix Andersen) - Enable SwitchToTextMode in the default config. - Only allow the user to choose one suspend method. - Don't attempt to suspend within 3 seconds of resuming. 1.07 (21 April 2005) - Fix vbetool scriptlet inverted test condition. - Install ram.conf by default - Add note about init.d script in readme. - Fix GRUB alternate menu bug. (Andrew Barr) 1.06 (4 April 2005) - Use rmmod, not modprobe -r. (Ivo Prikryl) - Added new kernel safety scriptlet. (Cameron Patrick) - Fix /proc/software_suspend/ detection for versions >= 2.1.8. - Fallback to xlock for xscreensaver. (Stefan Tomanek) - Elaborate on acpid usage in readme. (Erich Schubert) - Add options to vbetool to POST and restore a previously saved state. - Improve robustness of grub scriptlet. (Martin Krafft) - Bring up the xscreensaver password prompt on resume, if xscreensaver locking is switched on. (Cameron Patrick) - Support for Including other files within hibernate.conf. (Cameron Patrick) - Introduce an fbsplash scriptlet to replace bootsplash. - Added support for Suspend2's filewriter. - Added init.d script for /etc/rcS.d/ to remove suspend partition signatures. 1.05 (9 February 2005) - Wait after loading suspend modules until the relevant proc entries are found. - Fix numerous bugs in xstatus. 1.04 (8 February 2005) - Avoid making spurious temporary files. - Relax permissions on install directory to 755 instead of 700. - Include kernel configs in bug reports. - New xstatus scriptlet. (merged works of Henrik Brix Andersen and Sebastian Kugler) - Activate bootsplash on the right console. (Sergio Cerlesi) - Make mktemp calls compatible with RHEL3. (Andreas Mohr) - Extra error checking for numerical values. (Cameron Patrick) - Set a sane umask before doing anything else. - Include vbetool scriptlet for better S3 support. (Cameron Patrick) - Automagically use dash if it's available. 1.03 (5 January 2005) - Add ndiswrapper to blacklist. - Fix blacklisted modules without versions bug. (Peter Cech) - Fix random services-stopping-twice bug. - Add --bug-report option. - Support unloading particular versions of modules. - Use the hwclock.sh init script on Debian. - Restart services in reverse order to stopping them. 1.02 (24 November 2004) - Make misc launch scriptlets more robust. - Change /proc/sys/kernel/{modprobe,hotplug} to a non-existant executable whilst suspending. - Add PowerdownMethod for SysfsPowerState module (to select platform/shutdown/firmware). - Added UnmountFSTypes for selectively unmounting certain filesystems (eg nfs). - Added UnmountGraceTime to alter time between sending SIGTERM and SIGKILL to processes using a filesystem. - Support for implicit configuration files (calling script as hibernate-foo causes it to use /etc/hibernate/foo.conf). - Really fix RPM configuration file overwriting issue (Stefan Becker). 1.01 (18 November 2004) - Rename LeaveXBeforeSuspend to SwitchToTextMode. - Rename nVidiaHack to UseDummyXServer. - New acpi_sleep module to utilise /proc/acpi/sleep for vanilla swsusp. - Added Swsusp2AllSettingsFile option (and command-line option --save-settings) - Fix missing mawk compatibility bug in lock. - Add locking to hibernate script to avoid being run more than once simultaneously. - Turn off Unicode on the Software Suspend VT. - Fix completely broken error code reporting. - Log dmesg info to hibernate.log if errors occur. - Return a non-zero exit status on failure to suspend. 1.00 (7 November 2004) - Fix a long standing bug when printing error result codes. - Add AsyncIOLimit option (Lorenzo Colitti). - Make DefaultConsoleLevel not expect a boolean value. - Add the PowerdownMethod option for Software Suspend 2.1. - Add a ProcSetting option to allow setting any arbitrary entry in /proc/software_suspend. - Support suspending using do_suspend instead of activate. - Added ipw2200 to the blacklist. 0.99 (10 October 2004) - Make SCRIPTLET_PATH work again so that user-defined scriptlets can be placed in /etc/hibernate /usr/local/share/hibernate will actually work. Place /usr/share/hibernate/scriptlets.d at the end of scriptlet search path so that custom scriptlets override standard ones. (Cameron Patrick) - Clear the screen before locking virtual consoles with vlock. (Cameron Patrick) - Explicitly add /sbin to PATH to ensure we find rmmod and friends. - Make mawk compatible (Lorenzo Colitti). - Ensure we do get a return value from the kernel. 0.98 (20 August 2004) - Add ImageSizeLimit option (including "nocache" for excluding caches & buffers - needs tweaking it seems) - Always switch consoles if swsusp >= 2.0.0.103. - Initial support for a module blacklist (on by default). - Support recursing module unloading (used for UnloadModules amongst others). - Initrd support - loading suspend modules only when needed, and setting a resume2 device. - Reimplemented xscreensaver locking (inspired by pmsuspend script) - Find gentoo's dcop program in funny places. - Stop RPM from clobbering config file. 0.97 (30 July 2004) - Added lilo scriptlet to ensure the current kernel boots next time to resume. (inspired by Fedor Karpelevitch). - Added the Mount option to mount filesystems after resume. - More bootsplash fixes. - Fix overgenerous module unloading. - Detect new /proc root (/proc/software_suspend/) for >= 2.0.0.102. - Make LogVerbosity option actually work. 0.96 (24 July 2004) - Make the --config-file= option work once again (oops!) - Added the lock scriptlet for locking KDE, XScreensaver or the entire system via vlock. - Minor bootsplash cleanups. 0.95.1 (23 July 2004) - Fixed misclaunch scripts always failing bug. 0.95 (21 July 2004) - Install distributed scriptlets into /usr/local/share/hibernate/scriptlets.d Locally installed scriptlets can go into either /etc/hibernate/scriptlets.d or /usr/local/share/hibernate/scriptlets.d. Distribution packages can use /usr/share/hibernate/scriptlets.d. All three are searched. - Added AlternateGrubMenuFile option. - Added devices scriptlet for defining suspend-incompatible devices (eg, /dev/dsp) using IncompatibleDevices option. (Carsten Rietzschel) - Added /sys/power/state scriptlet sysfs_power_state as an alternative to swsusp2. (Cameron Patrick) - Added -n option to be equivalent to --no-suspend. - Added --dry-run option to just list what would get done. - Don't hardcode /sbin/splash. - Fixed Bootsplash and LeaveXBeforeSuspend interactions. - Don't assume /proc/swsusp/reboot exists (2.0 w/o debug doesn't have it). - Generate and install man pages. - Created a vim syntax highlighting spec file 0.94 (12 July 2004) - Turn off "AlwaysForce yes" in the default config file. - Make switching back to X occur before networking and services, to give the impression that resuming is faster ;) (Cameron Patrick) - Take more care with scriptlet return values to make Ctrl+C actually work whn not using --force. 0.93 (11 July 2004 (later that evening)) - Make Ctrl+C abort cleanly again. - chown the right directory in the installer. - Licensed under GPLv2. 0.92 (11 July 2004) - /etc/suspend/, suspend.conf, and swsusp.log are now called /etc/hibernate/, hibernate.conf and hibernate.log for consistency. - Redirect stderr to stdout so that both get logged. $LOGPIPE is also no longer required in scriptlets. New option LogVerbosity. - Cause abort if module unloading fails. (Cameron Patrick) - New (cleaner) method of launching fake X server. - Disable module loading during suspend. - Lots of speed improvements for faster start up time! (Bash scripts shouldn't *have* a startup time :) 0.91 (9 July 2004 (later that day)) - Multiple fixes for grub - restoring the grub menu is now achieved by using "hibernate -g" or "hibernate --restore-grub", not by running the scriptlet. - Extend NN range for scripts to 00-99. - Bleeding obvious bugfixes to bootsplash, misclaunch and modules scriptlets. - Avoid sourcing editor backup files (ignore scriptlets *~ *.bak). - ash compatibility fix in install script. - Remove some unnecessary sleep calls. - Thanks to Cameron Patrick and Carsten Rietzschel for most of these fixes. 0.9 (9 July 2004) - First public release.