Contribute
Register

How to build your own iMac Pro [Successful Build/Extended Guide]

Status
Not open for further replies.

kgp

Retired
Joined
May 30, 2014
Messages
6,780
Motherboard
ASUS WS X299 Sage 10G
CPU
i9-7980XE
Graphics
Vega 64
Mac
  1. iMac
  2. MacBook Pro
  3. Mac mini
Mobile Phone
  1. iOS
Likely a complete n00b question, but is it expected behavior that if I try to compile:

DTGP implementation is missing towards the end of your code. Please compare with SSDT-X299-iMacPro.aml;)
 

kgp

Retired
Joined
May 30, 2014
Messages
6,780
Motherboard
ASUS WS X299 Sage 10G
CPU
i9-7980XE
Graphics
Vega 64
Mac
  1. iMac
  2. MacBook Pro
  3. Mac mini
Mobile Phone
  1. iOS
Thank you sir!

BTW: You also missed the GPRW definition in the definition block of your SSDT.aml!

Code:
 External (GPRW, MethodObj)    // 2 Arguments (from opcode)
 
Joined
May 31, 2016
Messages
981
Motherboard
Gigabyte Z490 Vision G
CPU
i9-10900K
Graphics
RX 5700 XT
Mac
  1. iMac
  2. MacBook
  3. MacBook Pro
  4. Mac mini
Classic Mac
  1. PowerBook
  2. Quadra
Mobile Phone
  1. iOS
DTGP implementation is missing towards the end of your code. Please compare with SSDT-X299-iMacPro.aml;)

last time I'll bother you with this (If I can get 1 small SSDT working I can use it as the template for further ones)
I added DTGP at the end but must have a syntax error somewhere as it's giving me the error:
6084 GPRW Does not exist at line 17
Give me one last clue? :)

Code:
DefinitionBlock ("", "SSDT", 1, "NICO", "X299", 0x00000000)
{
External (_SB_.PCI0.RP03.ARPT, DeviceObj) // (from opcode)
External (_SB_.PCI0.RP03.PXSX, DeviceObj) // (from opcode)

Scope (_SB.PCI0.RP03.ARPT)
    {
        OperationRegion (PCIS, PCI_Config, Zero, 0x0100)
        Field (PCIS, AnyAcc, NoLock, Preserve)
        {
            PVID,   16, 
            PDID,   16
        }

        Method (_PRW, 0, NotSerialized)  // _PRW: Power Resources for Wake
        {
            Return (GPRW (0x69, 0x04))
        }

        Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
        {
            Store (Package (0x0E)
                {
                    "built-in", 
                    Buffer (One)
                    {
                         0x00                                          
                    }, 

                    "device-id", 
                    Buffer (0x04)
                    {
                         0xA0, 0x43, 0x00, 0x00                        
                    }, 

                    "AAPL,slot-name", 
                    Buffer (0x07)
                    {
                        "Slot-3"
                    }, 

                    "device_type", 
                    Buffer (0x13)
                    {
                        "AirPort Controller"
                    }, 

                    "model", 
                    Buffer (0x4A)
                    {
                        "OSX WIFI Broadcom BCM94360CD 802.11 a/b/g/n/ac + Bluetooth 4.0 Controller"
                    }, 

                    "compatible", 
                    Buffer (0x0D)
                    {
                        "pci14e4,43a0"
                    }, 

                    "name", 
                    Buffer (0x10)
                    {
                        "AirPort Extreme"
                    }
                }, Local0)
            DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
            Return (Local0)
        }
        }
   
    Name (_SB.PCI0.RP03.PXSX._STA, Zero) // _STA: Status
   
    Method (DTGP, 5, NotSerialized)
    {
        If (LEqual (Arg0, ToUUID ("a0b5b7c6-1318-441c-b0c9-fe695eaf949b")))
        {
            If (LEqual (Arg1, One))
            {
                If (LEqual (Arg2, Zero))
                {
                    Store (Buffer (One)
                        {
                             0x03                                          
                        }, Arg4)
                    Return (One)
                }

                If (LEqual (Arg2, One))
                {
                    Return (One)
                }
            }
        }

        Store (Buffer (One)
            {
                 0x00                                          
            }, Arg4)
        Return (Zero)
    }
}
 
Joined
May 31, 2016
Messages
981
Motherboard
Gigabyte Z490 Vision G
CPU
i9-10900K
Graphics
RX 5700 XT
Mac
  1. iMac
  2. MacBook
  3. MacBook Pro
  4. Mac mini
Classic Mac
  1. PowerBook
  2. Quadra
Mobile Phone
  1. iOS
BTW: You also missed the GPRW definition in the definition block of your SSDT.aml!

Code:
 External (GPRW, MethodObj)    // 2 Arguments (from opcode)


you answered my question just before I asked it!! (disregard my latest reply)

EDIT: That totally worked. Thank you @kgp !!
 
  • Like
Reactions: kgp

kgp

Retired
Joined
May 30, 2014
Messages
6,780
Motherboard
ASUS WS X299 Sage 10G
CPU
i9-7980XE
Graphics
Vega 64
Mac
  1. iMac
  2. MacBook Pro
  3. Mac mini
Mobile Phone
  1. iOS
Update of the Update - New macOS High Sierra 10.13.4 Public Beta 2 Build 17E150g !

17E150g.png

  • At first glance no major changes/improvements when compared with 10.13.4 Public Beta 2 (17E150f)
  • Build number still does not relate with former iMac Pro special builds
  • Persistent "Model Name" error in system profiler under "Hardware" of Apple's System Report (iMac instead of iMacPro)
incorrect-model-name.png
  • Persistent issues at least with the NVIDIA HDAU implementation
Enjoy and have fun :thumbup:

kgp.png
 
Joined
May 24, 2011
Messages
340
Motherboard
Gigabyte Z590 Vision D
CPU
i9-10900K
Graphics
RADEON RX 6600 XT
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
@kgp First off, thank you for assembling such a thorough X299 guide! Major thank you to all the others who contributed or shared their experiences with Skylake-X as well!

Update of the Update - New macOS High Sierra 10.13.4 Public Beta 2 Build 17E150g !

View attachment 312084
  • At first glance no major changes/improvements when compared with 10.13.4 Public Beta 2 (17E150f)
  • Build number still does not relate with former iMac Pro special builds
  • Persistent "Model Name" error in system profiler under "Hardware" of Apple's System Report (iMac instead of iMacPro)
  • Persistent issues at least with the NVIDIA HDAU implementation
Enjoy and have fun :thumbup:

View attachment 312086

When you say "persistent "Model Name" error in system profiler under "Hardware" of Apple's System Report (iMac instead of iMacPro)," did this happen for you in 10.13.3 (17D2047)?

I'm running an i7-7800X / Gigabyte X299 AORUS Ultra Gaming / 128 GB DDR4-2666 /
NVIDIA GeForce GTX 970 4 GB. This is what I see...

System Report.png
 

kgp

Retired
Joined
May 30, 2014
Messages
6,780
Motherboard
ASUS WS X299 Sage 10G
CPU
i9-7980XE
Graphics
Vega 64
Mac
  1. iMac
  2. MacBook Pro
  3. Mac mini
Mobile Phone
  1. iOS
@kgp First off, thank you for assembling such a thorough X299 guide! Major thank you to all the others who contributed or shared their experiences with Skylake-X as well!



When you say "persistent "Model Name" error in system profiler under "Hardware" of Apple's System Report (iMac instead of iMacPro)," did this happen for you in 10.13.3 (17D2047)?

I'm running an i7-7800X / Gigabyte X299 AORUS Ultra Gaming / 128 GB DDR4-2666 /
NVIDIA GeForce GTX 970 4 GB. This is what I see...

View attachment 312115

no.. under 10.13.3 (17D2047), everything looks fine like in your case..
 

kgp

Retired
Joined
May 30, 2014
Messages
6,780
Motherboard
ASUS WS X299 Sage 10G
CPU
i9-7980XE
Graphics
Vega 64
Mac
  1. iMac
  2. MacBook Pro
  3. Mac mini
Mobile Phone
  1. iOS
Status
Not open for further replies.
Top