View Single Post
Old 03-21-2013, 09:10 AM   #14
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by twobob View Post
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.
knc1 is offline   Reply With Quote