@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...