View Single Post
Old 07-01-2011, 11:24 PM   #1
TedN
Junior Member
TedN began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2011
Device: Kindle
Waking Kindle At A Given Time?

I find that if I jailbreak a Kindle3g v 3.1, telnet in, and run this script:

=========================+CUT HERE+=================
#!/bin/sh
#
# set alarm for 5 Min in the future
#
trap "" 1

date > do_sleep_wake.out

echo "" > /sys/class/rtc/rtc0/wakealarm
echo "+300" > /sys/class/rtc/rtc0/wakealarm

#
# Suspend system
#
echo mem > /sys/power/state

#
# We are awake again
#
date >> do_sleep_wake.out
====================END SCRIPT=============

That the kindle seems to suspend itself and that the two dates written to "do_sleep_wake.out" are in fact 5 minutes apart. (And I can't ping or telnet to the kindle during the 5 min suspend interval).

However, when I arrange for a similar script to run at system boot ("restart") time, with a 15 min interval, the kindle does not wake after going into the screen saver "slide power switch to continue" mode. Any thoughts as to why?

My guesses are that maybe ~usbNetwork has to be running, or that there is some interaction with powerd.
TedN is offline   Reply With Quote