{"action":"created","issue":{"url":"https://api.github.com/repos/recalbox/recalbox-os/issues/650","labels_url":"https://api.github.com/repos/recalbox/recalbox-os/issues/650/labels{/name}","comments_url":"https://api.github.com/repos/recalbox/recalbox-os/issues/650/comments","events_url":"https://api.github.com/repos/recalbox/recalbox-os/issues/650/events","html_url":"https://github.com/recalbox/recalbox-os/issues/650","id":130304467,"number":650,"title":"Shutdown/Reboot hotkey","user":{"login":"Voljega","id":1405681,"avatar_url":"https://avatars.githubusercontent.com/u/1405681?v=3","gravatar_id":"","url":"https://api.github.com/users/Voljega","html_url":"https://github.com/Voljega","followers_url":"https://api.github.com/users/Voljega/followers","following_url":"https://api.github.com/users/Voljega/following{/other_user}","gists_url":"https://api.github.com/users/Voljega/gists{/gist_id}","starred_url":"https://api.github.com/users/Voljega/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Voljega/subscriptions","organizations_url":"https://api.github.com/users/Voljega/orgs","repos_url":"https://api.github.com/users/Voljega/repos","events_url":"https://api.github.com/users/Voljega/events{/privacy}","received_events_url":"https://api.github.com/users/Voljega/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-02-01T09:12:41Z","updated_at":"2016-02-01T11:08:02Z","closed_at":null,"body":"For me the main default of the recalbox as a portable machine which you can bring along is that you can be stuck with a black or freezed screen in some cases (N64 mostly, but it can happens rarely on some other emulators too) \r\n\r\nIn that cases there is nothing to do to shutdown or reboot the Pi safely :\r\n- either you can access the terminal but you need a keyboard\r\n- or you can access the Pi through ethernet and ssh, but you need network, a computer on the same network and putty or something else\r\n\r\nI know that in 4.0.0 file system will be much more robust but isn't there something that could be done, like a three or four buttons combinaison or something wich could be listened anywhere by the system and launch a shutdown or a reboot ?\r\n\r\nI also know that script for on/off switch will be fully integrated in 4.0.0 but not anyone has a switch\r\n"},"comment":{"url":"https://api.github.com/repos/recalbox/recalbox-os/issues/comments/177917261","html_url":"https://github.com/recalbox/recalbox-os/issues/650#issuecomment-177917261","issue_url":"https://api.github.com/repos/recalbox/recalbox-os/issues/650","id":177917261,"user":{"login":"substring","id":1639389,"avatar_url":"https://avatars.githubusercontent.com/u/1639389?v=3","gravatar_id":"","url":"https://api.github.com/users/substring","html_url":"https://github.com/substring","followers_url":"https://api.github.com/users/substring/followers","following_url":"https://api.github.com/users/substring/following{/other_user}","gists_url":"https://api.github.com/users/substring/gists{/gist_id}","starred_url":"https://api.github.com/users/substring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/substring/subscriptions","organizations_url":"https://api.github.com/users/substring/orgs","repos_url":"https://api.github.com/users/substring/repos","events_url":"https://api.github.com/users/substring/events{/privacy}","received_events_url":"https://api.github.com/users/substring/received_events","type":"User","site_admin":false},"created_at":"2016-02-01T11:08:02Z","updated_at":"2016-02-01T11:08:02Z","body":"just my 2 cents : if mupen really crashed, it would terminate and leave the hand back to ES.\r\nOn the other hand, if mupen is locked, that is much trickier.\r\n\r\nCan you check if the mupen64plus process is still running and how much CPU it takes when you get a black screen ?\r\n\r\nI'm afraid adding a watchdog won't solve the problem if it's mupen related ..."}}