This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

"rtcwake: /dev/rtc not enabled for wakeup events"

Other Parts Discussed in Thread: OMAPL138

Hello

I try to put into sleep fallowing:

root@da850-omapl138-evm:~# rtcwake -s 100 -m mem

rtcwake: /dev/rtc not enabled for wakeup events

I am using 2.6.31.rc7 kernel form DaVinci SDK 3(...)11 SDK

I was googling this iissue with no effect.

Can anyone help me out? Why is this happening ?

  • I forgot to say, that I am using omapl138 SoM (Rev 4) from zoom logic, Angstrom rootFS.

    Don't know how to fix this

    Best Regards

  • Thank you for your answer.

    I am afraid that this doesn't help.

    Still having same problems.

    root@da850-omapl138-evm:~# cat /etc/fstab
    # stock fstab - you probably want to override this with a machine specific one

    rootfs               /                    auto       defaults              1  1
    proc                 /proc                proc       defaults              0  0
    devpts               /dev/pts             devpts     mode=0620,gid=5       0  0
    usbfs                /proc/bus/usb        usbfs      defaults              0  0
    tmpfs                /var/volatile        tmpfs      defaults              0  0
    tmpfs                /dev/shm             tmpfs      mode=0777             0  0
    tmpfs                /media/ram           tmpfs      defaults              0  0

    # uncomment this if your device has a SD/MMC/Transflash slot
    #/dev/mmcblk0p1       /media/card          auto       defaults,sync,noauto  0  0

    root@da850-omapl138-evm:~# modprobe rtc-core
    root@da850-omapl138-evm:~# modprobe rtc-test
    rtc-test rtc-test.0: rtc core: registered test as rtc0
    rtc-test rtc-test.1: rtc core: registered test as rtc1
    root@da850-omapl138-evm:~# modprobe rtc-da8xx

    root@da850-omapl138-evm:~# cat /etc/mtab
    rootfs / rootfs rw 0 0
    /dev/root / ext3 rw,relatime,errors=continue,data=writeback 0 0
    proc /proc proc rw,relatime 0 0
    sysfs /sys sysfs rw,relatime 0 0
    none /dev tmpfs rw,relatime,mode=755 0 0
    /dev/mmcblk0p1 /media/mmcblk0p1 ext3 rw,relatime,errors=continue,data=writeback 0 0
    devpts /dev/pts devpts rw,relatime,gid=5,mode=620 0 0
    tmpfs /var/volatile tmpfs rw,relatime 0 0
    tmpfs /dev/shm tmpfs rw,relatime,mode=777 0 0
    tmpfs /media/ram tmpfs rw,relatime 0 0

    root@da850-omapl138-evm:~# umont /dev/mmcblk0p1
    -sh: umont: not found
    root@da850-omapl138-evm:~# umount /dev/mmcblk0p1
    root@da850-omapl138-evm:~# rtcwake -d /dev/rtc1 -s 20 -m mem
    rtcwake: can't open '/dev/rtc1': No such file or directory
    root@da850-omapl138-evm:~# rtcwake -d /dev/rtc0 -s 20 -m mem
    rtcwake: can't open '/dev/rtc0': No such file or directory
    root@da850-omapl138-evm:~# modprobe rtc-core
    root@da850-omapl138-evm:~# modprobe rtc-test
    rtc-test rtc-test.0: rtc core: registered test as rtc0
    rtc-test rtc-test.1: rtc core: registered test as rtc1

    root@da850-omapl138-evm:~# rtcwake -d /dev/rtc1 -s 20 -m mem
    rtcwake: /dev/rtc1 not enabled for wakeup events
    root@da850-omapl138-evm:~# rtcwake -d /dev/rtc0 -s 20 -m mem
    rtcwake: /dev/rtc0 not enabled for wakeup events
    root@da850-omapl138-evm:~# rtcwake -d /dev/rtc0 -s 200 -m mem
    rtcwake: /dev/rtc0 not enabled for wakeup events
    root@da850-omapl138-evm:~# rtcwake -d /dev/rtc0 -s 200
    rtcwake: /dev/rtc0 not enabled for wakeup events
    root@da850-omapl138-evm:~# rtcwake -s 200
    rtcwake: /dev/rtc not enabled for wakeup events

    root@da850-omapl138-evm:~# umount -a -f
    umount2: Device or resource busy
    umount: /var/volatile: device is busy.
            (In some cases useful info about processes that use
             the device is found by lsof(8) or fuser(1))
    umount2: Device or resource busy
    umount: /dev: device is busy.
            (In some cases useful info about processes that use
             the device is found by lsof(8) or fuser(1))
    root@da850-omapl138-evm:~# rtcwake -d /dev/rtc0 -s 200 -m mem
    rtcwake: /dev/rtc0 not enabled for wakeup events
    root@da850-omapl138-evm:~#

    root@da850-omapl138-evm:~# cat /etc/mtab
    rootfs / rootfs rw 0 0
    /dev/root / ext3 ro,relatime,errors=continue,data=writeback 0 0
    proc /proc proc rw,relatime 0 0
    sysfs /sys sysfs rw,relatime 0 0
    none /dev tmpfs rw,relatime,mode=755 0 0
    devpts /dev/pts devpts rw,relatime,gid=5,mode=620 0 0
    tmpfs /var/volatile tmpfs rw,relatime 0 0

    Still looking for solution.

    Best regards

  • Hi,

    I'm having the same issue.

    Is it resolved ?

    Thanks

    Ran