<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    Hi Jeff!<br>
    <br>
    Admittedly  I'm several days slow in replying -- usually I'm the one
    asking questions, not giving answers, but here goes (and looks like
    no one has answered).<br>
    <br>
    <blockquote type="cite"
      cite="mid:mailman.7.1505563202.11040.mythtv-users@mythtv.org">
      <blockquote type="cite" style="color: #993399;">
        <pre wrap="">When my (Samsung) TV starts, it sees the RPi connected via HDMI and
defaults to the basic HDMI input. I have to use the source button on the
remote to switch to the HDMI-CEC input so that the remote buttons are
passed to MythTV.

Therefore, it would be useful for MythTV to tell the TV to switch to
that input automatically. This seems to be possible from cec-client, so
I could probably add it to my frontend launch script, but if MythTV
could handle it, it would be more convenient.
</pre>
      </blockquote>
      It seems I was not being patient enough. Either Myth is saying to
      the TV
      something like "make me the input", or the TV is doing it
      automatically
      after the frontend is fully up, but the input changes between boot
      and
      frontend start.
    </blockquote>
    <p style="margin-bottom: 0in; line-height: 100%">Check at   <a
        href="https://www.mythtv.org/wiki/Raspberry_Pi#Raspbian">https://www.mythtv.org/wiki/Raspberry_Pi#Raspbian</a> 
      the section entitled "Remote Control with CEC".   The section
      lists commands to enable/disable CEC, dependent on the remote and
      TV.  If you type 'mythfrontend' (without the quotes) in Terminal
      you can see there is a pause when 'CECAdapter: asked TV to switch
      to this input' is loaded while starting Mythfrontend, plus when
      exit (back to the Desktop) can see it (CEC)  being closed down.</p>
    <p style="margin-bottom: 0in; line-height: 100%">Frankly at this
      point it's all theoretical to me as I'm waiting for my IR detector
      to arrive.  Hopefully the link will give you some answers.</p>
    <p style="margin-bottom: 0in; line-height: 100%">Barry<br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
  </body>
</html>