Contribute
Register

Lid Sleep and Wake Issue - Sleep but screen don't wake

Status
Not open for further replies.
Joined
Dec 8, 2016
Messages
3
Motherboard
Spectre X360 15t
CPU
Intel i7-6560U
Graphics
Intel Iris 540
Hi everyone! I'm installing a Hackintosh 10.12 OS Sierra on my HP Spectre X360 15t using Clover bootloader. This is my first Hack attempt, and found many useful info here. I'm very new to this, so please do let me know if I'm make an obvious mistake. I have managed to install the system, but the Lid Sleep and Wake functionality will just not work. Let me describe more specifically:

1. When I close the lid, the system does go to sleep, but sometimes it will simply shut down the system.
2. When I open the lid, the system will start momentarily with no screen, but audio and keystroke would work.
3. I have tried to find a variety of patches, but none worked so far. The system doesn't have _PRW in DSDT.

The hibernation mode is currently set at 29.

Below is the codes section concerning LID0. I have also attached my config.plist for Clover.
Code:
        Device (LID0)
        {
            Name (_HID, EisaId ("PNP0C0D"))  // _HID: Hardware ID
            Method (_LID, 0, NotSerialized)  // _LID: Lid Status
            {
                If (LEqual (^^PCI0.LPCB.EC0.ECOK, One))
                {
                    If (LEqual (^^PCI0.LPCB.EC0.ECLS, One))
                    {
                        SGOV (0x0204000A, Zero)
                        Store (Zero, Local0)
                    }
                    Else
                    {
                        SGOV (0x0204000A, One)
                        Store (One, Local0)
                    }
                }
                Else
                {
                    Store (One, Local0)
                }

                ^^PCI0.LPCB.EC0.ULID (One)
                Return (Local0)
            }
        }

Any help is highly appreciated! Please let me know if you would like additional information!

Below is detailed specification of the system
CPU Intel i7-6560U with Iris 540 Graphics.
Board HP 8174 38.16, Chipset Intel Skylake-U Rev. 09, Southbridge Skylake-Y PCH Rev.21
BIOS American Megatrends Inc. Version F.08
 

Attachments

  • config.plist
    8.3 KB · Views: 204
Last edited:
Hi everyone! I'm installing a Hackintosh 10.12 OS Sierra on my HP Spectre X360 15t using Clover bootloader. This is my first Hack attempt, and found many useful info here. So I'm very new to this, so please do let me know if I'm make an obvious mistake. I have managed to install the system, but the Lid Sleep and Wake functionality will just not work. Let me describe more specifically:

1. When I close the lid, the system do goes to sleep, but sometimes it will simply shut down the system.
2. When I open the lid, the system will start momentarily but no screen and audio and keystroke would work.
3. I have tried to find a variety of patches, but none worked so far. The system doesn't have _PRW in DSDT.

The hibernation mode is currently set at 29.

Below is the codes section concerning LID0. I have also attached my config.plist for Clover.
Code:
        Device (LID0)
        {
            Name (_HID, EisaId ("PNP0C0D"))  // _HID: Hardware ID
            Method (_LID, 0, NotSerialized)  // _LID: Lid Status
            {
                If (LEqual (^^PCI0.LPCB.EC0.ECOK, One))
                {
                    If (LEqual (^^PCI0.LPCB.EC0.ECLS, One))
                    {
                        SGOV (0x0204000A, Zero)
                        Store (Zero, Local0)
                    }
                    Else
                    {
                        SGOV (0x0204000A, One)
                        Store (One, Local0)
                    }
                }
                Else
                {
                    Store (One, Local0)
                }

                ^^PCI0.LPCB.EC0.ULID (One)
                Return (Local0)
            }
        }

Any help is highly appreciated! Please let me know if you would like additional information!

Below is detailed specification of the system
CPU Intel i7-6560U with Iris 540 Graphics.
Board HP 8174 38.16, Chipset Intel Skylake-U Rev. 09, Southbridge Skylake-Y PCH Rev.21
BIOS American Megatrends Inc. Version F.08

Not a desktop. Moved to laptop support.

What happens when you use Apple->Sleep instead of the lid?
 
Not a desktop. Moved to laptop support.

What happens when you use Apple->Sleep instead of the lid?
Thanks for your reply! The same thing happens.
 
Then clearly not related to the lid...

Did you patch ACPI correctly? See guide linked from FAQ.

http://www.tonymacx86.com/el-capita...faq-read-first-laptop-frequent-questions.html

Thanks. I did read this. I only patched DSDT for battery status and brightness fix, and actually found a bug in battery status patch for this specific laptop that could lead to screen blink (will report later). I have attached both original DSDT and original one. What other patch should I be looking at for this problem? Any tips? Thanks in advance!
 

Attachments

  • DSDT-Patched.dsl
    1.3 MB · Views: 125
  • DSDT.dsl
    1.3 MB · Views: 128
Thanks. I did read this. I only patched DSDT for battery status and brightness fix, and actually found a bug in battery status patch for this specific laptop that could lead to screen blink (will report later). I have attached both original DSDT and original one. What other patch should I be looking at for this problem? Any tips? Thanks in advance!

Battery status has nothing to do with graphics.

If this is the extent of your ACPI patching, it is not correct.

Read ACPI patching guide.
 
Status
Not open for further replies.
Back
Top