Contribute
Register

Fix Sleep on Sierra

Status
Not open for further replies.
USB 2.0 Ports are coming under EHC1, EHC2 not correct should be coming under EH01,EH02. Rename EHC1 to EH01, EHC2 to EH02 in DSDT or you could use Clovers Hotpatch. USB 3.0 is coming under RP05, PXSX, RP06,PXSX.
What can I do to RP05, PXSX, RP06,PXSX in order to disable them? I'm not using DSDT, will it work with Clover hotpatches? Can you point me to the right direction, no docs on Clover found on the net, except for official page, and it lacks such peculiarities :(
 
Thats nonsense. SSDT is needed for Powermanagement without it the CPU will be stuck in one State.

Ok, I replaced the DSDT with the set of SSDTs from your github. I added all of them, is that correct?
My LAN chip is - Giga PHY Intel® I219V, so I deleted the LAN file and used the GLAN file and changed following lines
Buffer (0x28)
{
"Intel I217-V Gigabit Network Controller"
},
to
Buffer (0x28)
{
"Intel I219-V Gigabit Network Controller"
},

Power Management now barely shows a difference between the curves in the Intel Gadget, pretty much the same as without a SSDT. Can a DSDT make power management work too, or certain clover settings? Anyway, it seems to be working.
Sleep still isn't working though :( Still the same NVRM kernel panic. I tried also following commands after:

sudo pmset -a hibernatemode 0

sudo rm /var/vm/sleepimage

sudo mkdir /var/vm/sleepimage.

I attached clover folder and ioReg.
 

Attachments

  • CLOVER.zip
    1.3 MB · Views: 95
  • mymac.ioreg
    4.8 MB · Views: 101
Last edited:
Ok, I replaced the DSDT with the set of SSDTs from your github. I added all of them, is that correct?
My LAN chip is - Giga PHY Intel® I219V, so I deleted the LAN file and used the GLAN file and changed following lines
Buffer (0x28)
{
"Intel I217-V Gigabit Network Controller"
},
to
Buffer (0x28)
{
"Intel I219-V Gigabit Network Controller"
},

Power Management now barely shows a difference between the curves in the Intel Gadget, pretty much the same as without a SSDT. Can a DSDT make power management work too, or certain clover settings? Anyway, it seems to be working.
Sleep still isn't working though :( Still the same NVRM kernel panic. I tried also following commands after:

sudo pmset -a hibernatemode 0

sudo rm /var/vm/sleepimage

sudo mkdir /var/vm/sleepimage.

I attached clover folder and ioReg.

Can you remove SSDT for Powermanagement and re-attach ioreg. I will tell show if its needed or not. Not quite sure why you have NewWay in config not needed. SSDT-GLAN is incorrect should be,

Code:
Scope (\_SB.PCI0.GLAN)
        {
            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
            {
                If (LEqual (Arg2, Zero))
                {
                    Return (Buffer (One)
                    {
                         0x03                                          
                    })
                }

                Return (Package (0x0C)
                {
                    "AAPL,slot-name",
                    "Built In",
                    "name",
                    "Intel Ethernet Controller",
                    "model",
                    Buffer (0x28)
                    {
                        "Intel I219-V Gigabit Network Controller"
                    },

                    "device_type",
                    Buffer (0x14)
                    {
                        "Ethernet Controller"
                    },

                    "built-in",
                    Buffer (0x04)
                    {
                         0x01, 0x00, 0x00, 0x00                        
                    },

                    "location",
                    Buffer (0x04)
                    {
                        "2"
                    }
                })
            }
        }
    }
}
 
What can I do to RP05, PXSX, RP06,PXSX in order to disable them? I'm not using DSDT, will it work with Clover hotpatches? Can you point me to the right direction, no docs on Clover found on the net, except for official page, and it lacks such peculiarities :(

Possibly. Do you have have a DSDT already patched?
 
I'm not using DSDT as such, just few Clover hotpatches, I upgraded my BIOS to UEFI. I know I can generate DSDT with Clover, but I never needed it before. Just let me know if I need to do it in order to exclude USB3.0 from it.

This is all I have in Clover re: DSDT and _no_ DSDT.aml file in ACPI/patched

Code:
<key>DSDT</key>
        <dict>
            <key>Debug</key>
            <false/>
            <key>DropOEM_DSM</key>
            <false/>
            <key>Fixes</key>
            <dict>
                <key>FiX_TMR_40000</key>
                <false/>
                <key>FiX_WAK_200000</key>
                <false/>
                <key>FixDarwin_0002</key>
                <true/>
                <key>NewWay_80000000</key>
                <false/>
            </dict>
            <key>Name</key>
            <string>DSDT.aml</string>
            <key>Patches</key>
            <array>
                <dict>
                    <key>Comment</key>
                    <string>change EHC1 to EH01</string>
                    <key>Disabled</key>
                    <false/>
                    <key>Find</key>
                    <data>
                    RUhDMQ==
                    </data>
                    <key>Replace</key>
                    <data>
                    RUgwMQ==
                    </data>
                </dict>
                <dict>
                    <key>Comment</key>
                    <string>change EHC2 to EH02</string>
                    <key>Disabled</key>
                    <false/>
                    <key>Find</key>
                    <data>
                    RUhDMg==
                    </data>
                    <key>Replace</key>
                    <data>
                    RUgwMg==
                    </data>
                </dict>
 
I'm not using DSDT as such, just few Clover hotpatches, I upgraded my BIOS to UEFI. I know I can generate DSDT with Clover, but I never needed it before. Just let me know if I need to do it in order to exclude USB3.0 from it.

This is all I have in Clover re: DSDT and _no_ DSDT.aml file in ACPI/patched

Code:
<key>DSDT</key>
        <dict>
            <key>Debug</key>
            <false/>
            <key>DropOEM_DSM</key>
            <false/>
            <key>Fixes</key>
            <dict>
                <key>FiX_TMR_40000</key>
                <false/>
                <key>FiX_WAK_200000</key>
                <false/>
                <key>FixDarwin_0002</key>
                <true/>
                <key>NewWay_80000000</key>
                <false/>
            </dict>
            <key>Name</key>
            <string>DSDT.aml</string>
            <key>Patches</key>
            <array>
                <dict>
                    <key>Comment</key>
                    <string>change EHC1 to EH01</string>
                    <key>Disabled</key>
                    <false/>
                    <key>Find</key>
                    <data>
                    RUhDMQ==
                    </data>
                    <key>Replace</key>
                    <data>
                    RUgwMQ==
                    </data>
                </dict>
                <dict>
                    <key>Comment</key>
                    <string>change EHC2 to EH02</string>
                    <key>Disabled</key>
                    <false/>
                    <key>Find</key>
                    <data>
                    RUhDMg==
                    </data>
                    <key>Replace</key>
                    <data>
                    RUgwMg==
                    </data>
                </dict>

Your using Clover Hotpatch?
 
Yes, after you suggested replacing EHC1 to EH01. May it be used for the purpose of USB3.0 disabling?

renaming EHC1 to EH01, EHC2 to EH02 is for USB 2.0 to bypass Apples 15 Port Limit. From looking at the Downloads section your board has a DSDT. Which BIOS version do you have?
 
Last edited:
Status
Not open for further replies.
Back
Top