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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.

On Thu, 2007-01-25 at 18:12 -0500, 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 at users.sourceforge.net>
> > > 
> > > 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"?

AFAIK (and I think this is what Pavel is saying) there isn't one - you'd
have to use a shell script of some sort or such like to calculate now +
10s and echo the result to the entry.

Regards,

Nigel



[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux