Homepage Forums RetroPie Project GPIO Adapter, ControlBlock etc. [Solved] SNESDev issues with reset/shutdown button in Retropie 2.6

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #90795
    petrockblog
    Keymaster

    Hi Jara,

    did you make any progress on this? There has been an update to the newest version of the BCM2835 library to support the Raspberry Pi 2 …

    #90798
    Jara
    Participant

    Hi

    Thanks for your reply.
    Haven’t had time to go back to the problem in the past week.
    I’m not using a Pi2, so I don’t know if the update you mention should make any difference (on my Pi B).

    I’ll try a fresh “installation” of the retropie image and only configure snesdev to see if it works fine. If it does, I’ll start configuring things one by one and checking if the button works each time. This in case somehow something I configured is what caused the issues with snesdev (seems unlikely, but I’ll try anyways).

    I’ll keep you guys posted.

    Edit:
    Ok. With a clean image installation it works fine.
    I’ll still check if it keeps working after every different configuration I do in case the issue arises again.

    #90829
    Jara
    Participant

    I was too lazy to do it before, but solved the problem rather quickly.

    The issue presents itself when adding these two lines to retroarch.cfg (/opt/retropie/configs/all/)

    input_enable_hotkey_btn = "X"
    input_exit_emulator_btn = "Y"

    With X and Y buttons on the controller. It’s a button combination to exit the emulator. Taken from this guide https://supernintendopi.wordpress.com/

    I guess that adding that option to exit emulators with a controller button combination somehow prevents SNESDev from using it’s button (in pin 11) to do the same thing.

    But like I said before, in RetroPie 2.3 that problem doesn’t happen. I can exit with both the controller button combination and the SNESDev button in Pin 11 (with the same configuration).

    It would be good to know if someone who is using the GPIO adapter has this same problem when adding those lines to retroarch.cfg.

    I’ll contact the person that wrote that guide in case he wants to add a warning about this issue.

    #90970
    petrockblog
    Keymaster

    Glad you figured it out and thanks for sharing it here!

    SNESDev simulates the press of the ESC key when pressing the button three times in a row. The hotkey behavior of RetroArch must have changed between RetroPie 2.3 and 2.6.

    #96456
    sarsons
    Participant

    I managed to work around this issue by writing a python script to send a sigterm to retroarch or mame on the button press. Retroarch exits cleanly and emulationstation restarts as if pressing esc, works fine and I can still use the hotkeys on the controller to do the same thing.

    #100699

    Are you sure it’s a clean and exit? Are you issuing a sigterm to the mame4all process? I’m using a ‘kill -TERM’ and it’s not working.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘GPIO Adapter, ControlBlock etc.’ is closed to new topics and replies.