Kernel versions 2.6.22 and newer use /sys/class/rtc/rtc0/wakealarm
[root@kindle root]#
uname -a
Quote:
Linux kindle 2.6.26-rt-lab126 #5 Sat Sep 1 14:28:26 PDT 2012 armv6l GNU/Linux
|
Note that kernel version
2.6.26, included in the current Debian stable distribution, contains a bug that makes ACPI wakeup fail on at least some motherboards. If this affects you, either upgrade to 2.6.33-rc4 or patch 2.6.26
with this patch.
Which is interesting if nothing else and may deserve a look.
also from
http://www.mythtv.org/wiki/ACPI_Wakeup (Which is crammed with intersting stuff on this subject)
Disable hwclock updates?
Quote:
The reason for this recommendation is that most Linux distributions write the current system time back to the RTC when shutting down the machine. With most RTCs, the machine will not wake up if the hardware clock has been modified after the wakeup alarm has been set. To avoid this, it is necessary to disable the writing of the current system time to the RTC by the system shutdown scripts. This is distribution specific, so here are some examples:
|
I'll skip the dull bits..
Let's check if we have a HWCLOCKACCESS=no in our /etc/default/rcS
[root@kindle root]# cat /etc/default/rcS
Quote:
#
# Defaults for the boot scripts in /etc/rcS.d
#
# Time files in /tmp are kept in days.
TMPTIME=0
# Set to yes if you want sulogin to be spawned on bootup
SULOGIN=no
# Set to no if you want to be able to login over telnet/rlogin
# before system startup is complete (as soon as inetd is started)
DELAYLOGIN=no
# Set UTC=yes if your system clock is set to UTC (GMT), and UTC=no if not.
# UTC=yes
# Set VERBOSE to "no" if you would like a more quiet bootup.
VERBOSE=no
# Set EDITMOTD to "no" if you don't want /etc/motd to be editted automatically
EDITMOTD=no
# Set FSCKFIX to "yes" if you want to add "-y" to the fsck at startup.
FSCKFIX=yes
# Set TICKADJ to the correct tick value for this specific machine
#TICKADJ=10000
# Enable caching in populate-volatile.sh
VOLATILE_ENABLE_CACHE=yes
|
Seemingly not..
we use a custom upstart anyways more like ubuntu...
so perhaps we could do something in there as outlined on the page I linked to...
A cursory glance at /etc/init.d shows a lack of rtc stuffage
[root@kindle root]# /etc/init.d/
Quote:
/etc/init.d/audio /etc/init.d/pmond
/etc/init.d/battcheck /etc/init.d/power
/etc/init.d/boot_finished /etc/init.d/powerd
/etc/init.d/bootmisc.sh /etc/init.d/pre-wifid
/etc/init.d/browserd /etc/init.d/rc
/etc/init.d/chpriority /etc/init.d/rcS
/etc/init.d/ckimage /etc/init.d/reboot
/etc/init.d/cmd /etc/init.d/rootfsresize
/etc/init.d/cron /etc/init.d/scroll
/etc/init.d/dbus /etc/init.d/sdtime_start
/etc/init.d/diag_reboot /etc/init.d/sdtime_stop
/etc/init.d/diags /etc/init.d/syslog-ng
/etc/init.d/ethernet /etc/init.d/system
/etc/init.d/filesystems /etc/init.d/testd
/etc/init.d/framework /etc/init.d/tmd
/etc/init.d/governor /etc/init.d/ttsd
/etc/init.d/guidinit /etc/init.d/udev
/etc/init.d/halt /etc/init.d/updater
/etc/init.d/hostname /etc/init.d/usbnet
/etc/init.d/init_time /etc/init.d/usbnetd
/etc/init.d/kdb /etc/init.d/userstore
/etc/init.d/kernel_toggle /etc/init.d/video
/etc/init.d/launchpad /etc/init.d/volumd
/etc/init.d/linkjail /etc/init.d/wan
/etc/init.d/lipc-daemon /etc/init.d/wand
/etc/init.d/mcsd /etc/init.d/webreaderd
/etc/init.d/modules /etc/init.d/wifi
|
Again. outside my playtime allowance for right now.
One more thing.. is rtc or rtc-cmos a module?
[root@kindle root]#
lsmod
Quote:
Module Size Used by
ar6000 161076 0
g_ether 21096 0
arcotg_udc 38628 1 g_ether
option 12512 1
usbserial 27756 3 option
ehci_hcd 38880 1 option
usbcore 136388 4 option,usbserial,ehci_hcd
volume 8900 1
fiveway 23552 1
mxc_keyb 15904 1
uinput 7776 0
fuse 48348 2
mwan 7324 1 ehci_hcd
eink_fb_shim 116732 0
eink_fb_hal_broads 397532 0
eink_fb_hal 59764 8 eink_fb_shim,eink_fb_hal_broads
|
No. For the record.