]> err.no Git - util-linux/commit
rtcwake: add S5 support
authorKarel Zak <kzak@redhat.com>
Tue, 18 Aug 2009 13:48:34 +0000 (15:48 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 7 Sep 2009 10:04:26 +0000 (12:04 +0200)
commit77f5744c982cd57b1bf1181f8f37023512236902
tree391e615804c7696d868180e4b3df0b1474e95459
parent3216beb062707fd8a078ae5991fb17831399865b
rtcwake: add S5 support

Based on patch from
   Piergiorgio Sartor <piergiorgio.sartor@nexgo.de>
at
   https://bugzilla.redhat.com/show_bug.cgi?id=449115

Piergiorgio's note about S5:
> According to the ACPI specifications, chapter 4.7.2.4 "Real Time
> Clock Alarm", the wakeup from RTC, when supported, should work from
> *sleep* state S1-S3 and, optionally, from S4.
>
> Note 3 (same chapter) says that S5 is *not* a sleep state and should
> not be supported. Actually it also says that: "The OS will disable
> the RTC_EN bit prior to entering the G2/S5 or G3 states regardless."
>
> Nevertheless, on all PC supporting the RTC wakeup I tested, all were
> able to wake from S5.

Signed-off-by: Karel Zak <kzak@redhat.com>
include/pathnames.h
sys-utils/rtcwake.8
sys-utils/rtcwake.c