lkml.org 
[lkml]   [2005]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [ACPI] wrong documentation for /proc/acpi/sleep?
Date
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-09-15 23:45    [W:0.070 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site