Jump to content

Mojave on E5540 (W/ Optimus disable)


Dash

Recommended Posts

Hi,

 

After some efforts I nearly got a Latitude E5540 working perfectly with 10.14. The following works:

 

- IGPU with H/W acceleration, OpenCL (via Whatevergreen and Rehabman's Clover device properties)

- Sound via AppleHDA and 3,5mm detection (w/ ALC_Fix)

- HDMI detection and sound over HDMI

- PM and C-States

- Brightness via FN keys

 

What isn't working natively is USB (w/o FixUSB at least) and sleep, so for this a DSDT is needed. The DSDT from this topic makes USB work natively, but sleep still doesn't work (at least not without manually clicking 'Power off card' in macOS). This is likely because it's made for a E5540 without a Nvidia DGPU.

 

A helping hand with either the required patches or a final DSDT would be much appreciated.

debug_23108.zip

Link to comment
Share on other sites

No dice with the above DSDT/SSDT's with either dropoem or auto merge, but your E5440 DSDTs (A21/Optimus version) turned out to work very well this model (the only difference is apparently screen size and a numpad). I only had to patch some PRW functions to kill PEGP/PEGA wake reasons and now sleep is working. I attached the final DSDT's and can verify everything is working now.

 

Thanks for the time and the initial E5440 DSDT :)

E5540 Optimus A21.zip

Link to comment
Share on other sites

×
×
  • Create New...