Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 04-18-2022, 11:14 AM   #181
trampas
Member
trampas began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Sep 2010
Device: Libra 2
It must have been in the README that I read it. I am on 4.32 already so this is a big shame as I love the results from miniclock/nanoclock. I have used miniclock for years but it doesn't work well with buttons as nanoclock does, and I really don't want to do any more fiddling. Happy to do testing if you need it though.
trampas is offline   Reply With Quote
Old 04-18-2022, 11:50 AM   #182
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 trampas View Post
Three or four times while reading, the Libra 2 has frozen and then after about 30 seconds rebooted. I uninstalled NanoClock and all has been well since (fingers crossed). Could there be Libra 2/NanoClock issues?
For my random reboots (they happen without any mods installed), using devmodeon, Force Wifi On helped, but it's a battery drain.

I haven't yet had the chance to test with 4.32 more extensively. It rebooted twice when disconnecting USB cable, and funnily enough, USB connection is when the Libra 2 shuts down Wifi, even with Force Wifi On.

So maybe it's wifi related or just something else not getting enough power at the right time, pulling the entire system down with it. But that's just a wild guess...

I have nothing on this issue, no logs no kernel messages... maybe I need a serial console for this thing.
frostschutz is offline   Reply With Quote
Advert
Old 04-18-2022, 01:00 PM   #183
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: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Yeah, we'd either need pstore support in the kernel or a serial console, as it's just a kernel hang that trips the watchdog reset, and the whole thing never happens while plugged in or with Wi-Fi enabled, so SSH over Wi-Fi/USBNet is out :/.

@frostschutz: Huh. I seemed to remember being able to keep Wi-Fi on during USBMS w/ ForceWifi?
NiLuJe is offline   Reply With Quote
Old 04-19-2022, 02:05 AM   #184
Deobulakenyo
Guru
Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.
 
Posts: 706
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
Nano lock for whatever reason disappears whenever i remove my Libra 2 in Calibre after connecting to it ang updating the database after eject.

Connecting it to the PC and ejecting it via Windows File Explorer (not using Calibre) doesn't mess it up.

It has been like this ever since. Even in fw 4.30.

Last edited by Deobulakenyo; 04-19-2022 at 08:08 AM.
Deobulakenyo is offline   Reply With Quote
Old 04-20-2022, 05:32 PM   #185
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: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
That's... mildly interesting .

As usual, the answer is: debug logs or it didn't happen .
NiLuJe is offline   Reply With Quote
Advert
Old 04-20-2022, 07:06 PM   #186
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by NiLuJe View Post
That's... mildly interesting .
I have a Libra2 on fw 4.32. I don't remember seeing any problems with NanoClock after disconnecting USB - either via calibre or via Win10. I just confirmed by trying both.

I'm not trying to imply that @Deobulakenyo isn't having problems, just that it's not universal.
jackie_w is offline   Reply With Quote
Old 04-20-2022, 10:04 PM   #187
Deobulakenyo
Guru
Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.
 
Posts: 706
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
Quote:
Originally Posted by NiLuJe View Post
That's... mildly interesting .

As usual, the answer is: debug logs or it didn't happen .
I have been asking before how to get the debug logs so i can post it here.

I will also take a video of the libra 2 screen next time and will show you.

Sometimes i need to reboot my device up to six times for nanoclock to show again.
Deobulakenyo is offline   Reply With Quote
Old 04-21-2022, 01:21 AM   #188
MGlitch
Wizard
MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.
 
Posts: 2,855
Karma: 22003124
Join Date: Aug 2014
Device: Kobo Forma, Kobo Sage, Kobo Libra 2
From the first page of this thread:

Quote:
Originally Posted by NiLuJe View Post
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.

Knowing NiLuJe it's unlikely this process has changed, unless something Kobo did made it so it had to change. But since you should be able to do all of those steps still, I don't think Kobo changed anythign that would require you to do more.
MGlitch is offline   Reply With Quote
Old 04-21-2022, 01:30 AM   #189
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,288
Karma: 169098402
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by MGlitch View Post
Knowing NiLuJe it's unlikely this process has changed, unless something Kobo did made it so it had to change. But since you should be able to do all of those steps still, I don't think Kobo changed anything that would require you to do more.
As it says in the nm_nanoclock file: Dump NanoClock's log to a file, because Dev mode log dumps are now encrypted :/.

Last edited by DNSB; 04-21-2022 at 01:34 AM.
DNSB is offline   Reply With Quote
Old 04-21-2022, 03:07 AM   #190
Deobulakenyo
Guru
Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.
 
Posts: 706
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
Being a non-techy person, some of what was posted recently is like reading hieroglyphs for me. Sorry it is my fault for not understanding whether the instructions still stands or it was changed or how the shell access work and dumping the encrypted file works.
Deobulakenyo is offline   Reply With Quote
Old 04-21-2022, 02:58 PM   #191
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: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Flip those two keys to true in your config, do stuff (ideally stuff that breaks ^^), then connect the device to your computer again to get me the .adds/nanoclock/nanoclock.log file .

EDIT: Reading the description (I, err, don't remember the code. This was added as a last resort hack, it's not bullet proof nor particularly well thought out ), you might actually need to do this in *three* steps: flip both settings in the config; eject; do stuff; flip the debug switch *only* in the config; eject; plug again to get updated log.

If possible, the NickelMenu approach described above or in the other thread might be slightly less cumbersome (because, yeah, the stock devmode approach mentioned earlier is no longer viable).

Last edited by NiLuJe; 04-21-2022 at 03:04 PM.
NiLuJe is offline   Reply With Quote
Old 04-22-2022, 07:13 AM   #192
Deobulakenyo
Guru
Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.
 
Posts: 706
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
Here is the log (attached) this was generated after connecting to Calibre, importing a kepub book on Libra 2, device updated the books on my device, then nanoclock disappears on my device. then i generated the log via nickelmenu

This is the log's last part:

Code:
	Also found a crash log from: 2022-04-22 19:08:22.000000000

./bin/luajit: lib/inifile.lua:60: attempt to index a nil value
stack traceback:
	lib/inifile.lua:60: in function 'parse'
	./nanoclock.lua:363: in function 'handleNickelConfig'
	./nanoclock.lua:422: in function 'reloadNickelConfig'
	./nanoclock.lua:295: in function 'setupInotify'
	./nanoclock.lua:892: in function 'waitForEvent'
	./nanoclock.lua:1234: in function <./nanoclock.lua:1217>
	[C]: at 0x0001b1f5

Note: I just put an extension .txt file for the log to be uploaded
Attached Files
File Type: txt nanoclock.log.txt (28.8 KB, 218 views)

Last edited by Deobulakenyo; 04-22-2022 at 07:15 AM.
Deobulakenyo is offline   Reply With Quote
Old 04-22-2022, 01:09 PM   #193
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: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Huh, that's... interesting. That would imply there's suddenly an orphaned (outside of any section) key/value pair at the top of Nickel's config.

I'll fix the parser to handle that more gracefully, thanks .
NiLuJe is offline   Reply With Quote
Old 04-22-2022, 01:20 PM   #194
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: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
And released version 0.11.2, which should fix the crash mentioned above .
NiLuJe is offline   Reply With Quote
Old 04-22-2022, 08:32 PM   #195
Deobulakenyo
Guru
Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.
 
Posts: 706
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
Quote:
Originally Posted by NiLuJe View Post
And released version 0.11.2, which should fix the crash mentioned above .
Thank you but...

Still happens. after importing a book via calibre using USB connection, nanoclock disappears

Using Kobo Uncaged, nanoclock works fine after disconnecting via KU in the device or ejecting via Calibre
Attached Files
File Type: txt v11.2.nanoclock.log.txt (12.9 KB, 101 views)

Last edited by Deobulakenyo; 04-22-2022 at 09:36 PM.
Deobulakenyo is offline   Reply With Quote
Reply

Tags
clock, fbink, lua, miniclock, nanoclock


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 01:11 AM.


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