RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Project RetroSwitch : Hotplugable HDMI

    Scheduled Pinned Locked Moved Ideas and Development
    retroswitchswitcharoodevelopmenthdmi
    3 Posts 2 Posters 833 Views
    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.
    • HexH
      Hex
      last edited by Hex

      One of the requirement for my RetroSwitch project is hot plugable HDMI. To start I wrote a program to listen for signals when HDMI is plugged in. This allows me, at least at the console level to have display switched to HDMI when cable is inserted and fall back to composite when removed.

      Binary to test : https://www.dropbox.com/s/ttkovnia8p9tw5f/switcharoo?dl=0

      To try how awesome it is, follow steps:

      • Download binary to home folder
      • Boot Pi with composite connected
      • Exit from EmulationStation to console
      • ssh into pi
      • execute binary from ssh
      • Plugin your HDMI cable with input selected to HDMI on TV

      The composite should automatically shutdown and HDMI display will have the display signal. You can monitor messages on ssh.
      You can switch back to composite by removing the hdmi cable.

      NOTE : Currently Composite uses PAL and your overscan settings will work differently. I will release source shortly where you can switch to ntsc rather than pal

      Sent from 20,000 leagues under the sea.

      Powersaver Emulation station : https://github.com/hex007/EmulationStation
      ES dev script : https://github.com/hex007/es-dev/blob/master/es-tests.sh

      1 Reply Last reply Reply Quote 2
      • SanoS
        Sano
        last edited by

        Nice project.
        But why a homemade compiled binary ?
        Isn't it scriptable with tvservice -M ?
        Here is an example : https://gist.github.com/Karry/7345106

        1 Reply Last reply Reply Quote 1
        • HexH
          Hex
          last edited by

          @Sano Yes it does use tvservice at the backend. I wanted a c++ implementation rather than running another instance of python.

          Sent from 20,000 leagues under the sea.

          Powersaver Emulation station : https://github.com/hex007/EmulationStation
          ES dev script : https://github.com/hex007/es-dev/blob/master/es-tests.sh

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

          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.