<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 11/02/2012 07:15 AM, Josu Lazkano
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAL9G6WVc3KvomEF8ZuVzPSnur2w7yYyOh+j4DsrxOwWg+TQJcw@mail.gmail.com"
      type="cite">
      <div class="gmail_extra">
        <div class="gmail_quote">2012/11/2 Michael <span dir="ltr">&lt;<a
              moz-do-not-send="true" href="mailto:mythtv@blandford.net"
              target="_blank">mythtv@blandford.net</a>&gt;</span><br>
          <blockquote class="gmail_quote"
style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF">
              <div>
                <div class="h5">
                  <div><br>
                  </div>
                </div>
              </div>
              Most modern TV support discrete codes for on and off as
              well as toggle power.&nbsp; You just need to figure out the
              code for on and always transmit it when resuming.&nbsp; Then
              you don't care about whether the TV is already on or off.<span
                class=""><font color="#888888"><br>
                  <br>
                  Michael<br>
                  <br>
                </font></span></div>
          </blockquote>
          <br>
          Thanks Michael,</div>
        <div class="gmail_quote"><br>
        </div>
        <div class="gmail_quote">But how could I send this codes? Are
          you&nbsp;referring&nbsp;to CEC? My TV support CEC, but I don't know how
          to send discrete codes.</div>
        <br>
      </div>
    </blockquote>
    <br>
    You would just send the IR code using irsend.&nbsp; <br>
    <br>
    Michael<br>
    <br>
  </body>
</html>