Git Product home page Git Product logo

es-generic-shutdown's People

Contributors

crcerror avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

es-generic-shutdown's Issues

Automation of the installation procedure

This is a piece of simple shell script I wrote to automate the installation procedure. And it helps me to avoid mistake during the installation.

It is great if it can be added in the document somewhere, or shipped as an installation script.

apt-get install -y raspi-gpio
mkdir -p /home/pi/RetroPie/scripts
wget https://raw.githubusercontent.com/crcerror/ES-generic-shutdown/master/multi_switch.sh -O /home/pi/RetroPie/scripts/multi_switch.sh
chown -R pi:pi /home/pi/RetroPie/scripts
chmod 0755 /home/pi/RetroPie/scripts /home/pi/RetroPie/scripts/multi_switch.sh
sed -i -e '/\/home\/pi\/RetroPie\/scripts\/multi_switch.sh/ d' -e '1i /home/pi/RetroPie/scripts/multi_switch.sh --nespi+ &' /opt/retropie/configs/all/autostart.sh
wget https://raw.githubusercontent.com/crcerror/ES-generic-shutdown/master/shutdown_fan -O /lib/systemd/system-shutdown/shutdown_fan
chown -R root:root /lib/systemd/system-shutdown/shutdown_fan
chmod 0755 /lib/systemd/system-shutdown/shutdown_fan

Please add new Nespi 4 support

Love the script but I now swiched to the latest nespi 4 (for raspberry pi 4). I used the nespi+ config and in-game the reset brings me back to te ES menu but shutdown makes it stuck where the shutdown sequence is run but the fan keeps active. Pressing power again the does nothing.

Would love it if you could make it compatible or give instructions on how to.

Cheers.

NESPi+ power off leaves power running to pi

With the retroflag script when you press the power button the power is completely cut from the pi, so if you have a fan installed, it too shuts off. With your script the fan stays running. Is this because your script doesn't use the shutdown command?

SRAM not saving

SRAM is not being saved when this script is run from in game. It’s also affecting the reset button on retroflag cases.

Action to perform if ES is not running

Sometimes you need to close ES to scrape games and perform other functions. Is there a way to have the reset button perform a reboot or even start ES back up after performing these actions while sitting in the terminal?

BTW, I just got your latest script installed on my nespi+ and everything works perfect now, thanks for the hard work!

nespicase - what changes I need to apply to SafeShutdown.py?

HI,

just got a nespicase - the one without the switch.

Installation works. I saw the SafeShutdown.py running after reboot.

However the switches are not working.

Resets - immediately triggers reset, no save shutdown is triggered. Would be nice to get emulatorstation restarted
Poweronoff - this switch is pressed in, when I release it I guess the save shutdown should be triggered. However, it's not, seems like poweroff.

Guess it has to do with the

"--nespicase" switch for the SafeShutdown.py script - how I can alter it to get the right behavior?

Thanks!
Joerg

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.