From 646539873116b5caf53578143dd1bf0bd08302d7 Mon Sep 17 00:00:00 2001 From: Markismus Date: Mon, 16 Dec 2013 11:34:02 +0100 Subject: [PATCH 1/2] If Nickel is not stopped, it interferes with Koreader. The sleep function kicks in after the set time and it will freeze koreader. Pulling the power switch gives back control momentarily, but it changes to standby within tens of seconds. --- koreader_kobo.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/koreader_kobo.sh b/koreader_kobo.sh index cbd137d06..171a1e1c8 100644 --- a/koreader_kobo.sh +++ b/koreader_kobo.sh @@ -10,9 +10,11 @@ export TESSDATA_PREFIX="data" # export dict directory export STARDICT_DATA_DIR="data/dict" +# stop Nickel +killall -STOP nickel + # finally call reader ./reader.lua /mnt/onboard 2> crash.log # continue with nickel - -reboot +killall -CONT nickel From 74e03bc6151a58a5733cc06779fe53052b791736 Mon Sep 17 00:00:00 2001 From: Markismus Date: Mon, 16 Dec 2013 11:37:41 +0100 Subject: [PATCH 2/2] Kobo Aura Hd and Mini users get the error message: /luajit: ./frontend/ui/gesturedetector.lua:84: attempt to concatenate field 'y' (a nil value) Hopefully the use of the "," in the DEBUG function instead of the string concatenate operator gets rid of it. --- frontend/ui/gesturedetector.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/ui/gesturedetector.lua b/frontend/ui/gesturedetector.lua index 973e6d40f..353f9f5b0 100644 --- a/frontend/ui/gesturedetector.lua +++ b/frontend/ui/gesturedetector.lua @@ -81,7 +81,7 @@ function GestureDetector:feedEvent(tevs) repeat local tev = table.remove(tevs) if tev then - DEBUG("tev fed to GestureDetector|",tev.x.."|"..tev.y.."|"..tev.id.."|"..tev.slot.."|"..tev.timev.sec.."|"..tev.timev.usec) + DEBUG("tev fed to GestureDetector|",tev.x,"|",tev.y,"|",tev.id,"|",tev.slot,"|",tev.timev.sec,"|",tev.timev.usec) local slot = tev.slot if not self.states[slot] then self:clearState(slot) -- initiate state