Jump to content

Skylake / Sierra Restarts instead of Shut Down


sakoula
 Share

11 posts in this topic

Recommended Posts

Hello,

 

I have the following:

 

* HP EliteDesk 800 G2 TWR

* Intel® 8 Q170

* MOBO HP 8053 (U3E1)

* Intel Core i7 6700 @ 3.40GHz Skylake

 

I have installed Sierra 10.12.2 and it is working very well. However I am facing a problem. Whenever I shutdown the machine it restarts.

 

I have tried the `FixShutdown` and the `HaltEnabler` on Clover without any success. SpeedStepping works.

 

I have used the `iMac17.1` SMBIOS.

 

How can I debug this?

 

Thanks!

config.plist.zip

  • Like 1
Link to comment
Share on other sites

Check and see if there's an ErP option in UEFI/BiOS that's disabled And enable that. It's usually under CPU Power Management or APM or something like that. I see that has fixed some Skylake systems with the same issue, in addition to FixShutdown in Clover. I have no idea if your system has that option.

 

The other one to check is if you have a "Wake on LAN" option enabled as that's another known cause.

  • Like 1
Link to comment
Share on other sites

u need patch _PTS(prepare to sleep) or _GTS(going to sleep) in ur DSDT

 

add in _PTS

If (LEqual (Arg0, 0x05))
            {
                Store (Zero, SLPE)
                Sleep (0x10)
            }

in definition block

OperationRegion (PMRS, SystemIO, 0x0430, One)
    Field (PMRS, ByteAcc, NoLock, Preserve)
    {
            ,   4, 
        SLPE,   1
    }

upload ur DSDT here

  • Like 2
Link to comment
Share on other sites

nawcom: Thanks!!! In my BIOS there is a setting 'S5 Maximum Power Savings' which was unchecked. I googled it and it seems to be the ErP equivalent. I checked that and now I can shutdown successfully!!!! However I cannot make the machine to sleep, but I do not care for this.

 

I have another issue/question. On the machine I have two disks. Whenever I boot the disk numbering changes.

 

Sometimes I get this:

 



$ diskutil list
   0:      GUID_partition_scheme                        *1.0 TB     disk0
   0:      GUID_partition_scheme                        *256.1 GB   disk1


 

and sometimes I get this:



$ diskutil list
   0:      GUID_partition_scheme                        *256.1 GB   disk0
   0:      GUID_partition_scheme                        *1.0 TB     disk1


 

 

I cannot really figure out why this is happening.

 

Thanks!!!!

 

 

Mald0n: Although it is solved with the S5 setting, I extracted the DSDT after making the final tweaks on the BIOS settings. I attach the DSDT. I want to start playing an understanding it. I opened it using MaciASL. Which ACPI Specification should I use? 4.0, 5.0A or 5.1 ? Which 4.0 the DSDT does not compile. Is there a Skylake patch repository to start looking? Thanks!!!!!

 

 

Again I really appreciate your help!!!

 

DSDT.HP800G2.zip

Link to comment
Share on other sites

The order disk0/disk1 is determined on which one gets detected and gets its device node created first. Usually disk0 is almost always the root device (what you're booting up) but I've seen it change at times, especially with multiple SATA disks by detecting the other disk and creating a device node for it first. That's where specifying volumes based on UUIDs takes care of that as it no longer matters what its device node name is in order to access the correct one.

  • Like 1
Link to comment
Share on other sites

MaLd0n thanks!!!

 

It works! 

 

I tried to diff it with the vanilla one and the 'AML Disassembler' I saw many changes. Which parts did you patch?

 

Which ACPI specification you used to compile the DSDT?

5.0A or 5.1?

 

Also can you suggest a good starting point for the DSDT editing especially for the SkyLake Architecture?

 

Thanks!!!
Link to comment
Share on other sites

sakoula, use it DSDT.sakoula SBUS OK.zip

 

the old DSDT, SMBUS is wrong, skylake smbus in 0x001F0004, not in 0x001F0003

0x001F0003 is HDAS=HDEF(audio)

 

skylake need same patches, shutdown, irqs, hpet, hdef, etc. all hackintosh need it. ;)

 

i use 6.1

https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/RehabMan-MaciASL-2016-0423.zip

  • Like 2
Link to comment
Share on other sites

  • 8 months later...
  • 3 months later...
 Share

×
×
  • Create New...