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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux