Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Safe Shutdown function #91

Open
Nam-Ereh-Won opened this issue Sep 5, 2017 · 5 comments
Open

Safe Shutdown function #91

Nam-Ereh-Won opened this issue Sep 5, 2017 · 5 comments

Comments

@Nam-Ereh-Won
Copy link
Contributor

Since this is intended to be headless, you don't have many options for starting a safe shutdown outside of rigging up a button and setting up a trigger. Perhaps holding the Move and Trigger buttons on a controller in admin mode could initiate a safe shutdown and/or a button in the Web Interface.

@adangert
Copy link
Owner

adangert commented Sep 5, 2017

Might be nice to have in the web interface, although I've had no problems at all with just pulling the power on the pi though, the whole system seems to be very resilient.

@mbabinski-at-google
Copy link
Collaborator

It might be more or less sufficient to just flip on the "sync" mount option on "/". It will make writing to disk slower, but JoustMania shouldn't be doing much writing.

@CelestialQwert
Copy link

My latest pull request has options to reboot or shutdown in web settings. I would like to add a button combination as well, but we gotta figure out the right combo that "drunk player randomly mashing buttons" has a minuscule chance of tripping.

@adangert
Copy link
Owner

adangert commented Oct 9, 2017

Holding both triangle and select for a couple seconds probably would do the trick.

@martinbogo
Copy link

How about a two-stage combo for shutdown and/or reboot:

  • hold triangle + select for 5 seconds ( shutdown )
  • hold circle + select for 5 seconds ( reboot )
  • vibrate controller(s) and set to blinking red, announce "shutdown" or "reboot" via sound or verbally
  • trigger confirms shutdown or it times out within another 5 seconds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants