![]() |
#16 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,501
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Yeah, that was going to be my next request, thanks
![]() |
![]() |
![]() |
![]() |
#17 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,501
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Are you reading in a Landscape orientation?
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 265
Karma: 391602
Join Date: Oct 2009
Location: Chicago, IL USA
Device: Sony PRS-350; Kobo Clara HD; Kobo Clara 2E; Kobo Clara BW
|
Never in landscape. Not sure the Clara even does that.
|
![]() |
![]() |
![]() |
#19 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,501
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Then it definitely works on my end, so, looks like it's debugging time ^^.
* Enable Developer mode on your device (just search for devmodeon) * Set debug to 1 in nanoclock.ini * Do a bunch of stuff for a while, ideally including letting it sit a few minutes on a page * Connect your device to a computer over USB, and send me the most recent syslog file (they're dumped in the .kobo folder, if memory serves). * (You can then disable developer mode by searching for, you guessed it, devmodeoff ![]() That's the long way 'round. If you have shell access, just get me the output of logread | grep 'nanoclock\[[[:digit:]]\+\]' (you'll still need to enable debugging in nanoclock, obviously ;p). I'll see how viable shoving that in a NickelMenu entry might be tomorrow, too. |
![]() |
![]() |
![]() |
#20 | |
Connoisseur
![]() Posts: 94
Karma: 12
Join Date: Nov 2018
Location: Salamanca
Device: kobo Clara HD, Onyxboox C67
|
Oh, yes. When I read, clock is not updated. Confirmed.
Edit: But, when I read with Koreader, clock is updated correctly Quote:
Last edited by Carmelocotonto; 06-19-2021 at 02:53 AM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#21 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 265
Karma: 391602
Join Date: Oct 2009
Location: Chicago, IL USA
Device: Sony PRS-350; Kobo Clara HD; Kobo Clara 2E; Kobo Clara BW
|
Quote:
|
|
![]() |
![]() |
![]() |
#22 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,501
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Gah, I'd forgotten the fact that Nickel now encrypts those log dumps >_<".
|
![]() |
![]() |
![]() |
#23 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 265
Karma: 391602
Join Date: Oct 2009
Location: Chicago, IL USA
Device: Sony PRS-350; Kobo Clara HD; Kobo Clara 2E; Kobo Clara BW
|
This acts the same on my two Clara's. Carmelocotonto also has a Clara, so that's three. Something specific there? Mine are patched, if that might make a difference, although I would not think so.
Anyway, it's still an improvement over the original MiniClock. And, from what I see around here, you will eventually figure something out... ![]() |
![]() |
![]() |
![]() |
#24 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,501
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
I definitely can't reproduce on the H2O, but I'll give it a go on the Forma, even if this aspect of the code should be entirely device-agnostic... :}
|
![]() |
![]() |
![]() |
#25 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,501
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Released v0.9.7, which employs some black magic to make autorefresh behave when combined with overlay or backgroundless
![]() ---- That said, I couldn't reproduce any kind of issue with autorefresh, even on the Forma... But, I've tweaked a few things in 0.9.7, so, who knows... Do check the updated default config. In particular, I've added a link to a NickelMenu config to dump the logs manually, as well as another native option that'll do the same. It only dumps the log when the config is reloaded though, which makes it a bit clunky to use if the only way you can modify the config is over USBMS (i.e., it means a first USBMS session to flip the switch, then another to actually get at the log). @Carmelocotonto: Since you mentioned KOReader, one interesting data point would be to check if you actually see the clock ticking in KOReader's own USBMS tool... (as it's basically the same piece of code). |
![]() |
![]() |
![]() |
#26 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 265
Karma: 391602
Join Date: Oct 2009
Location: Chicago, IL USA
Device: Sony PRS-350; Kobo Clara HD; Kobo Clara 2E; Kobo Clara BW
|
New version installed. Still no auto update while in a book. Got a log by using the dump_log=true in the .ini file, but can't see anything of value in it. Just one line:
"Jun 19 22:56:57 nanoclock[467]: Config file was modified, reloading it" Maybe I don't understand where or what to look for? Let me know if there is something else I can do, and I'll try it tomorrow. |
![]() |
![]() |
![]() |
#27 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,501
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@Phil_C: You'd need to enable debugging first for it to be any use
![]() The very low PID and lack of startup banner is mildly worrying, though... e.g., it could look something like Code:
Jun 20 06:42:26 nanoclock[759]: Initialized NanoClock v0.9.6-42-ga14f7e9 (2021-06-20) with FBInk v1.23.2-50-g9e6b568 for Kobo Jun 20 06:42:26 nanoclock[759]: Updated clock (marker: 759) Jun 20 06:42:26 nanoclock[759]: No clock update necessary: damage marker: 759 vs. clock marker: 759 (found: true) Jun 20 06:42:30 nanoclock[759]: No clock update necessary: damage rectangle 184x70+206+994 does not intersect with the clock's 80x32+991+1408 Jun 20 06:42:30 nanoclock[759]: Updated clock (marker: 760) Jun 20 06:42:30 nanoclock[759]: No clock update necessary: damage marker: 760 vs. clock marker: 760 (found: true) Jun 20 06:42:47 nanoclock[759]: No clock update necessary: damage rectangle 260x488+280+233 does not intersect with the clock's 80x32+991+1408 Jun 20 06:42:48 nanoclock[759]: Updated clock (marker: 761) Jun 20 06:42:48 nanoclock[759]: No clock update necessary: damage marker: 761 vs. clock marker: 761 (found: true) Jun 20 06:42:49 nanoclock[759]: Updated clock (marker: 762) Jun 20 06:42:49 nanoclock[759]: No clock update necessary: damage marker: 762 vs. clock marker: 762 (found: true) Jun 20 06:42:52 nanoclock[759]: Updated clock (marker: 763) Jun 20 06:42:52 nanoclock[759]: No clock update necessary: damage marker: 763 vs. clock marker: 763 (found: true) Jun 20 06:42:53 nanoclock[759]: Updated clock (marker: 764) Jun 20 06:42:53 nanoclock[759]: No clock update necessary: damage marker: 764 vs. clock marker: 764 (found: true) Jun 20 06:43:00 nanoclock[759]: Updated clock (marker: 765) Jun 20 06:43:00 nanoclock[759]: No clock update necessary: damage marker: 765 vs. clock marker: 765 (found: true) Jun 20 06:43:29 nanoclock[759]: Tripped IN_CLOSE_WRITE for wd 1 (config's: 1) Jun 20 06:43:29 nanoclock[759]: Config file was modified, reloading it Last edited by NiLuJe; 06-20-2021 at 12:44 AM. |
![]() |
![]() |
![]() |
#28 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,501
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Oh, lightbulb: it's *nix line-endings, make sure you're using an actual text editor to view it (otherwise, you might indeed see weird stuff like a single giant line or something).
(I was under the impression even notepad finally did that right in current Win 10 versions, though...). EDIT: Err, the config file is *also* using *nix line endings, so, that'd be super strange, unless you're using different apps for each file :? Last edited by NiLuJe; 06-20-2021 at 12:48 AM. |
![]() |
![]() |
![]() |
#29 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 265
Karma: 391602
Join Date: Oct 2009
Location: Chicago, IL USA
Device: Sony PRS-350; Kobo Clara HD; Kobo Clara 2E; Kobo Clara BW
|
OK, I think I have it now. Log file attached...
|
![]() |
![]() |
![]() |
#30 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,501
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Yep, that's more like it
![]() And... I'm seeing the clock ticks working just fine. ... at least *after* the USB session. Can you check how it looks after a cold boot, just in case? (Because it looks like that's the seventh time it's been switched to USB mode since boot). |
![]() |
![]() |
![]() |
Tags |
clock, fbink, lua, miniclock, nanoclock |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cover images not persistent | gogu1904 | Kobo Reader | 5 | 08-21-2020 10:55 AM |
PW2 jailbreak not persistent | chrnit | Kindle Developer's Corner | 3 | 01-06-2017 08:16 PM |
Persistent Display? | jessie102 | Sony Reader | 2 | 03-08-2010 09:45 PM |
Persistent WIFI connection. | tovarish | iRex | 2 | 11-16-2009 03:30 AM |