On Wed, 2008-03-12 at 12:03 +0000, David Reynolds wrote:
Anyone else had any experience of making the ACPI alarm work?
Thanks
Yes it worked for me once, I think I modprobed nvram and then used nvram-wakeup. To refresh my memory I just installed it, modprobed nvram and ran nvram-wakeup with no options and it returned the following
WakeUp : Disabled (0x08) Day : 15 (0x78) Hour : 12 (0x2C) Minute : 30 (0x1E) Second : 30 (0x9E) rtcDay : 00 (0x00) rtcHour : 122 rtcMin : 136 rtcSec : 120 Checksum: 0x5A6F
So at least at first glance if I used nvram-wakeup to set the wakeup enabled bit it looks like it might work. But currently I am not in a position to power cycle my box to test that. Bit suspicious that my current day appears to be 0 but that may just be that my rtc only supports hour/min/second for alarm events (at a random guess)
On a side note, the reason last time I did it this way through the nvram module was that someone who should know told me that if you echo stuff straight in, you can stuff the checksum of the nvram (which will force it to load defaults next time you boot) Dunno how much truth there is to that but it sounds almost plausible.