From: Tobin Davis <tdavis@dsl-only.net>
To: Giuliano Pochini <pochini@shiny.it>
Cc: alsa-devel@alsa-project.org
Subject: Re: How to test suspend ?
Date: Fri, 11 Sep 2009 13:27:56 -0700 [thread overview]
Message-ID: <1252700876.11228.4.camel@razman> (raw)
In-Reply-To: <20090911215722.292f90d0@Jay>
On Fri, 2009-09-11 at 21:57 +0200, Giuliano Pochini wrote:
> On Fri, 11 Sep 2009 08:19:43 +0200
> Daniel Mack <daniel@caiaq.de> wrote:
>
> > On Fri, Sep 11, 2009 at 12:58:56AM +0200, Giuliano Pochini wrote:
> > > I couldn't make s2ram work on my machine and /sys/pci/.../power/state
> > > virtual files were removed one year ago. How can I test suspend/resume ?
> >
> > See Documentation/power/states.txt
>
> $ cat /sys/power/state
>
> ^^^^ nothing.
>
Cat does nothing because it doesn't change the current state. It should return:
standby mem disk
if the kernel is built to handle power management. If it does return
any of these values, to change state you would type (as root):
echo mem >/sys/power/state # suspend to ram
# or
echo disk >/sys/power/state # suspend to disk (hibernate).
--
Tobin Davis
You too can wear a nose mitten.
next prev parent reply other threads:[~2009-09-11 20:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-10 22:58 How to test suspend ? Giuliano Pochini
2009-09-11 6:19 ` Daniel Mack
2009-09-11 19:57 ` Giuliano Pochini
2009-09-11 20:27 ` Tobin Davis [this message]
2009-09-12 20:28 ` Giuliano Pochini
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=1252700876.11228.4.camel@razman \
--to=tdavis@dsl-only.net \
--cc=alsa-devel@alsa-project.org \
--cc=pochini@shiny.it \
/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