Contribute
Register

[Solved] Sleep/wake/lid not working after upgrade os to High Sierra

Status
Not open for further replies.
I was remove plain patch and use only IntelGraphicsFixup.kext and IntelGraphicsDVMTFixup.kext.

There are files. Patched was writen by you and TheBraveKnight.

Code:
Dmitrys-MacBook-Pro:~ xshift$ kextstat|grep -y acpiplat
   15    2 0xffffff7f827d5000 0xa5000    0xa5000    com.apple.driver.AppleACPIPlatform (6.1) 642EF8D6-8F86-3F92-B450-FDC9BAE4F3DD <14 12 11 7 6 5 4 3 1>

Dmitrys-MacBook-Pro:~ xshift$ kextstat|grep -y applehda
  108    0 0xffffff7f826e8000 0x1f000    0x1f000    com.apple.driver.AppleHDAController (280.12) 55162F3D-B7E9-315C-A7E1-C5C4C02F03EC <107 94 63 12 7 6 5 4 3 1>

Dmitrys-MacBook-Pro:~ xshift$ pmset -g assertions
2017-10-11 04:26:15 -0700
Assertion status system-wide:
   BackgroundTask                 0
   ApplePushServiceTask           0
   UserIsActive                   1
   PreventUserIdleDisplaySleep    0
   PreventSystemSleep             0
   ExternalMedia                  1
   PreventUserIdleSystemSleep     1
   NetworkClientActive            0
Listed by owning process:
   pid 481(storeassetd): [0x0000027f000b8335] 00:08:53 BackgroundTask named: "com.apple.storeagent.UpdateStaging"
   pid 338(UserEventAgent): [0x0000003e000b8125] 00:18:31 BackgroundTask named: "com.apple.tourist.notify"
    Created for PID: 449.
   pid 338(UserEventAgent): [0x00000038000b8115] 00:18:36 BackgroundTask named: "com.apple.DataDetectorsLocalSource"
    Created for PID: 435.
   pid 40(UserEventAgent): [0x0000018e000b82cb] 00:12:54 BackgroundTask named: "com.apple.mds.Health check (2).0"
    Created for PID: 60.
   pid 40(UserEventAgent): [0x00000023000b8079] 00:18:59 BackgroundTask named: "com.apple.periodic-weekly"
    Created for PID: 204.
   pid 53(powerd): [0x0000021e0008832e] 00:10:30 ExternalMedia named: "com.apple.powermanagement.externalmediamounted"
   pid 196(mds_stores): [0x00000028000b8085] 00:18:53 BackgroundTask named: "com.apple.metadata.mds_stores.power"
   pid 206(softwareupdated): [0x0000028e0001833c] 00:08:38 PreventUserIdleSystemSleep named: "Updating Software (com.apple.SoftwareUpdate.Session)"
    Details: Downloading iTunesXPatch-12.7, macOS High Sierra 10.13 Supplemental Update-
   pid 592(system_installd): [0x0000024b00018334] 00:09:46 PreventUserIdleSystemSleep named: "Installing Software (com.apple.PackageKit.installd.commit)"
    Details: Installing "XProtectPlistConfigData"
   pid 94(hidd): [0x000000220009805c] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968033.3"
    Timeout will fire in 119 secs Action=TimeoutActionRelease
   pid 60(mds): [0x0000001e000b8041] 00:19:03 BackgroundTask named: "com.apple.metadata.mds.power"
Kernel Assertions: 0x4=USB
   id=500  level=255 0x4=USB mod=12/31/69, 4:00 PM description=com.apple.usb.externaldevice.14500000 owner=USB2.0-CRW
   id=502  level=255 0x4=USB mod=12/31/69, 4:00 PM description=com.apple.usb.externaldevice.14700000 owner=Mass Storage Device
Idle sleep preventers: IODisplayWrangler
I was remove plain patch and use only IntelGraphicsFixup.kext and IntelGraphicsDVMTFixup.kext.

There are files. Patched was writen by you and TheBraveKnight.

Code:
Dmitrys-MacBook-Pro:~ xshift$ kextstat|grep -y acpiplat
   15    2 0xffffff7f827d5000 0xa5000    0xa5000    com.apple.driver.AppleACPIPlatform (6.1) 642EF8D6-8F86-3F92-B450-FDC9BAE4F3DD <14 12 11 7 6 5 4 3 1>

Dmitrys-MacBook-Pro:~ xshift$ kextstat|grep -y applehda
  108    0 0xffffff7f826e8000 0x1f000    0x1f000    com.apple.driver.AppleHDAController (280.12) 55162F3D-B7E9-315C-A7E1-C5C4C02F03EC <107 94 63 12 7 6 5 4 3 1>

Dmitrys-MacBook-Pro:~ xshift$ pmset -g assertions
2017-10-11 04:26:15 -0700
Assertion status system-wide:
   BackgroundTask                 0
   ApplePushServiceTask           0
   UserIsActive                   1
   PreventUserIdleDisplaySleep    0
   PreventSystemSleep             0
   ExternalMedia                  1
   PreventUserIdleSystemSleep     1
   NetworkClientActive            0
Listed by owning process:
   pid 481(storeassetd): [0x0000027f000b8335] 00:08:53 BackgroundTask named: "com.apple.storeagent.UpdateStaging"
   pid 338(UserEventAgent): [0x0000003e000b8125] 00:18:31 BackgroundTask named: "com.apple.tourist.notify"
    Created for PID: 449.
   pid 338(UserEventAgent): [0x00000038000b8115] 00:18:36 BackgroundTask named: "com.apple.DataDetectorsLocalSource"
    Created for PID: 435.
   pid 40(UserEventAgent): [0x0000018e000b82cb] 00:12:54 BackgroundTask named: "com.apple.mds.Health check (2).0"
    Created for PID: 60.
   pid 40(UserEventAgent): [0x00000023000b8079] 00:18:59 BackgroundTask named: "com.apple.periodic-weekly"
    Created for PID: 204.
   pid 53(powerd): [0x0000021e0008832e] 00:10:30 ExternalMedia named: "com.apple.powermanagement.externalmediamounted"
   pid 196(mds_stores): [0x00000028000b8085] 00:18:53 BackgroundTask named: "com.apple.metadata.mds_stores.power"
   pid 206(softwareupdated): [0x0000028e0001833c] 00:08:38 PreventUserIdleSystemSleep named: "Updating Software (com.apple.SoftwareUpdate.Session)"
    Details: Downloading iTunesXPatch-12.7, macOS High Sierra 10.13 Supplemental Update-
   pid 592(system_installd): [0x0000024b00018334] 00:09:46 PreventUserIdleSystemSleep named: "Installing Software (com.apple.PackageKit.installd.commit)"
    Details: Installing "XProtectPlistConfigData"
   pid 94(hidd): [0x000000220009805c] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968033.3"
    Timeout will fire in 119 secs Action=TimeoutActionRelease
   pid 60(mds): [0x0000001e000b8041] 00:19:03 BackgroundTask named: "com.apple.metadata.mds.power"
Kernel Assertions: 0x4=USB
   id=500  level=255 0x4=USB mod=12/31/69, 4:00 PM description=com.apple.usb.externaldevice.14500000 owner=USB2.0-CRW
   id=502  level=255 0x4=USB mod=12/31/69, 4:00 PM description=com.apple.usb.externaldevice.14700000 owner=Mass Storage Device
Idle sleep preventers: IODisplayWrangler

"Problem Reporting" files are incomplete.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
 
I was remove plain patch and use only IntelGraphicsFixup.kext and IntelGraphicsDVMTFixup.kext.

There are files. Patched was writen by you and TheBraveKnight.

Code:
Dmitrys-MacBook-Pro:~ xshift$ kextstat|grep -y acpiplat
   15    2 0xffffff7f827d5000 0xa5000    0xa5000    com.apple.driver.AppleACPIPlatform (6.1) 642EF8D6-8F86-3F92-B450-FDC9BAE4F3DD <14 12 11 7 6 5 4 3 1>

Dmitrys-MacBook-Pro:~ xshift$ kextstat|grep -y applehda
  108    0 0xffffff7f826e8000 0x1f000    0x1f000    com.apple.driver.AppleHDAController (280.12) 55162F3D-B7E9-315C-A7E1-C5C4C02F03EC <107 94 63 12 7 6 5 4 3 1>

Dmitrys-MacBook-Pro:~ xshift$ pmset -g assertions
2017-10-11 04:26:15 -0700
Assertion status system-wide:
   BackgroundTask                 0
   ApplePushServiceTask           0
   UserIsActive                   1
   PreventUserIdleDisplaySleep    0
   PreventSystemSleep             0
   ExternalMedia                  1
   PreventUserIdleSystemSleep     1
   NetworkClientActive            0
Listed by owning process:
   pid 481(storeassetd): [0x0000027f000b8335] 00:08:53 BackgroundTask named: "com.apple.storeagent.UpdateStaging"
   pid 338(UserEventAgent): [0x0000003e000b8125] 00:18:31 BackgroundTask named: "com.apple.tourist.notify"
    Created for PID: 449.
   pid 338(UserEventAgent): [0x00000038000b8115] 00:18:36 BackgroundTask named: "com.apple.DataDetectorsLocalSource"
    Created for PID: 435.
   pid 40(UserEventAgent): [0x0000018e000b82cb] 00:12:54 BackgroundTask named: "com.apple.mds.Health check (2).0"
    Created for PID: 60.
   pid 40(UserEventAgent): [0x00000023000b8079] 00:18:59 BackgroundTask named: "com.apple.periodic-weekly"
    Created for PID: 204.
   pid 53(powerd): [0x0000021e0008832e] 00:10:30 ExternalMedia named: "com.apple.powermanagement.externalmediamounted"
   pid 196(mds_stores): [0x00000028000b8085] 00:18:53 BackgroundTask named: "com.apple.metadata.mds_stores.power"
   pid 206(softwareupdated): [0x0000028e0001833c] 00:08:38 PreventUserIdleSystemSleep named: "Updating Software (com.apple.SoftwareUpdate.Session)"
    Details: Downloading iTunesXPatch-12.7, macOS High Sierra 10.13 Supplemental Update-
   pid 592(system_installd): [0x0000024b00018334] 00:09:46 PreventUserIdleSystemSleep named: "Installing Software (com.apple.PackageKit.installd.commit)"
    Details: Installing "XProtectPlistConfigData"
   pid 94(hidd): [0x000000220009805c] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968033.3"
    Timeout will fire in 119 secs Action=TimeoutActionRelease
   pid 60(mds): [0x0000001e000b8041] 00:19:03 BackgroundTask named: "com.apple.metadata.mds.power"
Kernel Assertions: 0x4=USB
   id=500  level=255 0x4=USB mod=12/31/69, 4:00 PM description=com.apple.usb.externaldevice.14500000 owner=USB2.0-CRW
   id=502  level=255 0x4=USB mod=12/31/69, 4:00 PM description=com.apple.usb.externaldevice.14700000 owner=Mass Storage Device
Idle sleep preventers: IODisplayWrangler

Your ACPI configuration has issues.
If you attempt to disassemble your patchmatic -extract output: iasl -da -dl *.aml
You will have an error due to duplicate symbols:
Code:
ACPI Error: [PNLF] Namespace lookup failure, AE_ALREADY_EXISTS (20170929/dswload-498)
ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20170929/psobject-371)
 
Your ACPI configuration has issues.
If you attempt to disassemble your patchmatic -extract output: iasl -da -dl *.aml
You will have an error due to duplicate symbols:
Code:
ACPI Error: [PNLF] Namespace lookup failure, AE_ALREADY_EXISTS (20170929/dswload-498)
ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20170929/psobject-371)



To hard ... Stay out on 10.12.6. Maybe somebody can find other way to fix it....


Thank you!
 
To hard ... Stay out on 10.12.6. Maybe somebody can find other way to fix it....


Thank you!

Your configuration is wrong for 10.12.6 as well.
Invalid/wrong SystemMemory addresses are a major mistake on any version of macOS/OS X.
Just re-extract/re-patch ACPI (if you did it once before, you can do it again).
And you should read the ACPI guide so you understand the conditions under which SystemMemory addresses change.
 
Screen Shot 2017-10-16 at 3.10.17 PM.png
Your configuration is wrong for 10.12.6 as well.
Invalid/wrong SystemMemory addresses are a major mistake on any version of macOS/OS X.
Just re-extract/re-patch ACPI (if you did it once before, you can do it again).
And you should read the ACPI guide so you understand the conditions under which SystemMemory addresses change.

Ok. Now I was open patched aml's and check it for errors\warnings(nothin is bad). What I need to fix?
When I open maciyasl in plain mode and try to compile I have to see more errors with xxxx, xxxx, syntax error, unexpected PARSEOP_INTEGER messages. What can I do and what I really need to fix?

Thank you!
 
Fix EDID solved my problem. I extract EDID use DarwinDumper.app and use FixEDID.app to extract DisplayVendorID-xxx folder. Copy that folder to /System/Library/Displays/Contents/Resources/Overrides then reboot and sleep, wake, lid works like a charm :D
 
Status
Not open for further replies.
Back
Top