<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - [hdmi retimer?] No signal after switch from HDM1 to HDM2 and return in HDM1"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106659#c34">Comment # 34</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - [hdmi retimer?] No signal after switch from HDM1 to HDM2 and return in HDM1"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106659">bug 106659</a>
              from <span class="vcard"><a class="email" href="mailto:stefano.ruzzon@icloud.com" title="fatez <stefano.ruzzon@icloud.com>"> <span class="fn">fatez</span></a>
</span></b>
        <pre>(In reply to Imre Deak from <a href="show_bug.cgi?id=106659#c33">comment #33</a>)
<span class="quote">> (In reply to fatez from <a href="show_bug.cgi?id=106659#c31">comment #31</a>)
> > Created <span class=""><a href="attachment.cgi?id=140683" name="attach_140683" title="dmesg">attachment 140683</a> <a href="attachment.cgi?id=140683&action=edit" title="dmesg">[details]</a></span>
> > dmesg

> Hm, this log tells me that HDMI-A-2 is never in a connected state. IIUC, in
> your bug report the bad sequence is:
> 1. Display plugged to HDMI-A-1   (works ok)
> 2. Display unplugged from HDMI-A-1 and plugged to HDMI-A-2 (works ok)
> 3. Display unplugged from HDMI-A-2 and plugged to HDMI-A-1 (doesn't work)

> - So step 2. should be ok, but in your log HDMI-A-2 is never connected. So
> is 
>   HDMI-A-2 working for you? If so could you double check that your log
> includes 
>   the part where HDMI-A-2 is plugged and works ok?

> - Could you provide the followings found on the back of the NUC (some may be 
>   missing):
>   - Product code
>   - Project code
>   - Date of manufacture

> - Does the problem happen all the time?

> - After the problem happens, could you do
>   # echo detect > /sys/class/drm/card0-HDMI-A-1/status
>   and then provide a dmesg log

> Thanks.</span >


Hi,

My system is nuc7pyh and has two native HDMI 2.0 port.
I only use the first HDMI(A-1) port and it is linked to Denon AVR-X2400H; the
second HDMI(A-2) port is empty, it is not connected.
When I pass from hdmi1 to hdmi2 and vice versa, I never unplug the cable from
the NUC but I use Denon's remote to switch from Sky (hdmi2) to Kofi Nuc
(hdmi1).
When I pass from Kodi to Sky and I'll be back in Kodi i lost the signal
forever. I have to reboot the Nuc so I can see again.

If it helps, I did a hw-probe of my "clean" system here:
<a href="https://linux-hardware.org/index.php?probe=a9b6f206ab">https://linux-hardware.org/index.php?probe=a9b6f206ab</a>
And here I did a hw-probe with "drm.debug=0x1e log_buf_len=4M" :
<a href="https://linux-hardware.org/?probe=94f2aa43b7">https://linux-hardware.org/?probe=94f2aa43b7</a>

so here :
NucBox:/sys/class/drm$ cat card0-HDMI-A-1/status 
connected

NucBox:/sys/class/drm$ cat card0-HDMI-A-2/status 
disconnected

  - Product code = BOXNUC7PJYH2
  - Project code = ??
  - Date of manufacture = 28MAR2018

The problem comes every time I move from hdmi2 to hdmi1 and I go back to hdmi2
(always through Denon, I repeat, I never unplug the Hdmi cable from the Nuc)

And AFTER SIGNAL LOST :

$ sudo cat /sys/class/drm/card0-HDMI-A-1/status
connected

$ sudo cat /sys/class/drm/card0-HDMI-A-2/status
disconnected</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>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>