![]() |
#1 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 32
Karma: 31582
Join Date: Apr 2013
Device: kindle
|
Turn Off Shortcut? (K4 NT)
I like to turn off my K4 NT at bedtime. For this I have to keep the power button pressed for 7 seconds. The LED flashes thrice and the screen goes blank.
Is it possible to add a new menu item or a button shortcut that accomplishes the same thing right away? Something like - press Menu button > Turn off Or maybe assign a new button shortcut like Back + Home = Shutdown? Thanks. |
![]() |
![]() |
![]() |
#2 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43
Karma: 186060
Join Date: Apr 2013
Device: Kindle Paperwhite
|
your are not Turn Off Kindle - it sleep in suspend mode
- try my KUAL`s TURN OFF BUTTON https://www.mobileread.com/forums/sho...d.php?t=211677 |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Yeah I sent him that info arhim
![]() |
![]() |
![]() |
![]() |
#4 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 32
Karma: 31582
Join Date: Apr 2013
Device: kindle
|
Thanks a lot Arhim and twobob for your help.
![]() |
![]() |
![]() |
![]() |
#5 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 32
Karma: 31582
Join Date: Apr 2013
Device: kindle
|
Besides turn off I also want to have a menu item for sleep mode.
I tried modifying Arhim's Kual based turn off button to run this command: rtcwake -s 1 but it does not seem to be working. What is the shell command for sleep mode in K4NT? |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
powerd_test -h maybe?
or maybe -p I forget... Quote:
|
|
![]() |
![]() |
![]() |
#7 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 32
Karma: 31582
Join Date: Apr 2013
Device: kindle
|
I could not find the powerd_test command on K4NT.
In some Linuxs "pmi action suspend" or "pm-suspend" work, but these commands also are not present on K4NT. Still, there must be some way... |
![]() |
![]() |
![]() |
#8 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
notice the permissions - some you can write to - of those, read from them first to see what values they accept. |
|
![]() |
![]() |
![]() |
#9 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
|
![]() |
![]() |
![]() |
#10 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
No... It really is on there.
I just checked a kindle 4. /usr/bin/powerd_test |
![]() |
![]() |
![]() |
#11 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43
Karma: 186060
Join Date: Apr 2013
Device: Kindle Paperwhite
|
Last edited by Arhim; 05-15-2013 at 08:05 AM. |
![]() |
![]() |
![]() |
#12 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 32
Karma: 31582
Join Date: Apr 2013
Device: kindle
|
Thanks for your efforts twobob, knc1 and Arhim, but the powerd_test command is simply not available on my K4NT with ads. It could be because it is not registered or maybe because it is with ads or FW 4.11...
If I find a solution I'll post it here. Thanks. |
![]() |
![]() |
![]() |
#13 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
That leaves hardly anything other than the RAM refresh running. Code:
[root@kindle root]# cd /sys/power [root@kindle power]# ls -l state -rw-r--r-- 1 root root 4096 May 4 09:28 state [root@kindle power]# cat state standby mem [root@kindle power]# echo mem >state telnet> quit Connection closed. RAM and battery manager chip still runs, it will continue to charge as required. According to my dmesg - it takes it 273 ms. to resume from "suspend to ram". Let me know when you get Win7 or Win8 to resume in less than 1/2 a second. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
D'ye mean ta say the shortcut is migratory? | bagby | Calibre | 2 | 04-08-2012 12:05 AM |
Shortcut for Headings? | elmago79 | Sigil | 1 | 07-04-2011 07:48 PM |
shortcut creation | richard_iii | Nook Developer's Corner | 2 | 04-15-2011 05:38 PM |
TOC Shortcut? | runtmms | Amazon Kindle | 12 | 11-14-2010 05:36 PM |
shortcut to word to go | aidren | enTourage Archive | 1 | 04-29-2010 03:53 AM |