Contribute
Register

Looking for a patch to eliminate unused ports on Broadwell 0x16260006.

Status
Not open for further replies.
Joined
Sep 8, 2011
Messages
904
Motherboard
HP 250 G5 (81EF) Clover UEFI
CPU
i3 5005u
Graphics
HD 5500 (1366x768)
Mobile Phone
  1. Android
I've read on RehabMan's guides that there are Haswell/Broadwell lag issues and the solution for this is to eliminate the unused ports from the ig-platform-id data of the framebuffer kext. Is there any patch possible for Broadwell too? I've attached my ioreg with the HDMI plugged in. My laptop also has a VGA port which works perfectly. I can do a triple monitor setup. So, if I disable a port, will I lose connection to HDMI or VGA? I have already a framebuffer patch enabled to get HDMI audio working.
 

Attachments

  • Archive.zip
    3.7 MB · Views: 83
I've read on RehabMan's guides that there are Haswell/Broadwell lag issues and the solution for this is to eliminate the unused ports from the ig-platform-id data of the framebuffer kext. Is there any patch possible for Broadwell too? I've attached my ioreg with the HDMI plugged in. My laptop also has a VGA port which works perfectly. I can do a triple monitor setup. So, if I disable a port, will I lose connection to HDMI or VGA? I have already a framebuffer patch enabled to get HDMI audio working.

If you want your VGA port to still work, you will need to also provide an ioreg that shows VGA plugged in.
Otherwise, no way for me to know which ports are used/unused.
 
If you want your VGA port to still work, you will need to also provide an ioreg that shows VGA plugged in.
Otherwise, no way for me to know which ports are used/unused.
Currently, I only have a TV with HDMI and SCART inputs. So I'm unable to test VGA right now. Doesn't the ioreg show the connector types even with no monitor connected?
 
Currently, I only have a TV with HDMI and SCART inputs. So I'm unable to test VGA right now. Doesn't the ioreg show the connector types even with no monitor connected?

The "connector-type" is not the primary concern... more about port assignments.

But, given your current scenario then, there almost nothing to do.
Your ioreg shows three connectors active for the ig-platform-id you're using (0x16260006).

Look at the connector data in the framebuffer for 0x16260006:

00 00 08 00 02 00 00 00 30 02 00 00 -> @0 LVDS
01 05 0B 00 00 04 00 00 07 05 00 00 -> @1 DP (0105)
02 04 0B 00 00 04 00 00 07 05 00 00 -> @2 DP (0204)
FF 00 00 00 01 00 00 00 40 00 00 00 -> @3 undefined, not used

According to your ioreg, your monitor is connected to the 0105 (@1).
I assume if you connected VGA, it would be connected to 0204 (@2), because it is the only other external connector.

You might try patching for HDMI (assuming your external port is really HDMI):
Find: 01 05 0B 00 00 04 00 00 07 05 00 00
Replace: 01 05 0B 00 00 08 00 00 07 05 00 00

And you could also patch the 0204 for VGA. I think VGA connector-type is 01 00 00 00, so:
Find: 02 04 0B 00 00 04 00 00 07 05 00 00
Replace: 02 04 0B 00 01 00 00 00 07 05 00 00

You might need to experiment with the flags at the end for the VGA case (those flags are not well understood):
Find: 02 04 0B 00 00 04 00 00 07 05 00 00
Replace: 02 04 0B 00 01 00 00 00 40 00 00 00

You could also try eliminating the 0204 (that would disable VGA):
Find: 02 04 0B 00 00 04 00 00 07 05 00 00
Replace: FF 00 00 00 01 00 00 00 40 00 00 00

And you would probably need to change the connector count:
Find: 06 00 26 16 01 03 03 03
Replace: 06 00 26 16 01 03 02 02

or
Find: 06 00 26 16 01 03 03 03
Replace: 06 00 26 16 01 03 02 03

or
Find: 06 00 26 16 01 03 03 03
Replace: 06 00 26 16 01 03 03 02
 
The "connector-type" is not the primary concern... more about port assignments.

But, given your current scenario then, there almost nothing to do.
Your ioreg shows three connectors active for the ig-platform-id you're using (0x16260006).

Look at the connector data in the framebuffer for 0x16260006:

00 00 08 00 02 00 00 00 30 02 00 00 -> @0 LVDS
01 05 0B 00 00 04 00 00 07 05 00 00 -> @1 DP (0105)
02 04 0B 00 00 04 00 00 07 05 00 00 -> @2 DP (0204)
FF 00 00 00 01 00 00 00 40 00 00 00 -> @3 undefined, not used

According to your ioreg, your monitor is connected to the 0105 (@1).
I assume if you connected VGA, it would be connected to 0204 (@2), because it is the only other external connector.

You might try patching for HDMI (assuming your external port is really HDMI):
Find: 01 05 0B 00 00 04 00 00 07 05 00 00
Replace: 01 05 0B 00 00 08 00 00 07 05 00 00

And you could also patch the 0204 for VGA. I think VGA connector-type is 01 00 00 00, so:
Find: 02 04 0B 00 00 04 00 00 07 05 00 00
Replace: 02 04 0B 00 01 00 00 00 07 05 00 00

You might need to experiment with the flags at the end for the VGA case (those flags are not well understood):
Find: 02 04 0B 00 00 04 00 00 07 05 00 00
Replace: 02 04 0B 00 01 00 00 00 40 00 00 00

You could also try eliminating the 0204 (that would disable VGA):
Find: 02 04 0B 00 00 04 00 00 07 05 00 00
Replace: FF 00 00 00 01 00 00 00 40 00 00 00

And you would probably need to change the connector count:
Find: 06 00 26 16 01 03 03 03
Replace: 06 00 26 16 01 03 02 02

or
Find: 06 00 26 16 01 03 03 03
Replace: 06 00 26 16 01 03 02 03

or
Find: 06 00 26 16 01 03 03 03
Replace: 06 00 26 16 01 03 03 02
Thanks! I'll give them a try. The reason I want to do this is to hopefully get my QE working.
 
Hello @RehabMan, you could check my port sequence to create a patch. I read your post about the login / startup delay, but my HDMI already works on port 0105, I've already applied the audio / hdmi fix and it's working.

thankful
 

Attachments

  • debug_22491.zip
    1.5 MB · Views: 83
Hello @RehabMan, you could check my port sequence to create a patch. I read your post about the login / startup delay, but my HDMI already works on port 0105, I've already applied the audio / hdmi fix and it's working.

thankful

If your laptop uses 0105, you can eliminate the 0204 port.
 
[QUOTE = "RehabMan, post: 1714846, member: 429483"] Se o seu laptop usa 0105, você pode eliminar a porta 0204. [/ QUOTE]

ok, but in clover port 0204 is disabled, even then the delay happens. Do I need to do anything else?
 
ok, but in clover port 0204 is disabled, even then the delay happens. Do I need to do anything else?

Your PR files (ioreg) show 0204 still active.
No patch in config.plist that would be expected to disable it.
 
Status
Not open for further replies.
Back
Top