- Joined
- Jun 19, 2017
- Messages
- 23
- Motherboard
- GA-Z270N-Gaming-5
- CPU
- i7-7700
- Graphics
- HD630
- Mac
- Mobile Phone
I've been looking for a way to avoid patching AppleIntelKBLGraphicsFramebuffer to reassign port numbers on my z270 IGPU-only build, and the SSDT below works for me. (After the boot progress bar, the screen is blank slightly longer than by patching the kext -- still looking into that. Maybe using boot-display?):
Details of my config: https://gist.github.com/adriaanm/836c6a74f77e92950f5a83de5c711b54
Code:
DefinitionBlock ("", "SSDT", 2, "HACK ", "IGPU", 0)
{
External(_SB.PCI0.IGPU, DeviceObj)
Scope (\_SB.PCI0.IGPU)
{
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
{
If (LEqual (Arg2, Zero))
{
Return (Buffer (One)
{
0x03
})
}
Return (Package (0x0a)
{
"AAPL,ig-platform-id", Buffer() { 0x00, 0x00, 0x12, 0x59 },
"graphic-options", Buffer() { 0x0c, 0x00, 0x00, 0x00 }, // no idea what this does (taken from real mac)
"hda-gfx", Buffer() { "onboard-1" },
"@0,connector-type", Buffer() { 0x00, 0x04, 0x00, 0x00 },
"@0,port-number", Buffer() { 0x07 }, // what does the @0 map to? it actually goes to the @2 frame buffer in ioreg
})
}
}
}
Details of my config: https://gist.github.com/adriaanm/836c6a74f77e92950f5a83de5c711b54