Further testing with MB ASUS P5LD2 Deluxe showed that if e.g.
"2008-01-00 19:12:00" is saved to /proc/acpi/alarm then computer wakes
up every day on the specified time (I have not tested if just within the
single month or whole year).

As reported also in bug <a
href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/139846";>#139846
</a>, the /proc/acpi/alarm shows always a "00" in the place of a day
after the system reboots.

I had added a test for "00" in place of a day to the
/etc/init.d/hwclock.sh to make sure that in such case RTC alarm is not
activated during shut-down.

DAY=`echo "$ACPITIME" | sed -e 's/[ ].*$//' -e 's/....-..-//'` 
...
if [ "$DAY" != "00" ]; then
   echo "$ACPITIME" > /proc/acpi/alarm
fi
...

-- 
Change /etc/init.d/hwclock.sh to enable RTC alarm in BIOS
https://bugs.launchpad.net/bugs/187128
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to