[Bug 103347] [dp] intel_dp.c:1554 WARN_ON(len <=8)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 21 20:14:11 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=103347

--- Comment #46 from Phil67ago <p1mail2015 at mail.com> ---
As mentioned in bug 106291 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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20180621/77bf857f/attachment.html>


More information about the intel-gfx-bugs mailing list