How To Patch AppleHDA.kext For ALC282 Yosemite 10.10.4

I’ve been using VoodooHDA.kext for my HP-X360 i7-4510u, HD4400 Realtek 0x10ec0282, but it doesn’t auto detect when I have to plugin the headphone which is inconvenient sometimes. I found the patched on InsanelyMac.com kext that works well, but I still have to patch the DSDT to get it working. The result is only has 2 ports, input and output, NO mic or speaker external options, when you plugin, it will change accordingly (NO HDMI).

AppleHDA

 Copy the original AppleHDA.kext somewhere in case you need to use it, always.

– Install AppleHDA.kext from the download using Kexthelper or Kext wizard.

Add the patch fix_irq from Rehabman and hdef patch to id layout 12 to 3.

IRQ_fix patch

To get the HDMI to work, patched AppleHDA.kext must work then edit the Clover config.plist to add

<key>Devices</key>
<dict>
<key>Audio</key>
<dict>
<key>Inject</key>
<string>12</string>
</dict>
</dict>

<key>KernelAndKextPatches</key>
<dict>
<key>AppleRTC</key>
<true/>
<key>AsusAICPUPM</key>
<true/>
<key>Debug</key>
<false/>
<key>KernelCpu</key>
<false/>
<key>KernelHaswellE</key>
<false/>
<key>KernelLapic</key>
<true/>
<key>KernelPm</key>
<true/>
<key>KextsToPatch</key>
<array>
<dict>
<key>Comment</key>
<string>HDMI-audio, port 0105, 0x0a260005 0x0a260006, 0x0d220003, 0x0a2e000a, 0x0a26000a</string>
<key>Name</key>
<string>AppleIntelFramebufferAzul</string>
<key>Find</key>
<data>AQUJAAAEAACHAAAA</data>
<key>Replace</key>
<data>AQUJAAAIAACHAAAA</data>
</dict>
<dict>
<key>Comment</key>
<string>HDMI-audio, port 0204, 0x0a260005 0x0a260006</string>
<key>Name</key>
<string>AppleIntelFramebufferAzul</string>
<key>Find</key>
<data>AgQJAAAEAACHAAAA</data>
<key>Replace</key>
<data>AgQJAAAIAACHAAAA</data>
</dict>
<dict>
<key>Comment</key>
<string>HDMI-audio, port 0105, 0x0a2e0008, 0x0a16000c, 0x0a2e000d, 0x0a26000d</string>
<key>Name</key>
<string>disabled:AppleIntelFramebufferAzul</string>
<key>Find</key>
<data>AQUJAAAEAAAHAQAA</data>
<key>Replace</key>
<data>AQUJAAAIAAAHAQAA</data>
</dict>
</array>
</dict>

Leave a Reply

Your email address will not be published. Required fields are marked *