Re: [ACPI] wrong documentation for /proc/acpi/sleep?

From: Jakub Piotr Clapa
Date: Thu Sep 15 2005 - 16:41:42 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/