[lucid/mvl-dove, maverick/mvl-dove] SRU: Setting rtc wakealarm through sysfs interface fails

Paolo Pisati paolo.pisati at canonical.com
Tue Mar 15 14:51:04 UTC 2011


SRU Justification:

    Impact: alarm date are always improperly set to 2091.
    Fix: see attached patch.
    Testcase:

     sudo sh -c "echo `date '+%s' -d '+ 5 minutes'` >
/sys/class/rtc/rtc0/wakealarm" && cat /proc/driver/rtc

     you will notice that alrm_date is 2091.

BugLink: https://bugs.launchpad.net/ubuntu/+bug/503546

This affects lucid/mvl-dove and maverick/mvl-dove.

-- 
bye,
p.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-rtc-dove-fix-reading-back-alarm-s-date.patch
Type: text/x-patch
Size: 1050 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20110315/cb127b8d/attachment.bin>


More information about the kernel-team mailing list