View Single Post
Old 12-09-2011, 02:18 PM   #6
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10765040
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by seaniko7 View Post
Thats easy. Simply edit cron to execute at certain time shell script which will simulate power button/slider press.

Another way is to create same shell script with endless loop and 24 hour delay between simulating key press.

Cheers
Instead of simulating a slider button, which could also put an awake kindle into sleep mode, a kindle framework startup script uses the following "wakeUp" command to erase the screensaver on startup:

lipc-set-prop com.lab126.powerd wakeUp 1

I tested this command with SSH shell on a kindle keyboard 3G, and on a kindle DX. It wakes them from sleep mode. If the kindle is already awake, this command just displays an error message. It should work fine in a cron script.

Last edited by geekmaster; 12-09-2011 at 02:31 PM.
geekmaster is offline   Reply With Quote