Quote:
Originally Posted by twobob
for info on the k5
[root@kindle root]# cat /sys/class/rtc/rtc1/
Code:
/sys/class/rtc/rtc1/date /sys/class/rtc/rtc1/since_epoch
/sys/class/rtc/rtc1/dev /sys/class/rtc/rtc1/subsystem/
/sys/class/rtc/rtc1/device/ /sys/class/rtc/rtc1/time
/sys/class/rtc/rtc1/max_user_freq /sys/class/rtc/rtc1/uevent
/sys/class/rtc/rtc1/name /sys/class/rtc/rtc1/wakealarm
/sys/class/rtc/rtc1/power/
[root@kindle root]# cat /sys/class/rtc/rtc0/
Code:
/sys/class/rtc/rtc0/date /sys/class/rtc/rtc0/power/
/sys/class/rtc/rtc0/dev /sys/class/rtc/rtc0/since_epoch
/sys/class/rtc/rtc0/device/ /sys/class/rtc/rtc0/subsystem/
/sys/class/rtc/rtc0/max_user_freq /sys/class/rtc/rtc0/time
/sys/class/rtc/rtc0/name /sys/class/rtc/rtc0/uevent
so there are in fact two on there.
|
Set the above as required (research probably needed to determine those settings)
Echo the "memory" power state into /sys/power
(Exact commands accepted may depend on which of the three kernels your devices runs - learn those by cat'ing the same entry).
Then wait.
The above should only depend on the kernel's interface to the hardware it is running on. "Below" any application programs.