Summary: | Reminder daemon should use acpi to wake up | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Reminder Daemon | Reporter: | Andreas Bayer <angel_azrael> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | wishlist | CC: | gjditchfield, marc.mengel |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Andreas Bayer
2004-06-15 01:42:57 UTC
Reassigning all KOrganizer bug reports and wishes to the newly created korganizer-devel mailing list. I've got this working on my netbook now, based on the info from the mythTV folks: http://www.mythtv.org/wiki/ACPI_Wakeup I'm currently doing it externally in a cron job, using the following script: ----------------cut here-------------------- #!/bin/sh delta=960 nextevent=`konsolekalendar --next --export-type=csv | sed -e 's/"\([^,]*\)","\([^,]*\)",.*/\1 \2/'| grep 'm$' | head -1` nextevent=`date --date="$nextevent" "+%s"` nextevent=`expr $nextevent - $delta` echo 0 > /sys/class/rtc/rtc0/wakealarm echo $nextevent > /sys/class/rtc/rtc0/wakealarm ----------------cut here-------------------- This wakes up the laptop 16 minutes (960 seconds) before the next calendar event. To setup for this I had to make /sys/class/rtc/rtc0/wakealarm be writable, and disable the systohwclock calls as per the mythTV discussion. In a proper setup, we would update the hardware clock and then set the wakeup alarm whenever we either start the reminder daemon, or whenever we alarm something, or whenever a new alarm comes in. No worries. I'm simply moving these from the korgac product to korganizer::reminder . sorry for the noise but I want to have all the reminder bugs located in the same place. *** This bug has been marked as a duplicate of bug 280853 *** |