Forcibly re-activate IR grid on resume...

re #1862
pull/1863/head
NiLuJe 8 years ago
parent ea382aea86
commit 85737e2b9d

@ -143,6 +143,12 @@ end
function Kobo:resume()
os.execute("echo 0 > /sys/power/state-extended")
-- cf. #1862, I can reliably break IR touch input on resume...
local f = io.open("/sys/devices/virtual/input/input1/neocmd", "r")
if f ~= nil then
io.close(f)
os.execute("echo 'a' > /sys/devices/virtual/input/input1/neocmd")
end
end
-------------- device probe ------------

Loading…
Cancel
Save