View Single Post
Old 07-01-2018, 01:41 PM   #30
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
@7hir7een:

Hmm. You can try debug mode, see if something better pops up in the logs that way...

In koreader/koreader.sh, switch ./reader.lua to ./reader.lua -d (c.f., https://github.com/koreader/koreader...reader.sh#L236) (with a decent text/code editor that won't mangle *nix line endings).

And on the off-chance I messed that up, does the path /sys/class/backlight/max77796-bl/brightness actually point to something?

EDIT: As for terminal output, I guess our best friend strace might be of help again...

Code:
strace -fitv -p $(pidof reader.lua | sed -e 's/ / -p /g')
This might be extremely verbose (or not), depending on what's causing the trouble...

Last edited by NiLuJe; 07-01-2018 at 01:51 PM.
NiLuJe is offline   Reply With Quote