This is a fixed Version of AppleHDA.kext for Gigabyte GA-Z77X-UD3H with Mac OS 10.7.4,
maybe it works for some other Mainboards with VIA VT2020/VT2021 too.
It is based on the work of VCH888, so all credits go to him, and of course the people he wants to give credits to.
In the attachement you will find a modified Version of AppleHDA.kext based on AppleHDA.kext from 10.7.4
The file was bin-patched, so you will just need a DSDT-Edit with Layout ID 12, no other Enablers are needed.
Layout12.xml, Platforms.xml and Info.plist in AppleHDAHardwareConfigDriver.kext have been modified and AppleHDA has been patched
Verbs for the Inputs/Outputs that do not work have been removed from AppleHDAHardwareConfigDriver.kext so they wont show up in System Profiler.
+ The System Profiler will only show the Inputs and Outputs that are actually working (for now)
+ SPDIF-Out works
+ Green Rear works (shown as Internal Speaker) / Green Front works (shown as Headphones)
+ Grey Rear works as Line Out
+ Black Rear works as Line Out
+ Blue Rear works as Line In
+ Connecting Headphones to Green Front mutes Green Rear
- Pink Front works only as Line In (no support for Headset/active Microphones) yet
- Pink Rear does not work (could not get Pink Front and Rear to work at the same time)
- Orange Rear does not work at all (tried everthing, i was unable to find the right path)
NOTE: If you use VoodooHDA.kext remove it before you use AppleHDA.kext, and make sure you have rebooted your Machine before installing AppleHDA.kext.