11-13-2011, 03:42 PM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Nov 2011
Device: Kindle 3 Wifi
|
Keeping Wifi on?
Finished jailbreaking my (self-repaired) Kindle 3 Wifi and am excited about the possibilities.
However, I find that the unit automatically sleeps when not in use. This should come as a no-brainer, but when using ssh it's kind of annoying when the session gets disconnected and terminated due to the kindle not being "touched". I've heard that you can keep the unit out of sleep by keeping it plugged, but is there a way to temporarily keep the unit awake during active wifi sessions? I would assume the unit itself would keep itself awake when downloading books, but not having delved into the system very much yet I'm not sure what signals etc. to invoke this or maybe just tell the unit its' still in use. Any help is appreciated! |
11-13-2011, 06:59 PM | #2 |
Connoisseur
Posts: 57
Karma: 10288
Join Date: Aug 2011
Location: West Sussex
Device: Kindle 3 - 3g, Samsung Galaxy Note
|
If I am correct I think there is a hack called kaffeine that will keep the kindle awake. It should be here in the developers section somewhere.
|
11-14-2011, 08:55 PM | #3 |
Junior Member
Posts: 2
Karma: 10
Join Date: Nov 2011
Device: Kindle 3 Wifi
|
|
11-15-2011, 05:36 AM | #4 | |
Junior Member
Posts: 6
Karma: 10
Join Date: Nov 2011
Device: none
|
Quote:
but you should note this: it will waste your kindle's battery, just like you are reading. i found when kindle charging, the wifi is always ON. so try this |
|
11-15-2011, 01:39 PM | #5 |
Connoisseur
Posts: 79
Karma: 2718
Join Date: Aug 2011
Device: Kindle 3G
|
Another tidbit: /etc/kdb.src/luigi/system/daemon/powerd/t1_timeout contains the sleep time in seconds. (If you change it, you need to do a /etc/init.d/powerd restart for it to take effect.)
That said, kaffeine totally rocks. Once you get it on your kindle somewhere, you can just run it as soon as you ssh in.. and then run it again when you leave. I have another option though, in case you think you might forget to close it when you're done... Here's a script that I use (via launchpad) when I'm going to sleep listening to music with kinamp (made by the same developer as kaffeine) and want the music to keep going for only 90 minutes. Code:
#!/bin/sh sleep_pid=`ps -C exe -o pid,args | awk '/sleep 5400/{print$1}'` ## if another instance of this script (more specifically: the sleep) is already running, kill it if [ -n "$sleep_pid" ] ; then echo "CANCELLED SLEEP TIMER" kill $sleep_pid ## else, sleep for 90 min (5,400 sec), then kill kinamp & kaffeine else echo "90min SLEEP TIMER ENABLED at `date +%r`" sh -c 'sleep 5400; pidof kinamp >/dev/null && kinamp; pidof kaffeine >/dev/null && kaffeine 3; echo "END OF SLEEP TIMER REACHED -- KILLED K & K"' fi Space = !/mnt/us/launchpad/sleeptimer.sh |fbout& In your case, you could drop this script into /mnt/us/sleep, say, and then when you ssh, just run it like /mnt/us/sleep& and you'll be good to go. PS: I have symlinks in /usr/bin for things like kaffeine, kinamp, fbout. So anyone using this will need to tweak the paths for those tools appropriately. Also, if you're not using kinamp and just want this script to have a timer on kaffeine, well, that's fine. It checks to see if kinamp is running and if it isn't, well.. it doesn't do anything. PPS: For any linuxy people who got all that in one shot, I lied: I don't really run the script |fbout. I actually have the |fbout part in the script itself (after the three echos) to avoid some un-prettiness; however, I figured I'd make things a little simpler for folks that don't have fbout installed. Last edited by ryran; 11-15-2011 at 01:54 PM. |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Are you keeping your vox or returning it? | ron1959 | Kobo Tablets | 34 | 01-27-2012 11:21 AM |
Keeping it clean | cypherslock | Kobo Tablets | 3 | 11-01-2011 07:42 PM |
keeping library on pc and portable? | shootist | Calibre | 1 | 09-05-2011 02:55 AM |
Why I am keeping PRS 900 over others | robertpolson | Sony Reader | 11 | 02-17-2010 05:54 PM |
Why I am keeping PRS 900 over others | robertpolson | Which one should I buy? | 5 | 02-15-2010 12:29 PM |