From 77f5744c982cd57b1bf1181f8f37023512236902 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 18 Aug 2009 15:48:34 +0200 Subject: rtcwake: add S5 support Based on patch from Piergiorgio Sartor 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 --- include/pathnames.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/pathnames.h') diff --git a/include/pathnames.h b/include/pathnames.h index ead448e37..f958a13bc 100644 --- a/include/pathnames.h +++ b/include/pathnames.h @@ -34,6 +34,7 @@ #define _PATH_INITTAB "/etc/inittab" #define _PATH_RC "/etc/rc" #define _PATH_REBOOT "/sbin/reboot" +#define _PATH_SHUTDOWN "/sbin/shutdown" #define _PATH_SINGLE "/etc/singleboot" #define _PATH_SHUTDOWN_CONF "/etc/shutdown.conf" -- cgit v1.2.3-55-g7522