Re: [linux-pm] [PATCH 3/6] [-mm]: ACPI: duplicate ACPI sleep "alarm" attribute in sysfs

David Brownell
2007-01-08T20:35:52Z

On Monday 08 January 2007 3:36 am, Pavel Machek wrote:
>
> What about periodic alarms?

So far as I'm concerned they're not part of the API. The periodicity notion
of the alarm on PC RTCs is pretty bizarre if you look at it ... not portable
to much non-PC hardware (without extremely ugly hacks nobody's likely to do),
and so not appropriate to include in a cross-platform API framework.

The user model of a one-shot alarm is simple and easy to understand; plus it's
a direct match for the alarms people use all the time in the kitchen and to
wake up in the morning.

- Dave