mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Eric Sandall <eric@sandall.us>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: Suspend to ram with 2.6 kernels
Date: Sat, 9 Sep 2006 21:16:54 +0200	[thread overview]
Message-ID: <20060909191654.GC2561@elf.ucw.cz> (raw)
In-Reply-To: <4501EDA5.5020406@sandall.us>

Hi!

> >> I am having a problem with suspend-to-ram (have been for a while, but
> >> suspend-to-disk has been working fine for me, so I never really bothered
> >> to report it until now).
> >>
> >> Suspend-to-disk and resuming from it works fine (using `echo -n disk >
> >> /sys/power/state`).
> >>
> >> Suspend-to-ram works fine (using `echo -n mem > /sys/power/state`), but
> >> resuming does not. When I lift up the lid of my laptop (Dell Inspiron
> >> 5100) it seems to power back up (the power light changes from blinking
> >> to solid), but my screen stays blank and keys such as capslock do not
> >> toggle their LED.
> > 
> > See suspend.sf.net, use provided s2ram program.
> 
> Thanks! The key (mentioned in the documentation there) is to disable
> framebuffer (ATI video card). First time I've had suspend-to-RAM working
> on this machine. ;)

I'm glad it works.

> Though you may want to rename the /usr/sbin/suspend command to something
> other than 'suspend' as, at least for me, it is a shell command which
> puts the current shell in the background.
> 
> The HOWTO *does* mention:
> [Warning: some shells have "suspend" built in command, so specifing
> exact path like ./suspend is more important than usual.]
> 
> Though I still believe it'd be a good idea to pick a non-conflicting name.

We thought about it, but was too lazy to rename, and suspend should
probably be called from script/powersaved/something, anyway.
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

  reply	other threads:[~2006-09-09 19:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-07  2:35 Eric Sandall
2006-09-07 19:33 ` Pavel Machek
2006-09-08 22:24   ` Eric Sandall
2006-09-09 19:16     ` Pavel Machek [this message]
2006-09-11 10:13   ` Andreas Steinmetz
2006-09-11 20:27     ` Rafael J. Wysocki
2006-09-11 22:28       ` Andreas Steinmetz
2006-09-11 23:59         ` Matthew Garrett
2006-09-12 11:05           ` Andreas Steinmetz
2006-09-12 12:46             ` Matthew Garrett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060909191654.GC2561@elf.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=eric@sandall.us \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®