laptop standby

Eyal Oren eyal.oren at deri.org
Sat Oct 9 13:03:34 UTC 2004


On 10/09/04/10/04 13:36 +0100, Benjamin Roe wrote:
> Actually, I'd confused the old (2.4) and new (2.6) ways of doing it. You
> have to echo the actual state you want:
> 
> echo "mem" > /sys/power/state

thanks, this seems to work, but after entering suspending the system, it comes back immediately.  In syslog I see that
one device can't suspend ('could not suspend device ...), which is my ehci usb controller.

do you happen to know how to solve this? (in windows the whole system suspends fine...)

(and by the way, can you explain this /sys/power/state way of doing it, isn't apm -S the 'normal' way, or am I
misinformed?)

> 
> which now works fine on my laptop (suspending to memory). You shouldn't
> need to add anything to your grub menu. Suspend to disk doesn't do
> anything on my laptop yet though.
> 
> 
> On Sat, 2004-10-09 at 14:26 +0200, VETSEL Patrice wrote:
> > do "cat /sys/power/state"
> > 
> > "standby mem disk" on my laptop. So 3 is to disk for me.
> > 
> > What is the option to had to grub/menu ?
> > 
> > 
> > 
> > Le samedi 09 octobre 2004 à 13:04 +0100, Benjamin Roe a écrit :
> > > Try:
> > > 
> > > echo -n "3" > /sys/power/state
> > > 
> > > but I'd make sure to do a "sync" first, just in case it crashes. You can
> > > see the supported sleep modes by echoing /sys/power/state. 3 is
> > > suspend-to-ram, 4 is suspend to disk (IIRC) - check out
> > > 
> > > http://acpi.sourceforge.net/documentation/sleep.html
> > > 
> > > Ben
> > > 
> > > On Sat, 2004-10-09 at 12:34 +0100, Eyal Oren wrote:
> > > > hi,
> > > > 
> > > > I have a laptop, acpi works fine (battery status, shutdown). I would like to put the laptop in standby, but apm -S
> > > > doesn't work ('No APM support in kernel'); modprobe apm gives 'FATAL: Error inserting apm ... no such device'.
> > > > 
> > > > Does anyone know what's wrong or what I should do to put my laptop in standby?
> > > > 
> > > 
> > > 
> > 
> > 
> 
> 
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> 

-- 
Eyal Oren
DERI Ireland
www.eyaloren.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20041009/4cd78f3f/attachment.sig>


More information about the ubuntu-users mailing list