Contribute
Register

Sierra won't sleep

Status
Not open for further replies.
I used your H97N-WIFI patches on my H87N-WIFI board.
Ethernet properties injected for wrong hardware, Atheros ethernet at PCI0.RP04.PXSX no Intel or Realtek
SATA device does not need 9-series device properties
USB power device properties not necessary, AppleBusPowerController loads on LPC device
config.plist using ancient SMBIOS values
 

Attachments

  • SSDT-HACK.dsl
    9 KB · Views: 87
  • config.plist
    6.3 KB · Views: 171
I believe I have done all of these now.



I created a SSDT, and implement AppleLPC. Sleep is still not working unfortunately. I have attached IOReg and Clover once again. Is there anything you can see as to why? I feel like I am missing something, or did something wrong. I found your videos on Youtube and tried to follow them. I used your H97N-WIFI patches on my H87N-WIFI board. Thanks for your help!

You can't use Series 9 patches on Series 8 hardware. USB Patches for EH01 & EH02 will need to be changed. You've not even added Change EHC1 to EH01, EHC2 to EH02 to config. Don't add change Method(XWAK,0,S) to ZWAK because your hardware may not even need it. Remove SSDT-HACK reboot. Press F4 at Clover boot attach both Clover folder with Themes removed and ioreg attach ZIP.
 
Ethernet properties injected for wrong hardware, Atheros ethernet at PCI0.RP04.PXSX no Intel or Realtek
SATA device does not need 9-series device properties
USB power device properties not necessary, AppleBusPowerController loads on LPC device
config.plist using ancient SMBIOS values

Incorrect. You need AAPL to be injected. You cannot edit SSDT-HACK without re-compiling the SSDT bad idea.
 
Last edited:
You can't use Series 9 patches on Series 8 hardware. USB Patches for EH01 & EH02 will need to be changed. You've not even added Change EHC1 to EH01, EHC2 to EH02 to config. Don't add change Method(XWAK,0,S) to ZWAK because your hardware may not even need it. Remove SSDT-HACK reboot. Press F4 at Clover boot attach both Clover folder with Themes removed and ioreg attach ZIP.

Do you happen to have Series 8 patches that I could use? I thought in one of your videos or a comment on a video that you said you can use the H97N-WIFI patches on H87N-WIFI?

So I need to change EH01 & EH02 patches first, then rename them from EHC1 to EH01?

Do I remove the SSDT-HACK.aml all together?
 
Do you happen to have Series 8 patches that I could use? I thought in one of your videos or a comment on a video that you said you can use the H97N-WIFI patches on H87N-WIFI?
He probably did.
 
Do you happen to have Series 8 patches that I could use? I thought in one of your videos or a comment on a video that you said you can use the H97N-WIFI patches on H87N-WIFI?

So I need to change EH01 & EH02 patches first, then rename them from EHC1 to EH01?

Do I remove the SSDT-HACK.aml all together?

SSDT-SMBUS, SSDT-MCHC, SSDT-LPC will be the same however SSDT-EH01, SSDT-EH02, SSDT-XHC will be different. For example, Yes you will need to rename EHC1 to EH01, EHC2 to EH02.

Code:
DefinitionBlock ("", "SSDT", 2, "hack", "EH01", 0x00000000)
{
    If (CondRefOf (_SB.PCI0.EH01))
    {
        Method (_SB.PCI0.EH01._DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
        {
            If (LNot (Arg2))
            {
                Return (Buffer (One)
                {
                     0x03                                        
                })
            }

            Return (Package (0x18)
            {
                "AAPL,slot-name",
                "Built In",
                "name",
                "Intel EHCI Controller",
                "model",
                Buffer (0x3E)
                {
                    "Intel 7 Series Chipset Family USB Enhanced Host Controller #1"
                },

                "device_type",
                Buffer (0x0F)
                {
                    "USB Controller"
                },

                "AAPL,current-available",
                Buffer (0x04)
                {
                     0x34, 0x08, 0x00, 0x00                      
                },

                "AAPL,current-extra",
                Buffer (0x04)
                {
                     0x99, 0x08, 0x00, 0x00                      
                },

                "AAPL,current-in-sleep",
                Buffer (0x04)
                {
                     0x40, 0x06, 0x00, 0x00                      
                },

                "AAPL,current-extra-in-sleep",
                Buffer (0x04)
                {
                     0x40, 0x06, 0x00, 0x00                      
                },

                "AAPL,max-port-current-in-sleep",
                Buffer (0x04)
                {
                     0x34, 0x08, 0x00, 0x00                      
                },

                "AAPL,device-internal",
                Buffer (0x04)
                {
                     0x02, 0x00, 0x00, 0x00                      
                },

                "subsystem-id",
                Buffer (0x04)
                {
                     0x70, 0x72, 0x00, 0x00                      
                },

                "subsystem-vendor-id",
                Buffer (0x04)
                {
                     0x86, 0x80, 0x00, 0x00                      
                }
            })
        }
    }
}

Will be for Series 8.

Code:
DefinitionBlock ("", "SSDT", 2, "hack", "EH01", 0x00000000)
{
    If (CondRefOf (_SB.PCI0.EH01))
    {
        Method (_SB.PCI0.EH01._DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
        {
            If (LNot (Arg2))
            {
                Return (Buffer (One)
                {
                     0x03                                        
                })
            }

            Return (Package (0x18)
            {
                "AAPL,slot-name",
                "Built In",
                "name",
                "Intel EHCI Controller",
                "model",
                Buffer (0x3E)
                {
                    "Intel 8 Series Chipset Family USB Enhanced Host Controller #1"
                },

                "device_type",
                Buffer (0x0F)
                {
                    "USB Controller"
                },

                "AAPL,current-available",
                Buffer (0x04)
                {
                     0x34, 0x08, 0x00, 0x00                      
                },

                "AAPL,current-extra",
                Buffer (0x04)
                {
                     0x99, 0x08, 0x00, 0x00                      
                },

                "AAPL,current-in-sleep",
                Buffer (0x04)
                {
                     0x40, 0x06, 0x00, 0x00                      
                },

                "AAPL,current-extra-in-sleep",
                Buffer (0x04)
                {
                     0x40, 0x06, 0x00, 0x00                      
                },

                "AAPL,max-port-current-in-sleep",
                Buffer (0x04)
                {
                     0x34, 0x08, 0x00, 0x00                      
                },

                "AAPL,device-internal",
                Buffer (0x04)
                {
                     0x02, 0x00, 0x00, 0x00                      
                },

                "subsystem-id",
                Buffer (0x04)
                {
                     0x70, 0x72, 0x00, 0x00                      
                },

                "subsystem-vendor-id",
                Buffer (0x04)
                {
                     0x86, 0x80, 0x00, 0x00                      
                }
            })
        }
    }
}

Code:
DefinitionBlock ("", "SSDT", 2, "hack", "EH02", 0x00000000)
{
    If (CondRefOf (_SB.PCI0.EH02))
    {
        Method (_SB.PCI0.EH02._DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
        {
            If (LNot (Arg2))
            {
                Return (Buffer (One)
                {
                     0x03                                        
                })
            }

            Return (Package (0x18)
            {
                "AAPL,slot-name",
                "Built In",
                "name",
                "Intel EHCI Controller",
                "model",
                Buffer (0x3E)
                {
                    "Intel 8 Series Chipset Family USB Enhanced Host Controller #2"
                },

                "device_type",
                Buffer (0x0F)
                {
                    "USB Controller"
                },

                "AAPL,current-available",
                Buffer (0x04)
                {
                     0x34, 0x08, 0x00, 0x00                      
                },

                "AAPL,current-extra",
                Buffer (0x04)
                {
                     0x99, 0x08, 0x00, 0x00                      
                },

                "AAPL,current-in-sleep",
                Buffer (0x04)
                {
                     0x40, 0x06, 0x00, 0x00                      
                },

                "AAPL,current-extra-in-sleep",
                Buffer (0x04)
                {
                     0x40, 0x06, 0x00, 0x00                      
                },

                "AAPL,max-port-current-in-sleep",
                Buffer (0x04)
                {
                     0x34, 0x08, 0x00, 0x00                      
                },

                "AAPL,device-internal",
                Buffer (0x04)
                {
                     0x02, 0x00, 0x00, 0x00                      
                },

                "subsystem-id",
                Buffer (0x04)
                {
                     0x70, 0x72, 0x00, 0x00                      
                },

                "subsystem-vendor-id",
                Buffer (0x04)
                {
                     0x86, 0x80, 0x00, 0x00                      
                }
            })
        }
    }
}

And for the following,

Code:
DefinitionBlock ("", "SSDT", 2, "hack", "XHC", 0x00000000)
{
    If (CondRefOf (_SB.PCI0.XHC))
    {
        Method (_SB.PCI0.XHC._DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
        {
            If (LNot (Arg2))
            {
                Return (Buffer (One)
                {
                     0x03                                        
                })
            }

            Return (Package (0x18)
            {
                "AAPL,slot-name",
                "Built In",
                "name",
                "Intel XHCI Controller",
                "model",
                Buffer (0x37)
                {
                    "Intel 8 Series Chipset Family USB xHCI Host Controller"
                },

                "device_type",
                Buffer (0x0F)
                {
                    "USB Controller"
                },

                "AAPL,current-available",
                Buffer (0x04)
                {
                     0x34, 0x08, 0x00, 0x00                      
                },

                "AAPL,current-extra",
                Buffer (0x04)
                {
                     0x99, 0x08, 0x00, 0x00                      
                },

                "AAPL,current-in-sleep",
                Buffer (0x04)
                {
                     0x40, 0x06, 0x00, 0x00                      
                },

                "AAPL,current-extra-in-sleep",
                Buffer (0x04)
                {
                     0x40, 0x06, 0x00, 0x00                      
                },

                "AAPL,max-port-current-in-sleep",
                Buffer (0x04)
                {
                     0x34, 0x08, 0x00, 0x00                      
                },

                "AAPL,device-internal",
                Buffer (0x04)
                {
                     0x02, 0x00, 0x00, 0x00                      
                },

                "subsystem-id",
                Buffer (0x04)
                {
                     0x70, 0x72, 0x00, 0x00                      
                },

                "subsystem-vendor-id",
                Buffer (0x04)
                {
                     0x86, 0x80, 0x00, 0x00                      
                }
            })
        }
    }
}
 
Yes, for earlier OS versions. Does no harm for them to be there.

Incorrect. AAPL Values are still needed for EHC1, EHC2 controllers.
 
Status
Not open for further replies.
Back
Top