Re: RTC or button wakeup

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

 



On Sun, 2008-06-29 at 18:10 +0200, Enno Fennema wrote:
> Could anyone suggest a way to determine in a (shell) program whether my 
> computer was switched on by RTC alarm or by me pressing the power button.
> 
> Normally RTC wakes my computer every evening to do daily routine work 
> and switches back to soft-off thereafter. If I switched on my computer 
> manually and am working on it it should not switch off. My best, but 
> clumsy, effort is at the end of the daily work comparing boot time and 
> login times.
Will you please try the following commit and see whether the problem
still exists?

commit e1094bfa26e5e94af2fea79e004614dbce42b008
Author: Zhao Yakui <yakui.zhao@xxxxxxxxx>
Date:   Wed May 14 11:32:59 2008 +0800

    ACPI: Disable Fixed_RTC event when installing RTC handler

In fact the commit is already merged into upstream kernel. Will you
please try the latest kernel(2.6.26-rc7)?
Thanks.

> 
> Thanks in advance,
> Enno
> --
> 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

--
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

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux