Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 07-12-2013, 10:03 AM   #16
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 4,657
Karma: 4440239
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2
Hmm, I have working buttons with stars in USBNet... ;?
NiLuJe is offline   Reply With Quote
Old 07-12-2013, 10:33 AM   #17
nasser
Groupie
nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.
 
nasser's Avatar
 
Posts: 191
Karma: 361098
Join Date: Feb 2010
Device: iPod touch 4g/Kindle Paperwhite
Quote:
Originally Posted by knc1 View Post
Read the kernel's message buffer right after you start it back up.
The messages will tell you what state if is re-starting from.

There is a KUAL.button for that purpose, the: copy dmesg -> document button.
Will running 'dmesg|more' under kterm do the same thing?
I tried.. there's a LOT of info.. which are the lines which tell the state it's restarting from?
nasser is offline   Reply With Quote
 
Enthusiast
Old 07-12-2013, 10:45 AM   #18
nasser
Groupie
nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.
 
nasser's Avatar
 
Posts: 191
Karma: 361098
Join Date: Feb 2010
Device: iPod touch 4g/Kindle Paperwhite
Quote:
Originally Posted by NiLuJe View Post
Hmm, I have working buttons with stars in USBNet... ;?
Sorry.. the star was in the 'config.xml' file(<name> tag).. the name entry in the json file was actually blank ("name": " ",)..
nasser is offline   Reply With Quote
Old 07-12-2013, 11:41 AM   #19
knc1
Embedded Cheerleader
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: 6,226
Karma: 5830430
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by nasser View Post
Will running 'dmesg|more' under kterm do the same thing?
I tried.. there's a LOT of info.. which are the lines which tell the state it's restarting from?
The way the button does it (you can just read the script if you want):

1) dmesg -c > tempfile -> rename tempfile to date/time titled document.
(The '-c' clears the message buffer after outputting it.)

I.E:
press button before desired action dump
press button after desired action

The second document (later date/timestamp) will have only the messages *after* the first document.

That is: You could (later) cat the two together if you wanted both in one document file.

I did it that way because the most common use case is to capture only the things before/after a specific **something**.
knc1 is offline   Reply With Quote
Old 07-25-2013, 10:45 AM   #20
nasser
Groupie
nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.
 
nasser's Avatar
 
Posts: 191
Karma: 361098
Join Date: Feb 2010
Device: iPod touch 4g/Kindle Paperwhite
Just to summarise.. we have 3 inactive states:

1. Screen Saver (short press) -- able to resume immediately
2. Blank Screen (long press) -- able to resume immediately
3. Truly off (what is achieved here by issuing the 'halt' command) -- able to resume only by going through the restart process

Other than the screen saver's presence/absence, is there any other difference between states 1 and 2?
nasser is offline   Reply With Quote
Old 07-25-2013, 12:35 PM   #21
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 4,657
Karma: 4440239
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2
Probably 2 goes to suspend directly (t2, for those familiar with powerd).

(Haven't checked, so you're welcome to contradict me ).
NiLuJe is offline   Reply With Quote
Old 07-26-2013, 03:46 AM   #22
nasser
Groupie
nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.
 
nasser's Avatar
 
Posts: 191
Karma: 361098
Join Date: Feb 2010
Device: iPod touch 4g/Kindle Paperwhite
There is also a "lightfix" patch available: https://github.com/ClusterM/kindle-lightfix

Light switches off sometime after setting brightness to lowest level..

Is this "mobileread certified"? :-)
nasser is offline   Reply With Quote
Old 07-26-2013, 04:07 AM   #23
knc1
Embedded Cheerleader
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: 6,226
Karma: 5830430
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by nasser View Post
There is also a "lightfix" patch available: https://github.com/ClusterM/kindle-lightfix

Light switches off sometime after setting brightness to lowest level..

Is this "mobileread certified"? :-)
Yup. You can also find it in the author's posts here.

That one makes very in-efficient use of cron, I suggest that you try the front-light KUAL button.

You can find a discussion here on controlling the frontlight of the paperwhite.

Last edited by knc1; 07-26-2013 at 08:55 AM.
knc1 is offline   Reply With Quote
Old 07-26-2013, 11:45 AM   #24
nasser
Groupie
nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.
 
nasser's Avatar
 
Posts: 191
Karma: 361098
Join Date: Feb 2010
Device: iPod touch 4g/Kindle Paperwhite
Oops.. Sorry..
Forgot about the "FrontLight" Kual button/app.. which i've already installed..
As you say, that does do a more efficient and comprehensive job of controlling the front light..
Not able to properly keep track of all patches/hacks/apps/kual buttons installed.. :-)
nasser is offline   Reply With Quote
Old 08-05-2013, 08:14 PM   #25
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021142
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
Quote:
Originally Posted by knc1 View Post
That button was posted after our lead button tester left for a summer break -
Thanks for the report.
Fixed.

Thanks for the report.
twobob is offline   Reply With Quote
Reply

Tags
kindle poweroff, launcher add-ons, power off, poweroff

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Хумористични разкази от Любомир Николов newone Self-Promotions by Authors and Publishers 3 08-20-2012 11:42 AM


All times are GMT -4. The time now is 04:10 AM.


MobileRead.com is a privately owned, operated and funded community.