My board has three port: two hdmi (port 0x05 AppleIntelFramebuffer@0, and port 0x06 AppleIntelFramebuffer@1) and a Mini DisplayPort (port 0x07 AppleIntelFramebuffer@2).
Now you have to check in Ioreg/IGPU@2/AppleIntelFramebuffer@#(0 or 1 or 2 where the display0 is connected), you can find this two voices:
av-signal-type
connector-type
as you can see in the attached screenshot
For HDMI ports correct values are
av-signal-type ----->08 00 00 00
connector-type ---->00 08 00 00
For MiniDisplayPort correct values are
av-signal-type ----->08 00 00 00
connector-type ---->00 04 00 00
My board showed wrong codes
Editing hex codes of
AppleIntelFramebufferCapri.kext/Contents/MacOS/AppleIntelFramebufferCapri make them right.