went through 58 pages, almost done, but something interesting found - with HDMI device plug in, the framebuffer connect type change back to 00040000, even though it's patched to 00080000.
problem reporting files attached with 2 ioreg output - before and after hdmi plug in.
current situation is,
2 HDMI device tested - 1 HDMI TV, 1 HDMI display (LG UltraWide)
thinkpad x1 carbon, HD520, on board AppleHDA patchedby aDummyHDA+config.plist by AppleHDA pather, works well.
checked all the renames, framebuffer patch on both @1 and @2, (and connect to @1). layout_id and hda-gfx seetings are correct.
testing result
- no matter hotplug or not, HDMI audio works at first time on both HDMI devices
- LG monitor works well as secondary display , while no display at laptop when plug in HDMI TV, though looks like system still running (respond to mouse, keyboard light, etc.)
- unplug HDMI, the main display went off, though seems system is still running. can only hard shutdown. both HDMI TV and LG Monitor.
any hint is greatly appreciated. thanks.