r33int Posted December 5, 2017 Share Posted December 5, 2017 Hello, this is the first time i post here. I have a big problem with my Latitude E5440, i used a DSDT from a bootpack for my laptop, and everything works but sleep. The laptop immediatly wakes up : 2017-12-05 22:11:52 +0100 Assertion status system-wide: BackgroundTask 0 ApplePushServiceTask 0 UserIsActive 1 PreventUserIdleDisplaySleep 0 PreventSystemSleep 0 ExternalMedia 1 PreventUserIdleSystemSleep 0 NetworkClientActive 0 Listed by owning process: pid 46(powerd): [0x0000003600088000] 00:07:50 ExternalMedia named: "com.apple.powermanagement.externalmediamounted" pid 97(hidd): [0x0000003600098002] 00:07:50 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294967979.3" Kernel Assertions: 0x4=USB id=502 level=255 0x4=USB mod=01/01/1970 01:00 description=com.apple.usb.externaldevice.14100000 owner=Cruzer Blade id=504 level=255 0x4=USB mod=01/01/1970 01:00 description=com.apple.usb.externaldevice.14200000 Idle sleep preventers: IODisplayWrangler I tried using original DSDT, and sleep works but other stuff like brightness and battery are broken. As i am a total noob about all this stuff, i don't really know what to do, so i ask for help here. I attach to this post the patched DSDT where sleep doesn't work and the base DSDT where sleep works. Thanks! https://cloud.r33int.xyz/s/Xw3z5xRQ0PurT2j i5 4210U 8GB RAM ALC292 Broadcom Wifi Link to comment Share on other sites More sharing options...
Administrators Bronxteck Posted December 5, 2017 Administrators Share Posted December 5, 2017 looks like your cruzer blade on usb is breaking sleep. from the log you posted. Link to comment Share on other sites More sharing options...
r33int Posted December 5, 2017 Author Share Posted December 5, 2017 Thanks for your quick reply, however, even if nothing is plugged it wakes up immediatly Link to comment Share on other sites More sharing options...
Moderators Jake Lo Posted December 6, 2017 Moderators Share Posted December 6, 2017 run this and post the result log show --style syslog | fgrep "Wake reason" Link to comment Share on other sites More sharing options...
r33int Posted December 6, 2017 Author Share Posted December 6, 2017 Last login: Wed Dec 6 13:13:19 on ttys000MacBook-Pro-de-Enzo:~ enzo$ log show --style syslog | fgrep "Wake reason"2017-12-04 01:36:08.484292+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0 HDEF GLAN (Network)2017-12-04 01:36:08.484294+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0 HDEF GLAN (Network)2017-12-04 14:07:33.255065+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0 HDEF GLAN XHC (Network)2017-12-04 14:07:33.255067+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0 HDEF GLAN XHC (Network)2017-12-04 14:12:10.519977+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0 HDEF GLAN (Network)2017-12-04 14:12:10.519979+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0 HDEF GLAN (Network)2017-12-04 18:58:59.426309+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0 HDEF GLAN XHC (Network)2017-12-04 18:58:59.426311+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0 HDEF GLAN XHC (Network)2017-12-04 19:13:28.359660+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: PBTN (User)2017-12-04 19:13:28.359662+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: PBTN (User)2017-12-04 19:19:58.882642+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: PBTN (User)2017-12-04 19:19:58.882644+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: PBTN (User)2017-12-04 19:23:30.636270+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: PBTN (User)2017-12-04 19:23:30.636272+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: PBTN (User)2017-12-04 19:30:17.502680+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: PBTN (User)2017-12-04 19:30:17.502681+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: PBTN (User)2017-12-04 19:36:37.566815+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: PBTN RTC (User)2017-12-04 19:36:37.566817+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: PBTN RTC (User)2017-12-04 19:39:31.331288+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: PBTN (User)2017-12-04 19:39:31.331289+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: PBTN (User)2017-12-04 20:02:34.286388+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: PBTN (User)2017-12-04 20:02:34.286390+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: PBTN (User)2017-12-04 21:09:39.382077+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0 HDEF GLAN XHC (Network)2017-12-04 21:09:39.382079+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0 HDEF GLAN XHC (Network)2017-12-04 21:12:12.179667+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0 HDEF GLAN (Network)2017-12-04 21:12:12.179669+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0 HDEF GLAN (Network)2017-12-04 21:13:10.234735+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0 HDEF GLAN (Network)2017-12-04 21:13:10.234737+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0 HDEF GLAN (Network)2017-12-04 21:31:30.756574+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0 HDEF GLAN XHC (Network)2017-12-04 21:31:30.756576+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0 HDEF GLAN XHC (Network)2017-12-04 21:53:42.955994+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID02017-12-04 21:53:42.955995+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID02017-12-05 21:09:01.042442+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: PBTN LID0 (User)2017-12-05 21:09:01.042443+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: PBTN LID0 (User)2017-12-05 21:39:59.687109+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0 HDEF GLAN XHC (Network)2017-12-05 21:39:59.687111+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0 HDEF GLAN XHC (Network)2017-12-06 01:19:48.425673+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: PBTN LID0 (User)2017-12-06 01:19:48.425675+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: PBTN LID0 (User)2017-12-06 01:21:41.435535+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: PBTN LID0 (User)2017-12-06 01:21:41.435537+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: PBTN LID0 (User)2017-12-06 01:28:09.136789+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID02017-12-06 01:28:09.136791+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID02017-12-06 13:14:10.542460+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0 HDEF GLAN XHC (Network)2017-12-06 13:14:10.542462+0100 localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0 HDEF GLAN XHC (Network)MacBook-Pro-de-Enzo:~ enzo$ Link to comment Share on other sites More sharing options...
Moderators Jake Lo Posted December 6, 2017 Moderators Share Posted December 6, 2017 Try this DSDT_sleepFix.aml.zip Link to comment Share on other sites More sharing options...
r33int Posted December 6, 2017 Author Share Posted December 6, 2017 It worked like a charm, thanks so much! Link to comment Share on other sites More sharing options...
Recommended Posts