<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - [Intel NUC] HDMI1 sometimes stops working after resuming from s3 (a single monitor setup)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106182#c20">Comment # 20</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - [Intel NUC] HDMI1 sometimes stops working after resuming from s3 (a single monitor setup)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106182">bug 106182</a>
              from <span class="vcard"><a class="email" href="mailto:imre.deak@intel.com" title="Imre Deak <imre.deak@intel.com>"> <span class="fn">Imre Deak</span></a>
</span></b>
        <pre>Looks like the HDMI retimer chip is in a weird state when the problem happens.
To test that theory could you see if the following brings back the output on
the HDMI-A-1 connector from the bad state? It resets the chip and forces a
detect cycle. It needs the ioport Ubuntu package and you need to run it as
root:

v=$(outb 0x66 0x80; outb 0x62 0x1a; inb 0x62)
outb 0x66 0x81; outb 0x62 0x1a; outb 0x62 $(( v | 8 ))
sleep 0.1
outb 0x66 0x81; outb 0x62 0x1a; outb 0x62 $(( v & ~8 ))

echo detect > /sys/class/drm/card0-HDMI-A-1/status

Please provide a dmesg log after running the above in any case.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>