In response to Karel's question about the date setting.  If the alarm is
set, and the computer is rebooted manually, then "cat /proc/driver/rtc"
shows the following:

rtc_time        : 22:18:23
rtc_date        : 2009-01-22
alrm_time       : 02:25:00
alrm_date       : ****-**-**
alarm_IRQ       : no
alrm_pending    : no
24hr            : yes
periodic_IRQ    : no
update_IRQ      : no
HPET_emulated   : yes
DST_enable      : no
periodic_freq   : 1024
batt_status     : okay

If the alarm is changed manually, then "cat /proc/driver/rtc" shows the new
alrm_date correctly until the next reboot:

rtc_time        : 22:19:29
rtc_date        : 2009-01-22
alrm_time       : 22:24:22
alrm_date       : 2009-01-22
alarm_IRQ       : yes
alrm_pending    : no
24hr            : yes
periodic_IRQ    : no
update_IRQ      : no
HPET_emulated   : yes
DST_enable      : no
periodic_freq   : 1024

However, upon rebooting, it will again show "****-**-**" for alrm_date.
This does not prevent the alarm from working correctly -- it does indeed
wake up at the intended time, but I believe it is no longer specific for the
date.  This could be considered a bug, but I cannot rule out that it simply
a limitation of the BIOS.

For what it's worth, this behavior is not a problem for me -- I don't mind
if the computer wakes up at 9am every day, since I have set it to go to
sleep after 5 minutes of inactivity.

Fisslefink



On Thu, Jan 22, 2009 at 2:02 PM, Karel Marik <kaja.ma...@post.cz> wrote:

> I tested wakealarm with changed BIOS setting. I set PowerUp method to
> "Everyday" instead of "ByDate". Then applied same procedure:
> $ sudo sh -c 'echo 0 > /sys/class/rtc/rtc0/wakealarm'
> $ sudo sh -c 'echo `date "+%s" -d "+ 5 minutes"` >
> /sys/class/rtc/rtc0/wakealarm'
>
> Computer woke up after 5 minutes normally. Thus, time setting is
> correct. The whole problem is to set date.
>
> Fisslefink, could you please post your BIOS setting?
> Next item - there is significant difference between my and your cat
> /proc/driver/rtc listing in alarm date. Your alarm date is set to
> "****-**-**". Mine alarm date shows day of month. Could you please verify if
> your generated cat /proc/driver/rtc just after setting alarm? Thank you.
>
> Leann, is there any way to test Jaunty wakeup without installing it?
> (e.g. using just from live CD or using a virtual image?) It took me lot
> of time to setup current installation. :)
>
> Karel
> 2.6.27-9-generic
> Mobo: Asus A7V8X-X
>
> --
> [GUTSY]  RTC alarm does not retain setting from /proc/acpi/alarm
> https://bugs.launchpad.net/bugs/139846
> You received this bug notification because you are a direct subscriber
> of the bug.
>

-- 
[GUTSY]  RTC alarm does not retain setting from /proc/acpi/alarm
https://bugs.launchpad.net/bugs/139846
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to