{"action":"created","issue":{"url":"https://api.github.com/repos/koreader/koreader/issues/1862","repository_url":"https://api.github.com/repos/koreader/koreader","labels_url":"https://api.github.com/repos/koreader/koreader/issues/1862/labels{/name}","comments_url":"https://api.github.com/repos/koreader/koreader/issues/1862/comments","events_url":"https://api.github.com/repos/koreader/koreader/issues/1862/events","html_url":"https://github.com/koreader/koreader/issues/1862","id":137368523,"number":1862,"title":"Losing touch input after a suspend...","user":{"login":"NiLuJe","id":111974,"avatar_url":"https://avatars.githubusercontent.com/u/111974?v=3","gravatar_id":"","url":"https://api.github.com/users/NiLuJe","html_url":"https://github.com/NiLuJe","followers_url":"https://api.github.com/users/NiLuJe/followers","following_url":"https://api.github.com/users/NiLuJe/following{/other_user}","gists_url":"https://api.github.com/users/NiLuJe/gists{/gist_id}","starred_url":"https://api.github.com/users/NiLuJe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NiLuJe/subscriptions","organizations_url":"https://api.github.com/users/NiLuJe/orgs","repos_url":"https://api.github.com/users/NiLuJe/repos","events_url":"https://api.github.com/users/NiLuJe/events{/privacy}","received_events_url":"https://api.github.com/users/NiLuJe/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/koreader/koreader/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/koreader/koreader/labels/Kobo","name":"Kobo","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2016-02-29T20:47:02Z","updated_at":"2016-03-02T18:35:18Z","closed_at":null,"body":"* KOReader version: 2015.11-185, 2015.11-183, 2015.11-175\r\n* Device: Kobo H2O\r\n\r\n#### Issue\r\n\r\nI appear to be losing touch input after a wakeup from suspend...\r\nI don't recall this ever happening before, but it's been a while...\r\nThat's on FW 3.19.5761\r\n\r\n#### Steps to reproduce\r\n\r\nSuspend.\r\nWakeup.\r\nEnjoy your hard-reboot unless you're still in USBNet mode ;).\r\n\r\n----\r\n\r\nI though this was an USBNet side-effect, because I had it randomly happen on nickel too, but that might have been *after* a broken wakeup from KO...\r\nAnd, anyway, it happens without USBNetwork, too :/.\r\n\r\nKeep in mind that I'm not using KSM, and launching KOReader manually in a shell (and backgrounding it if I'm over WiFi).\r\n\r\nDo we need to ungrab & close/open & grab event1 around suspend/wakeup?\r\nWe currently can't, we only have a closeAll function, and we don't keep a map of open fd to input device...\r\n"},"comment":{"url":"https://api.github.com/repos/koreader/koreader/issues/comments/191363278","html_url":"https://github.com/koreader/koreader/issues/1862#issuecomment-191363278","issue_url":"https://api.github.com/repos/koreader/koreader/issues/1862","id":191363278,"user":{"login":"Frenzie","id":202757,"avatar_url":"https://avatars.githubusercontent.com/u/202757?v=3","gravatar_id":"","url":"https://api.github.com/users/Frenzie","html_url":"https://github.com/Frenzie","followers_url":"https://api.github.com/users/Frenzie/followers","following_url":"https://api.github.com/users/Frenzie/following{/other_user}","gists_url":"https://api.github.com/users/Frenzie/gists{/gist_id}","starred_url":"https://api.github.com/users/Frenzie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Frenzie/subscriptions","organizations_url":"https://api.github.com/users/Frenzie/orgs","repos_url":"https://api.github.com/users/Frenzie/repos","events_url":"https://api.github.com/users/Frenzie/events{/privacy}","received_events_url":"https://api.github.com/users/Frenzie/received_events","type":"User","site_admin":false},"created_at":"2016-03-02T18:35:18Z","updated_at":"2016-03-02T18:35:18Z","body":"Oh, I do seem to recall an issue like that when I launched KOReader over\ntelnet while nickel was running. Not something I considered worth\ninvestigating. My normal use is from KSM.\nOn Mar 2, 2016 5:10 PM, \"NiLuJe\" <notifications@github.com> wrote:\n\n> Okay, then limiting the workaround to weird people like me launching it\n> from shell with nickel running was probably a good decision, thanks ;).\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/koreader/koreader/issues/1862#issuecomment-191306433>.\n>\n"}}