mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jakub Piotr Clapa <jpc@pld-linux.org>
To: linux-kernel@vger.kernel.org
Subject: Re: [ACPI] wrong documentation for /proc/acpi/sleep?
Date: Thu, 15 Sep 2005 23:25:52 +0200	[thread overview]
Message-ID: <dgcot5$vm6$1@sea.gmane.org> (raw)
In-Reply-To: <87mzme3xv8.fsf@echidna.jochen.org>

Jochen Hein wrote:
> The documentation in Documentation/power/swsusp.txt reads:
> 
> ,----
> | Sleep states summary
> | ====================
> | 
> | There are three different interfaces you can use, /proc/acpi should
> | work like this:
> | 
> | In a really perfect world:
> | echo 1 > /proc/acpi/sleep       # for standby
> | echo 2 > /proc/acpi/sleep       # for suspend to ram
> | echo 3 > /proc/acpi/sleep       # for suspend to ram, but with more
> | power conservative
> | echo 4 > /proc/acpi/sleep       # for suspend to disk
> | echo 5 > /proc/acpi/sleep       # for shutdown unfriendly the system
> | 
> | and perhaps
> | echo 4b > /proc/acpi/sleep      # for suspend to disk via s4bios
> `----
> 
> I do get:
> root@hermes:~# echo 2 > /proc/acpi/sleep
> bash: /proc/acpi/sleep: No such file or directory

Try 'cat /sys/power/state' and then echo one of the keywords back to 
this file.

-- 
Regards,
Jakub Piotr Cłapa


  reply	other threads:[~2005-09-15 21:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-15 20:00 Jochen Hein
2005-09-15 21:25 ` Jakub Piotr Clapa [this message]
2005-09-15 21:42 ` Len Brown

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='dgcot5$vm6$1@sea.gmane.org' \
    --to=jpc@pld-linux.org \
    --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®