View Single Post
Old 09-18-2016, 09:56 AM   #203
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
Quote:
Originally Posted by kobayashi View Post
The new version works well on my KA1 but took about 5 poweroff cycles to begin working.
Oh. What does the final result (screensaver.cfg) look like for you?

There's very little time between Poweroff (displayed on screen) and actual poweroff (code stops running, too late to save output). There is a lot more time for Sleeping (displayed on screen) until device actually goes to sleep.

That's why for Sleeping it does a full screen scan [which might take 3-4 seconds so wait a bit for scanline to appear perhaps?] and for Poweroff it just uses the previously detected Sleeping offset (which works as long as Sleeping / Poweroff messages displayed by Kobo appear in the same place).

So if the Sleeping scanline is not detected properly, the Poweroff scanline will fail too.

Last edited by frostschutz; 09-18-2016 at 09:59 AM.
frostschutz is offline   Reply With Quote