Re: RTC or button wakeup

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

 



Henrique de Moraes Holschuh wrote:
On Sun, 29 Jun 2008, 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.

Check the wakeup reason in dmidecode.  There is a very low, but non-zero
chance that the BIOS implemented it properly, and it would tell you if it
was a power-button wakeup, or rtc wakeup.

Unfortunately my BIOS makes no such distinction.

Thanks for your suggestion which should have worked (as so many things).

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

[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