Don't grab input devices on Kobo (#6705)

* Don't grab input devices on Kobo

(... as long as we're started via KFMon/NM.
... and MiniClock is not running ^^).

* Bump base

(https://github.com/koreader/koreader-base/pull/1197)
(https://github.com/koreader/koreader-base/pull/1199)
reviewable/pr6707/r1
NiLuJe 4 years ago committed by GitHub
parent 5345728cc4
commit ba927fe4b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1 +1 @@
Subproject commit 2ef312502979bd8b5b7606cf15d4aa6b8eaa8259
Subproject commit de01c8a37cf6c938a57cd16fdc0796239ece0244

@ -137,6 +137,11 @@ if [ "${VIA_NICKEL}" = "true" ]; then
done
# Remove Nickel's FIFO to avoid udev & udhcpc scripts hanging on open() on it...
rm -f /tmp/nickel-hardware-status
# We don't need to grab input devices (unless MiniClock is running, in which case that neatly inhibits it while we run).
if [ ! -d "/tmp/MiniClock" ]; then
export KO_DONT_GRAB_INPUT="true"
fi
fi
# fallback for old fmon, KFMon and advboot users (-> if no args were passed to the script, start the FM)

@ -11,7 +11,7 @@ export LD_LIBRARY_PATH="/usr/local/Kobo"
cd /
unset OLDPWD
unset LC_ALL TESSDATA_PREFIX STARDICT_DATA_DIR EXT_FONT_DIR
unset KOREADER_DIR KO_NO_CBB
unset KOREADER_DIR KO_NO_CBB KO_DONT_GRAB_INPUT
# Ensures fmon will restart. Note that we don't have to worry about reaping this, nickel kills on-animator.sh on start.
(

Loading…
Cancel
Save