Thread: Glo Kobo Night Mode
View Single Post
Old 07-03-2013, 11:50 AM   #165
cgm999
Enthusiast
cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.
 
Posts: 46
Karma: 54894
Join Date: Jun 2013
Device: kobo
Works for koreader also (tested on aurahd fw=2.6.1 ).

just need to edit koreader_kobo.sh and add the LD_PRELOAD before ./reader.lua

[root@(none) ~]# grep screenI /mnt/onboard/.kobo/koreader/koreader_kobo.sh
LD_PRELOAD=/root/screenInv.so ./reader.lua "$1" > crash.log 2>&1

also you may want to ajust DRCOUNTMAX = 1 in /mnt/onboard/.kobo/koreader/defaults.lua

Note: long press for light button is not working, you can switch mode from telnet/ssh .
cgm999 is offline   Reply With Quote