Ticket #2318 (new defect)

Opened 4 years ago

Last modified 4 years ago

rtcwake: /dev/rtc0 not enabled for wakeup events

Reported by: josch Owned by: openmoko-kernel
Priority: normal Milestone:
Component: kernel Version: unspecified
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: no PatchReviewResult:
Reproducible:

Description

~# rtcwake -s 20
rtcwake: /dev/rtc0 not enabled for wakeup events

expected behaviour: going to sleep, waking up after 20 seconds

kernel:
2.6.31 #293 PREEMPT Tue Nov 3 19:02:43 CET 2009 armv4tl GNU/Linux

with debian unstable rootfs on sd

Change History

comment:1 Changed 4 years ago by lindi

sudo rtcwake -s 20 -m no
sudo pm-suspend

works for me on debian unstable with andy-tracking a3587e4ed77974ad. Can you try this?

comment:2 Changed 4 years ago by josch

tried:
uImage-2.6.28-andy-tracking+gitr119819+5a6ed99264c704e517ac312283c58204ee38fee5-r5-om-gta01.bin

rtcwake -s 20 -m no
pm-suspend

works but

rtcwake -s 20

yields the same error as above

=======================================
on 2.6.31

rtcwake -s 20 -m no
pm-suspend

doesnt give the original /dev/rtc0 error but doesnt wake up afterwards - but the same happens when just issuing

pm-suspend

without rtc so that is another bug report to be filed for the new kernel.

i just would have had suspected rtcwake to be able to suspend itself without pm-suspend but as it seems to work on 2.6.28 with pm-suspend issued manually it is probably no kernel bug

Note: See TracTickets for help on using tickets.