RehabMan/EAPD-Codec-Commander — pull request #1 by robvanoostenrijk (2014-11-08 12:51:04+00:00)
Title: Refactoring & Custom Commands

Rehabman,

I refactored CodecCommander to split it out into 3 separate functional units:
* CodecCommander (Core kext)
* IntelHDA (Intel High Definition Audio codec interface)
* Configuration (Configuration interface to read default and/or platform specific configuration data)

Additionally I added the ability to have "Custom Commands" execute.
This allows advanced users to configure custom verbs (including payload) to be sent in the following events:
* On Init
* On Wake
* On Sleep

This allows for use cases such as seen over here:
http://xps13-9333.appspot.com/root/usr/local/bin/white_noise_fix.py

Headset white-noise for ALC668 can be fixed by sending custom verbs to put the amplifier widgets in the right states.

Please merge these changes upstream, if useful they can be merged to Dolnor's fork also.