<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - [dp] intel_dp.c:1554 WARN_ON(len <=8)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103347#c46">Comment # 46</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - [dp] intel_dp.c:1554 WARN_ON(len <=8)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103347">bug 103347</a>
              from <span class="vcard"><a class="email" href="mailto:p1mail2015@mail.com" title="Phil67ago <p1mail2015@mail.com>"> <span class="fn">Phil67ago</span></a>
</span></b>
        <pre>As mentioned in <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - DP connector force enable does not work properly"
   href="show_bug.cgi?id=106291">bug 106291</a> there are no DHCP at all when booting up with a
disconnected cable. Then simulate DCHP data in same manner as edid data on the
Kernel command line would be possible but seems complicated.

Solved my problem in another way. Skipping edid and force.
Instead trigger the udev event when the cable is connected and run following:

LibreELEC 9.0


/storage/.config/udev.rules.d/99-drm-hotplug.rules:
ACTION=="change", RUN+="/storage/.config/udev.rules.d/drm-hotplug.sh"


/storage/.config/udev.rules.d/drm-hotplug.sh:
#!/bin/sh

[ -e /run/xorg-hotplugged.done ] && exit

/bin/sleep 1
XRANDR=`xrandr -d :0.0`
connector=`echo "$XRANDR" | sed -n 's,\(.*\) connected [
\a]*\([x+0-9]*\).*,\1,p'`
mode=`echo "$XRANDR" | sed -n 's,\(.*\) connected [
a-z]*\([0-9]*x[0-9]*\).*,\2,p'`

[ -z "$connector" ] && exit 
[ ! -z "$mode" ] && exit 

/bin/xrandr -d :0.0 --auto
/bin/systemctl restart kodi

/bin/touch /run/xorg-hotplugged.done</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>