10-03-2015, 03:22 PM | #121 |
Connoisseur
Posts: 57
Karma: 18280
Join Date: Sep 2010
Location: Berlin
Device: BOL Oyo, Kobo Glo 8GB
|
mmh with 3.18.0 on my glo work it not with the new offset data
|
10-03-2015, 03:36 PM | #122 |
Linux User
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
It's different for every device and language... you'll have to use the debug mode to get correct values for the Glo and whatever language you're using, unless someone else does it and shares their settings.
I will try to make the setup easier in the future but right now it's the way it is |
Advert | |
|
10-04-2015, 09:39 AM | #123 |
Connoisseur
Posts: 57
Karma: 18280
Join Date: Sep 2010
Location: Berlin
Device: BOL Oyo, Kobo Glo 8GB
|
mmh with 17.3 there was no need to edit the setting
|
10-04-2015, 10:03 AM | #124 |
Linux User
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
Yup, but the logread method no longer works in 3.18.0, Kobo removed the log messages...
|
10-05-2015, 01:14 AM | #125 |
Member
Posts: 10
Karma: 1000
Join Date: Sep 2013
Device: K3gb, Kobo Aura HD
|
My Aura H2O 3.18.0 in English needed:
Code:
offset=150 standby=f400e0d8bdc587d96e9d14fcd584144c Last edited by Bandi-T; 10-05-2015 at 01:17 AM. |
Advert | |
|
10-05-2015, 10:12 PM | #126 |
Member
Posts: 10
Karma: 1000
Join Date: Sep 2013
Device: K3gb, Kobo Aura HD
|
Hmm, I am experiencing race conditions: sometimes the custom image gets displayed for a moment, but then gets overwritten again by the kobo sleep screen image.
I'm wondering, wouldn't it be better to strace the hell out of nickel to see the what it does when going to sleep, and then do an LD_PRELOAD hook into whatever it is actually doing? Like actually invoking the power state transition (be that done through open()ing and write()ing to a device file, or a syscall)? Last edited by Bandi-T; 10-06-2015 at 01:33 AM. |
10-06-2015, 06:22 AM | #127 |
Linux User
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
@Bandi-T: is that using scanline mode? and have you disabled Kobo's cover/progress options, it probably works best with the plain "standby" screen?
Possible problems with scanline mode are... using the wrong signature, or using the wrong delay values. If you're not on 3.18.0 firmware and still using logread mode, your best bet is the delay option as well, see if other values work better. There is another screensaver mod that does the LD_PRELOAD. I'm trying to avoid this solution though, as it would raise the conflict potential with other mods [that modify rcS and use their own preloads already such as the night mode]. Basically in order to control the preload you also have to control the nickel startup but I don't [it could be started by rcS, it could be started by KSM, it could be with or without nightmode, etc. etc.]. I rather prefer my mod to be an external/independent entity, although the scanline solution is already breaking that rule a little by hooking into 'dd'... |
10-06-2015, 06:44 AM | #128 | |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
Last edited by tshering; 10-06-2015 at 06:47 AM. |
|
10-06-2015, 10:07 AM | #129 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
There's always /etc/ld.so.preload if you don't want to mess with init scripts (provided Kobo's ld.so isn't hobbled to prevent that).
|
10-06-2015, 10:30 AM | #130 |
Linux User
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
But that's not limited to nickel... is it?
I'm not sure if I want to have custom libraries preloaded for everything. Besides, there already is a screensaver mod that does just that, so I don't have to do it. |
10-06-2015, 01:45 PM | #131 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@frostschutz: True .
(FWIW, Amazon does it on the Kindle to enforce locales). |
10-06-2015, 04:07 PM | #132 | |
Member
Posts: 10
Karma: 1000
Join Date: Sep 2013
Device: K3gb, Kobo Aura HD
|
Yes to all: Aura H2O, 3.18.0, English, scanline mode, kobo sleep screen is plain "Sleeping" displayed on white background.
I suspect this is my issue, yes. Must confess haven't looked at these options yet - I assumed it was only neeeded for the scanline detection, which does seem to work each time. I'll take a proper look at the docs. Ahh, lovely, I must take a look; apologies, I haven't stumbled upon it yet, did not think there would be several, so once I found yours I stopped looking. Quote:
Yes, I can see your design goal now, thanks for highlighting and apologies for being unaware of my surroundings. And yes, hacking into dd is what led me down this slippery thinking slope of replacing nickel with a shell script doing preload. |
|
10-06-2015, 04:21 PM | #133 | |
Linux User
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
The nickel binary is 5M, so if you replace it with a shell script and then make a firmware update (bye your shellscript), you've wasted 5M of the internal memory. Now, there is ~100M free internally which seems like a lot, but... and then you still have the issue that all mods have to cooperate on this somehow.
It might still come to that, depending on which ways Kobo decides to break this mod in the future. Quote:
I'm still hoping to find a way to improve the scanline method, right now it's impossible to tell what the signature stands for, so it's easy to pick the wrong one. As for delay, smaller delays work better for scanline mode, so try delay=0.1 0.1 0.1 0.1 0.1 |
|
10-07-2015, 12:40 PM | #134 | |
Connoisseur
Posts: 57
Karma: 18280
Join Date: Sep 2010
Location: Berlin
Device: BOL Oyo, Kobo Glo 8GB
|
ok i have found the setting for my Kobo Glo with 3.18.0 in German with scanline setting
Quote:
@frostschutz da ist noch ein kleines problem. ich versuchs dir auf deutsch zu erklären da du ja von hier bist. wenn man aus dem schlaf modus raus geht ist oft kurz das menü zu sehen und dann kommt wieder das bild vom screensaver zum vorschein. das geht dann nur weg in dem bereich was geändert wird. da ist noch ein kleines problem das ab und an auftrifft |
|
11-14-2015, 05:33 PM | #135 |
Junior Member
Posts: 8
Karma: 10
Join Date: Nov 2015
Device: Kobo Aura HD
|
Kobo Aura HD Scanline Settings
Just tried this on my Aura HD running 3.18.0 in English.
Still getting the delay timings right (it's still leaving 'power off' on occasion when I'm testing it) but the offset and patterns seem to work just fine. Code:
offset=145 standby=f400e0d8bdc587d96e9d14fcd584144c poweroff=0721f0fe4c1e6e1b1e4137531f2fea80 |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Boox T68 - Screensaver Image | fozzedout | Onyx Boox | 4 | 07-27-2020 07:25 PM |
(PW) Location of waterstones screensaver image | mrspaceman | Kindle Developer's Corner | 19 | 05-09-2013 02:07 AM |
[PB360] Image Viewer with random? | rogue_librarian | PocketBook | 2 | 12-12-2010 05:20 AM |
K2i original screensaver image | Aeroraptor | Kindle Developer's Corner | 1 | 12-12-2009 07:40 PM |
Hacks Angus Young Screensaver Image | Jason Shaffer | Amazon Kindle | 5 | 04-08-2009 01:34 PM |