Suspend / Hibernation

View: New views
6 Messages — Rating Filter:   Alert me  

Suspend / Hibernation

by T o n g :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

The Suspend / Hibernation feature works out of box in Unbunto on my Acer
Aspire (AS5536), but I want my Debian (debootstrap based) works the same
as well. How should I do that? I meant, there seems so many packages/
tools able to do that, which are the recommend combinations?

I've done some extensive search but this is the only Debian-based writing
that I found, which makes use of s2ram:

Put your Debian Lenny laptop to Sleep
http://www.debiantutorials.org/put-lenny-to-sleep-debian-gnulinux-
lenny-308

Please help me to the correct direction.

Thanks

--
Tong


--
To UNSUBSCRIBE, email to debian-laptop-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Suspend / Hibernation

by Adrian Levi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/9/11 T o n g <mlist4suntong@...>:

> Hi,
>
> The Suspend / Hibernation feature works out of box in Unbunto on my Acer
> Aspire (AS5536), but I want my Debian (debootstrap based) works the same
> as well. How should I do that? I meant, there seems so many packages/
> tools able to do that, which are the recommend combinations?
>
> I've done some extensive search but this is the only Debian-based writing
> that I found, which makes use of s2ram:
>
> Put your Debian Lenny laptop to Sleep
> http://www.debiantutorials.org/put-lenny-to-sleep-debian-gnulinux-
> lenny-308
>
> Please help me to the correct direction.

Tong,

On my acer i just right click on the battery / ac power icon in the
tray and select suspend to ram|disc. I'm not on it atm so i can't tell
you the package that provides this function. Do you have the laptop
task installed?

HTH,

Adrian

--
24x7x365 != 24x7x52 Stupid or bad maths?
<erno> hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


--
To UNSUBSCRIBE, email to debian-laptop-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Suspend / Hibernation

by T o n g :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Adrian.

On Fri, 11 Sep 2009 18:35:01 +1000, Adrian Levi wrote:

> 2009/9/11 T o n g <mlist4suntong@...>:
>> Hi,
>>
>> The Suspend / Hibernation feature works out of box in Unbunto on my
>> Acer Aspire (AS5536), but I want my Debian (debootstrap based) works
>> the same as well. How should I do that? I meant, there seems so many
>> packages/ tools able to do that, which are the recommend combinations?
>>
>> I've done some extensive search but this is the only Debian-based
>> writing that I found, which makes use of s2ram:
>>
>> Put your Debian Lenny laptop to Sleep
>> http://www.debiantutorials.org/put-lenny-to-sleep-debian-gnulinux-
>> lenny-308
>>
>> Please help me to the correct direction.
>
> On my acer i just right click on the battery / ac power icon in the tray
> and select suspend to ram|disc. I'm not on it atm so i can't tell you
> the package that provides this function. Do you have the laptop task
> installed?

my Debian is debootstrap based, ie, only the packages that I hand picked
are installed. I'd like to know the recommend package combinations
that provide the function, and better not desktop specific, because I
normally don't use any desktops but a simple window manager (fluxbox).

Anyone know a good web page that covers setting up suspend / hibernation
under Debian?

Thanks

--
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


--
To UNSUBSCRIBE, email to debian-laptop-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Suspend / Hibernation

by Stefan Monnier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> my Debian is debootstrap based, ie, only the packages that I hand picked
> are installed. I'd like to know the recommend package combinations
> that provide the function, and better not desktop specific, because I
> normally don't use any desktops but a simple window manager (fluxbox).

> Anyone know a good web page that covers setting up suspend / hibernation
> under Debian?

I usually install uswsusp (which provides s2ram and s2disk), as well as
`hibernate' which provides a wrapper script around these (which knows to
unload some conflicting modules and things like that and can be
configured to unmount some filesystems and take down specific network
interfaces and daemons, if you so wish).  Then I use the commands
`hibernate' and `hibernate-ram'.

IIUC, to bind the commands to your laptop's keys, you'll want to run
something like gnome-power-manager, or to use `acpid' and write a little
script in /etc/acpid/... (this latter option has the advantage of also
working when you're not logged in, of course).


        Stefan


--
To UNSUBSCRIBE, email to debian-laptop-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Linux laptop Suspend / Hibernation development

by T o n g :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Stefan for your reply.

To answer my own question, here is what I discovered about suspend /
hibernation evolvement in Linux laptop world.

- the traditional tools are uswsusp + hibernate (s2ram/s2disk & hibernate-
ram/hibernate-disk)

- pm-utils is the new suspend and powerstate setting framework. It is
designed to replace such scripts as those provided by the powersave
package. [1]

- The latest development is, however, DeviceKit. Both Ubuntu & Fedora are
moving towards DeviceKit. [2], [3]

1. http://www.archlinux.it/wiki/index.php?title=Pm-utils
2. http://www.ubuntu.com/testing/karmic/alpha6
3. http://ostatic.com/blog/a-peek-at-devicekit-in-fedora-11-and-beyond

So far, Debian seems to be lagging behind such evolvement -- I don't see
devicekit in Debian repo yet.

cheers

On Mon, 14 Sep 2009 10:13:15 -0400, Stefan Monnier wrote:

>> Anyone know a good web page that covers setting up suspend /
>> hibernation under Debian?
>
> I usually install uswsusp (which provides s2ram and s2disk), as well as
> `hibernate' which provides a wrapper script around these (which knows to
> unload some conflicting modules and things like that

--
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


--
To UNSUBSCRIBE, email to debian-laptop-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Linux laptop Suspend / Hibernation development

by T o n g :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 18 Sep 2009 01:27:15 +0000, T o n g wrote:

> Thanks Stefan for your reply.
>
> To answer my own question, here is what I discovered about suspend /
> hibernation evolvement in Linux laptop world.
>
> - the traditional tools are uswsusp + hibernate (s2ram/s2disk &
hibernate-ram/hibernate-disk)

s2ram was removed from Ubuntu as early as Ubuntu 710. [4]

> - pm-utils is the new suspend and powerstate setting framework. It is
> designed to replace such scripts as those provided by the powersave
> package. [1]

Ubuntu uses pm-utils as the standard suspend/resume framework as early as
Ubuntu 810. [4]

> - The latest development is, however, DeviceKit. Both Ubuntu & Fedora
are
> moving towards DeviceKit. [2], [3]
>
> 1. http://www.archlinux.it/wiki/index.php?title=Pm-utils
> 2. http://www.ubuntu.com/testing/karmic/alpha6
> 3. http://ostatic.com/blog/a-peek-at-devicekit-in-fedora-11-and-beyond

4. http://wiki.linuxmce.org/index.php/Suspend

> So far, Debian seems to be lagging behind such evolvement -- I don't
see
> devicekit in Debian repo yet.
>
> cheers

--
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


--
To UNSUBSCRIBE, email to debian-laptop-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...