Indeed.
Disabling non-existent ports completely resolves the "pauses/unresponsiveness" after boot/wake on my Haswell laptop (macOS Sierra 10.12.4)
Example:
Using 0A 00 26 0A Framebuffer
Original FB:
Code:
00151310: 0a00 260a 0003 0303 0000 0002 0000 3001 ..&...........0.
00151320: 0000 9000 0000 0060 9914 0000 9914 0000 .......`........
00151330: 0000 0000 0000 0000 0000 0800 0200 0000 ................
00151340: 1100 0000 0105 0900 0004 0000 8700 0000 ................
00151350: 0204 0a00 0004 0000 8700 0000 ff00 0000 ................
00151360: 0100 0000 4000 0000 d600 0000 0505 0000 ....@...........
00151370: 0400 0000 0000 0000 0e00 0000 0000 0000 ................
00151380: 0d00 2e0a 0003 0202 0000 0006 0000 2002 .............. .
Edited FB (fix "pauses/unresponsiveness")
Code:
00151310: 0a00 260a 0003 0303 0000 0002 0000 3001 ..&...........0.
00151320: 0000 9000 0000 0060 9914 0000 9914 0000 .......`........
00151330: 0000 0000 0000 0000 0000 0800 0200 0000 ................
00151340: 1100 0000 (ff00) 0900 0004 0000 8700 0000 ................
00151350: 0204 0a00 0004 0000 8700 0000 ff00 0000 ................
00151360: 0100 0000 4000 0000 d600 0000 0505 0000 ....@...........
00151370: 0400 0000 0000 0000 0e00 0000 0000 0000 ................
00151380: 0d00 2e0a 0003 0202 0000 0006 0000 2002 .............. .
Edited FB (fix "pauses/unresponsiveness" and enable HDMI audio on port 6)
Code:
00151310: 0a00 260a 0003 0303 0000 0002 0000 3001 ..&...........0.
00151320: 0000 9000 0000 0060 9914 0000 9914 0000 .......`........
00151330: 0000 0000 0000 0000 0000 0800 0200 0000 ................
00151340: 1100 0000 (ff00) 0900 0004 0000 8700 0000 ................
00151350: 0204 0a00 (0008) 0000 (8200) 0000 ff00 0000 ................
00151360: 0100 0000 4000 0000 d600 0000 0505 0000 ....@...........
00151370: 0400 0000 0000 0000 0e00 0000 0000 0000 ................
00151380: 0d00 2e0a 0003 0202 0000 0006 0000 2002 .............. .
Notes:
1) At boot without HDMI display connected you will see on IOReg the value for "connector-type is <00 08 00 00>, but after connect the display this value changes automatically to <00 04 00 00>, however there is not impact in functionality of HDMI audio.
2) It seems that this patch is not compatible with the latest version AppleALC. So, I recommend to use the RehabMan's technique (Codec-Commander / Custom SSDT)
3) This patch doesn't resolve crashing with Safari and video playback.