On Thu 2007-01-25 18:12:20, Len Brown wrote: > On Thursday 25 January 2007 14:47, Pavel Machek wrote: > > Hi! > > > > > > Note that a few RTCs ignore rtc_wkalrm.enabled when setting alarms, or > > > > aren't set up correctly, so they won't yet behave with this attribute. > > > > > > > > Signed-off-by: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx> > > > > > > How do I ask to wake up "as soon as possible"? > > > > If you want to wake up ASAP, don't go to sleep :-). > > > > I see it might be handy for debugging... but I guess we should not > > mess rtc design because of that. Just set alarm 10 seconds into > > future. > > That's my point. > What is the syntax to request "10-seconds into the future"? echo $(( $(cat since_epoch) + 10 )) > wakealarm ...which is what you should expect. Yep, for users, nice utility would be nice... but absence of nice utility does not mean that it belongs in kernel. Plus, old alarm file was such a mess that I were not figure out how to use it within two hours... or maybe it just did not work on my machine? ... so utility will be needed, anyway. 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-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html