View Single Post
Old 02-28-2013, 07:30 AM   #3
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 brianinmaine View Post
Maybe the mighty developers can help (I posted in the regular Kindle forum and got no help?)
https://www.mobileread.com/forums/sho...d.php?t=206889
I hope this is not against the rules to cross-post? Sorry?

I want to write a simple cron script to connect daily to Amazon to see if I have any documents in my cue. I have a Touch wifi only, and it does not wake and sync with Amazon unless I wake it and press the buttons to connect and sync. I'm just trying to automate it.

What I can do:
Code:
lipc-set-prop com.lab126.powerd wakeUp 1
will wake it up.

I can turn on wireless with
Code:
lipc.set.prop com.lab126.cmd wirelessEnable 1
How do I make it ask Amazon if there are any items to download? With com.lab126.ota ?? This is the part I'm ignorant? There is a /usr/bin/todo program? What's that for? Any help or ideas would be wonderful!

this will put it back to sleep after:
Code:
lipc-send-event com.lab126.powerd.debug dbg_power_button_pressed
Thanks!
A cron job the runs while the processor is halted - -
Now that is going to be a very good trick if you can pull it off.

cron is a software program, not access to a hardware timer.
software requires a processor to run it with, and when asleep linux is actually frozen in RAM with the processor shut down.

Install my dmesg -> document KUAL button and study the messages of what is happening during "going to sleep" and "waking up".
knc1 is offline   Reply With Quote