Please do not post a support request without first reading and following the advice in

Shutdown via menu with the RemotePi board

  • Pi Model or other hardware: 3
    Power Supply used: What comes with the RPi3 CannaKit
    RetroPie Version Used: 4.2
    Built From: SD card image downloaded from RetroPie site
    USB Devices connected: Macintosh Keyboard, Mayflash PS3 to Controller Adapter (acts as Xbox 360 controller)
    Controller used: Mayflash PS3>Xbox 360
    Error messages received: None
    Log found in /dev/shm/runcommand.log (if relevant): not checked
    Guide used:
    File: /etc/
    Emulator: RetroPie main menu

    I got the RemotePi Board from MSL Digital. Everything works great so far, except for one thing I need help on.

    I need the RemotePi board to be able to cut the power when I choose "Shutdown System" from EmulationStation. All of the other RemotePi board scripts work when using the button and the IR control.

    I tried locating the actual script EmulationStation uses, but I am not certain where it is, if it exists. Do I need to change an .sh file ES uses at all? How do I get the RemotePi board to recognize that ES performed a shutdown? MSL's website makes it seem easy. Just create the file in /etc/ and it should work, at least that is my impression. I am pretty new to this, so I am not certain how to proceed.

    Thank you!

  • @piboy the script looks quite similar to the one used by mausberry. Maybe you can try the solution we found here in your scenario too.

  • Thanks for the reply @meleu

    I looked at the link you provided and I am not certain on how to proceed. I still don't know if the location for the shutdown script provided by MSL Digital is correct. That powerblock script also places itself in the /etc/ folder, very similar to MSL. Not sure it will change anything with my configuration.

    What should I do next? Thanks!

  • I figured out the issue. Problem was I got an error when I followed MSL's instructions to the letter. First time I got an error saying something like "this can not be a service", second time it said "Failed to execute operation: Bad Message". I mistyped. The script:

    Description=RemotePi Board Shutdown Service

    I had "Service" on a line by itself. Doh! It's fixed now, powering on off works perfectly now. Hooray!

Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.