<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#c27">Comment # 27</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>(In reply to Robert Liu from <a href="show_bug.cgi?id=106182#c26">comment #26</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=139458" name="attach_139458" title="dmesg for outb and inb commands #2">attachment 139458</a> <a href="attachment.cgi?id=139458&action=edit" title="dmesg for outb and inb commands #2">[details]</a></span>
> dmesg for outb and inb commands #2

> Well, the screen now is off. However, I cannot recover it by poweroff.
> A removal of the adapter is required to make the screen back.

> It looks to me the behavior is slightly different from the issue has.</span >

Yes, the sequence you tried just keeps the chip in reset you also need to
remove the reset condition to re-enable the display. If the following blanks
and unblanks the display for you when it's enabled properly, could you try it
again from the stuck state?

v=$(outb 0x66 0x80; outb 0x62 0x1a; inb 0x62)
echo $v
outb 0x66 0x81; outb 0x62 0x1a; outb 0x62 $(( v | 9 ))
outb 0x66 0x80; outb 0x62 0x1a; inb 0x62

sleep 0.1

outb 0x66 0x81; outb 0x62 0x1a; outb 0x62 $(( v & ~8 ))
outb 0x66 0x81; outb 0x62 0x1a; outb 0x62 $v</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>