Jump to content
PayPal donations: [email protected] ×
rubbereend

Sleep E5540

Recommended Posts

Oeps... i made a mistake... i renamed the original DSDT file but didn't put your A18 file in the correct location... :oops:

that's why battery, audio and USB didn't work.

Now i put your A18 DSDT file in and everything seems to work correctly, everything but falling asleep...

When i close the lid or press sleep in the Apple menu the screen goes off and nothing further...

Share this post


Link to post
Share on other sites

There's some changes in the new DSDT when you updated the BIOS. I applied the same patches, but doesn't seem to have the same result.

can you run this again. post output here

 

log show --style syslog | fgrep "Wake reason"

Share this post


Link to post
Share on other sites

2017-07-14 23:42:34.478206+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0

2017-07-14 23:42:34.478207+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0

2017-07-14 23:43:30.273464+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0

2017-07-14 23:43:30.273466+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0

2017-07-16 10:45:02.360448+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0

2017-07-16 10:45:02.360450+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0

2017-07-16 10:45:17.982377+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0

2017-07-16 10:45:17.982379+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0

2017-07-16 10:48:35.411059+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0

2017-07-16 10:48:35.411061+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0

2017-07-16 10:48:53.305991+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0

2017-07-16 10:48:53.305993+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0

2017-07-20 20:58:27.019039+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0

2017-07-20 20:58:27.019040+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0

2017-07-20 21:30:52.600705+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0

2017-07-20 21:30:52.600707+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0

2017-07-20 22:13:11.855483+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0

2017-07-20 22:13:11.855486+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0

2017-07-20 22:13:23.229209+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0

2017-07-20 22:13:23.229212+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0

2017-07-20 22:13:34.219351+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0

2017-07-20 22:13:34.219353+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0

2017-07-21 17:23:57.558908+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: PBTN LID0 EH01 (User)

2017-07-21 17:23:57.558910+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: PBTN LID0 EH01 (User)

2017-07-21 17:25:06.910381+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0 EH01

2017-07-21 17:25:06.910383+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0 EH01

2017-07-21 17:37:00.424833+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0 EH01

2017-07-21 17:37:00.424836+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0 EH01

2017-07-21 21:44:27.244573+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: PBTN LID0 EH01 (User)

2017-07-21 21:44:27.244576+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: PBTN LID0 EH01 (User)

2017-07-22 07:47:20.138046+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: PBTN LID0 (User)

2017-07-22 07:47:20.138047+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: PBTN LID0 (User)

2017-07-22 18:05:36.013917+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0 EH01

2017-07-22 18:05:36.013919+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0 EH01

2017-07-22 18:19:01.861051+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0 EH01

2017-07-22 18:19:01.861054+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0 EH01

2017-07-22 18:22:59.410040+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0 EH01

2017-07-22 18:22:59.410043+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0 EH01

2017-07-22 20:17:35.077666+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: PBTN LID0 EH01 (User)

2017-07-22 20:17:35.077669+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: PBTN LID0 EH01 (User)

2017-07-22 20:18:29.810468+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0 EH01

 

2017-07-22 20:18:29.810471+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: LID0 EH01

Share this post


Link to post
Share on other sites

Hi there, 

 

Sorry for the late reply... I tried both files but they don't work...

i'll just use the first one you gave, that one works perfectly :)

 

Thanks for all the work!

Share this post


Link to post
Share on other sites

This DSDT from post #11 works good under Mojave with one quirk. Sleep doesn't work without first using the 'Power off card' option. After sleeping, the icon comes back and again it has to be turned off manually. 

 

Not powering it off this way will cause the system to hang at a blank screen.


The usual 'Disable Optimus' SSDT's don't seem to work here. Do you have an idea @Jake Lo?

 

BIOS version: A18 (could update it to A21 for the sake of a more recent DSDT patch if you like :D)

DSDT: Same from post #11

 

1361261427_Screenshot2018-10-21at14_40_43.png.41e14e8796563858105f2b91a6ee6439.png
 

55675020_Screenshot2018-10-21at14_41_24.png.ea6a1411a209ad0584c5e5bcf20216eb.png

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...