[julien@kirya.net: Bug#353181: hal: Please add support for hibernate/suspend2 suspend-to-ram]

Richard Hughes hughsient at gmail.com
Sun Feb 19 15:17:56 PST 2006


On Mon, 2006-02-20 at 00:06 +0100, Sjoerd Simons wrote:
> Patch below let's suspend2 suspend to ram. Now i don't know if
> /etc/hibernate/ram.conf is a default file for the hibernate program or specific
> to the debian package though ?
> 
> ----- Forwarded message from Julien Valroff <julien at kirya.net> -----
> 
> Date: Thu, 16 Feb 2006 19:01:49 +0100
> From: Julien Valroff <julien at kirya.net>
> Subject: Bug#353181: hal: Please add support for hibernate/suspend2 suspend-to-ram
> To: Debian Bug Tracking System <submit at bugs.debian.org>
> Reply-To: julien at kirya.net, 353181 at bugs.debian.org
> X-Mailer: reportbug 3.18
> 
> --- hal-system-power-suspend~	2006-02-13 18:25:07.000000000 +0100
> +++ hal-system-power-suspend	2006-02-13 18:25:50.000000000 +0100
> @@ -49,6 +49,10 @@
>  	if [ -x "/usr/bin/powersave" ] ; then
>  	    $POWERSAVED_SUSPEND2RAM
>  	    RET=$?
> +	elif [ -x "/usr/sbin/hibernate" ] ; then
> +	    # Use hibernate configured for suspend-to-ram
> +	    /usr/sbin/hibernate -F/etc/hibernate/ram.conf
> +	    RET=$?

What happens if you omit the ram.conf? Can you just trigger a suspend
using the default script some other way?

Richard.



More information about the hal mailing list