Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Changing GPIO pins used for shutdown

    GamePad/GPIO/USB encoder
    changing gpio pins used
    2
    3
    1461
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Matra
      Matra last edited by

      Is there a config or anything anywhere that will allow me to choose the pins used for
      "system.power.switch=PIN56ONOFF"

      Pin 5 is used by the SPI CLK and that is being used on my screen... I want to add a way of turning it on/off with a gameboy power switch but unknown as to whether I need to recompile stuff or if there is a simple config where I can change it (as I haven't found it yet through exploring!!)

      1 Reply Last reply Reply Quote 0
      • rockaddicted
        rockaddicted last edited by

        Hi you will have to change the script managing that :

        https://gitlab.com/recalbox/recalbox/blob/master/board/recalbox/fsoverlay/recalbox/scripts/rpi-pin56-power.py

        on your recalbox /recalbox/scripts/rpi-pin56-power.py

        Recalbox V4.1.0 - RPI3 OC - Xbox360 wireless
        Wiki ENG : https://github.com/recalbox/recalbox-os/wiki/Mini-How-To-(EN)
        Wiki FR : https://github.com/recalbox/recalbox-os/wiki/Mini-How-To-(FR)

        Don't forget to upvote messages if it has been useful ;)

        Matra 1 Reply Last reply Reply Quote 1
        • Matra
          Matra @rockaddicted last edited by

          @rockaddicted thanks, I'll have a look 🙂

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Want to support us ?

          73
          Online

          98.7k
          Users

          28.1k
          Topics

          187.0k
          Posts

          Copyright © 2021 recalbox.com