Hi!
I am using a Lenovo x240 laptop as a Hackintosh running the latest El Capitan release. It is stable, fast and usable, but I have two issues. The first one is Audio, the second is sleep/wake. I use the latest Clover with custom DSDT to make it functional. I attached my EFI/CLOVER folder if someone is interested in making the X240 OS X compatible. Sound works with VoodooHDA obviously, but I would like to have a patched AppleHDA and get rid of the VoodooHDA. I've seen some people were able to do it with the Realtek ALC292, but I couldn't crack it yet. I tried patched HDAs for this chip but the only thing I managed is the audio device shows up in system profiler, but no actual sound. I've read suggestion to install EAPDfix kext, but after I install it I get kernel panic. Sleep/wake is not functioning properly. The laptop goes to sleep if I close the lid or press sleep from the menu and with the power button as well, but I am not able to wake it up no matter what I try. Power button, lid, keyboard, mouse it doesn't matter ignores all these attempts to wake it. Before I applied the custom DSDT it was not able to sleep only the display turned off. I've seen some people with the Lenovo T440, which is quite similar to the X240, were able to do it with out problems. I must miss something easy, but I am stuck for now. I tried to use the Generic USBXHCI kext with the boot flags -gux_nosleep and -gux_defer_usb2 but I noticed that my system uses the AppleUSBXHCI so the flag has no effect. Any ideas?
CLOVER.zip