Add suspend to RAM capability

Bug #9892 reported by Julien Olivier
10
Affects Status Importance Assigned to Milestone
gnome-panel (Ubuntu)
Fix Released
Wishlist
Sebastien Bacher

Bug Description

I think it would be very useful to have an option in the panel's menu to suspend
a laptop to RAM. And laptops should automatically suspend to RAM after a long
moment of inactivity.

Is there any technical issue that prevents suspend to RAM from working on modern
laptops running Linux ? Or is it already possible using a CLI command ?

PS: my laptop is a Fujitsu-Siemens Lifebook S6120.

Revision history for this message
Matt Zimmerman (mdz) wrote :

(In reply to comment #0)
> Is there any technical issue that prevents suspend to RAM from working on modern
> laptops running Linux ? Or is it already possible using a CLI command ?

It is possible to suspend to RAM using the command line; the trouble is that it
usually doesn't work properly. This is why it is not enabled by default.

Once it is possible to reliably suspend, an option can be added to the menus for
this

Revision history for this message
Matthew Garrett (mjg59) wrote :

You can trigger a suspend to RAM by typing (as root)

echo -n 3 >/proc/acpi/sleep

However, it's unlikely that your system will wake up again without large
quantities of extra configuration. We're looking into whether or not this is
practical as default for Hoary.

Revision history for this message
Julien Olivier (julo) wrote :

Thanks for the tip... but it didn't work :(

All it did was:
 - quit graphical mode and open a virtual terminal in which some messages
appeared (something like "perparing to suspend")
 - go back to graphical mode immediately

Then, my wifi card didn't work anymore.

But I guess different hardware means different problems, right ?

Revision history for this message
Matt Zimmerman (mdz) wrote :

(In reply to comment #3)
> Thanks for the tip... but it didn't work :(
>
> All it did was:
> - quit graphical mode and open a virtual terminal in which some messages
> appeared (something like "perparing to suspend")
> - go back to graphical mode immediately
>
> Then, my wifi card didn't work anymore.
>
> But I guess different hardware means different problems, right ?

Now you see why it isn't in the menu. :-)

Please file this bug separately, against the 'linux' component, and include the
dmesg output from the kernel after suspending and resuming

Revision history for this message
Julien Olivier (julo) wrote :

OK, I'll commit a separate bug ASAP. Thanks !

Revision history for this message
Julien Olivier (julo) wrote :

I submitted bug #10189 about the suspend / resume problem.

Revision history for this message
Sebastien Bacher (seb128) wrote :

the gnome-session dialog has an option for that know, bug closed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.