From 2148b05182c755d74fd17b087f3ff37904df0b8c Mon Sep 17 00:00:00 2001 From: David Brownell Date: Fri, 30 Nov 2007 13:42:41 -0800 Subject: rtcwake: misc cleanups Cleanups for rtcwake: - Minor doc updates: highlight the framebuffer problem, give correct history of this code - Improve debug output - Fix some linelength bugs Note that this code predated the sysfs "wakealarm" mechanism, and works around several now-fixed bugs in the kernel RTC framework. Nowadays it would make sense to make this program use only the sysfs interface to the RTC, using "since_epoch" instead of RTC_RD_TIME and "wakealarm" instead of the four other ioctls. That could simplify the mess involved in timezone handling. Signed-off-by: David Brownell Signed-off-by: Karel Zak --- sys-utils/rtcwake.8 | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'sys-utils/rtcwake.8') diff --git a/sys-utils/rtcwake.8 b/sys-utils/rtcwake.8 index dde284417..c06fb2117 100644 --- a/sys-utils/rtcwake.8 +++ b/sys-utils/rtcwake.8 @@ -76,15 +76,20 @@ is the time in seconds since 1970-01-01, 00:00 UTC. Use the Use standby state \fImode\fP. Valid values are \fIstandby\fP, \fImem\fP, \fIdisk\fP and \fIon\fP (no suspend). The default is \fIstandby\fP. +.SH NOTES +Some PC systems can't currently exit sleep states such as \fImem\fP +using only the kernel code accessed by this driver. +They need help from userspace code to make the framebuffer work again. .SH HISTORY -The program first appeared as kernel commit message for Linux 2.6 in the GIT +The program was posted several times on LKML and other lists +before appearing in kernel commit message for Linux 2.6 in the GIT commit 87ac84f42a7a580d0dd72ae31d6a5eb4bfe04c6d. .SH AVAILABILITY The rtcwake command is part of the util-linux-ng package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/. .SH AUTHOR -The program was written by David Brownell and improved by -Bernhard Walle . +The program was written by David Brownell +and improved by Bernhard Walle . .SH COPYRIGHT This is free software. You may redistribute copies of it under the terms of the GNU General Public License . -- cgit v1.2.3-55-g7522