Re: Document sysfs interface to RTC system wakeup

From: Pavel Machek
Date: Wed Nov 26 2008 - 12:00:42 EST


> On Wed, 26 Nov 2008 17:15:24 +0100
> Pavel Machek <pavel@xxxxxxx> wrote:
>
> > +How to use /sys/class/rtc/rtcX/wakealarm
> > +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > +This file takes the seconds since epoch to enable a wake event at the
> > +specified time.
>
> More documentation is cool. In this case, though, I'm left with an
> immediate question: *why* am I interested in wakealarm? Reading
> through, I eventually figure out that it can maybe be used to get a
> system to start up at some point in the future, maybe. It seems like
> that should be said at the outset.

You can suspend/power down your machine, and it will power itself up
at appropriate time.

> Also; why do I want to migrate from /proc/acpi/alarm?

Because /proc/acpi/alarm is ugly hack that is going to go away :-).
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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/