ASUS K53E - Shutdown and Sleep issues

Sorry for a terribly long post, but I wanted to let out as much info as possible in case anything helps. Also this issue seems to be ACPI related but I don't really know how to debug them. So I'd be glad for at least pointing to the right direction.

  • CPU: Intel Core i7-2860QM
  • GPU: Intel HD Graphics 3000 (no dGPU)
  • RAM: 16Gb
  • Laptop model: ASUS K53E
  • Audio Codec: Realtek ALC269, layout-id=3
  • Ethernet Card: Qualcomm AR8151 v2.0 Gigabit Ethernet
  • Wifi/BT Card: AzureWave AW-CE123H
  • What guide/tool followed: Dortania's laptop OpenCore guide (I have Sandy Bridge, but there's no Sandy Bridge section, so I followed Ivy Bridge one - works just fine)
  • macOS version: 10.13.6 High Sierra
  • SMBIOS: MacBookPro8,2

  • What part I got an issue with:
    • Shutdown. Seems like macOS correctly shuts down according to its logs from the Console app, but the laptop itself does not. It gets stuck on turned off screen, system LEDs are on (power, battery indicator, disc activity, Num Lock). Doesn't react to Num or Caps Lock, but battery LED works correctly if I plug or unplug the laptop to/from the charger. Also fan starts to run really loud and hot - seems like CPU is loaded at 100% during this. It can stay like this until it runs out of battery or until I turn off via long-holding power button.
    • Sleep.
      • If I select Sleep from the Apple menu, the display turns off and that's it. Even after a minute it still doesn't go to sleep.
      • May be related - on low battery charge it also doesn't go to sleep, as the warning promises. The laptop continues running on 0% until the battery completely dies.
      • If I close the lid, the laptop seems to actually try to go the normal sleep, but gets stuck on exactly the same behavior as the shutdown one.
    • But Restart... Surprisingly though restart works perfectly fine.
  • What files/config I am using: - EFI/OC folder + SysReport + ACPI sources
  • Extra Info:
    • Same issues occured on Clover which I previously had installed. FixShutdown didn't help. I did the rest of the testing on OpenCore though.
    • I modded BIOS to show hidden menus and nothing more. In the Ivy Bridge's section of config.plist it's mentioned about some quirks that they disable some things in BIOS. So I went to BIOS and:
      • disabled CFG-Lock
      • disabled VT-d
      • enabled EHCI and XCHI Handoff (but disabled USB 3.0 since it's AsMedia 1042)
    • There are also settings in BIOS related to ACPI. I played around a bit and they didn't change anything, so I've left them at:
      • Enable ACPI Auto Configuration: Disabled
      • Enable hibernation: Enabled
      • PTID Support: Disabled
      • PECI Access Method: ACPI
      • ACPI Sleep State: S3 (Suspend to RAM)
      • Native PCIE Enable: Enabled
      • Native ASPM: Enabled
    • I use static patched DSDT because of battery status (its SSDT is in WIP yet). As it turns out, OpenCore doesn't patch DSDT if it's in ACPI > Add, so apply enabled patches manually to DSDT.aml via HexFiend.
      • I do make sure to do ACPI dump every time I change BIOS settings because of that.
    • I've tried all applicable Shutdown Fix patches for DSDT - none of them helped.
    • I used USBMap.kext for a while but it didn't change anything for me. USB 2.0 ports worked just fine out of the box anyway, and I don't really know yet if there's a kext for working AsMedia 1042 USB 3.0. That's why I disabled this port in BIOS. It's still present in DSDT though, but as an almost empty device..
submitted by /u/EnderVAD
[link] [comments]