Hi All
I'm running 11.04 with the latest packages and I didn't have this problem with the previous version.
I can't set a value in /sys/class/rtc/rtc0/wakealarm so the system will wake from suspend or poweroff.
For some reason I can't seem to edit the file /sys/class/rtc/rtc0/wakealarm anymore no matter which user I am, including root.
Anyone got any ideas ?
Thanks.
Code:
root@pc:/# sudo sh -c "echo 0 > /sys/class/rtc/rtc0/wakealarm"
root@pc:/# cat /sys/class/rtc/rtc0/wakealarm
root@pc:/#
root@pc:/# sudo sh -c "echo `date '+%s' -d '+ 10 minutes'` > /sys/class/rtc/rtc0/wakealarm"
root@pc:/# cat /sys/class/rtc/rtc0/wakealarm
root@pc:/#
root@pc:/# cat /proc/driver/rtc
rtc_time : 15:11:58
rtc_date : 2011-05-19
alrm_time : 15:16:47
alrm_date : 2011-05-19
alarm_IRQ : no
alrm_pending : no
24hr : yes
periodic_IRQ : no
update_IRQ : no
HPET_emulated : yes
BCD : yes
DST_enable : no
periodic_freq : 1024
batt_status : okay
root@pc:/# ls -lrt /sys/class/rtc/rtc0/wakealarm
-rw-rw-r-- 1 root root 4096 2011-05-19 15:11 /sys/class/rtc/rtc0/wakealarm
Bookmarks