The actual command is specified in any of the plist editors (don't try deciphering base64 as is), be it Xcode or PlistEdit. You can opt to execute the command on cold boot, on sleep and on wake by setting respective flags.
Profiles
The easiest way to create profiles, again, is via a proper plist editing tool, opposed to notepad or similar.
You have to define a new profile, which is vendorid_deviceid, followed by profile Name
<key>10ec_0269</key>
<string>Realtek ALC269</string>
If there's already a profile for your codec, but you have a different variant and that config doesn't suite you, then you can use extended profile definition like this
<key>10ec_0269_HDA_1028_04d9</key>
<string>Realtek ALC269</string>
which uses the subvendor id of your board as well. To know your subvendor you can look in IORegistry or log in Console for the log of CC:
CodecCommander: Version 2.4.0 starting.
CodecCommander: ....CodecVendor Id: 0x10ec0269
CodecCommander: ....Codec Address: 0
CodecCommander: ....Subsystem Id: 0x102804d9
CodecCommander: ....PCI Sub Id: 0x102804d9
Then, to set up a profile you need to create a dictionary referencing the name you just assigned.
Default profile is merged with your custom profile, so all you have to do is override the setting that you don't feel like suite your codec with default values configured.
<key>Realtek ALC269VB</key>
<dict>
<key>Custom Commands</key>
<array>
<dict>
<key>Command</key>
<data>AhcIgw==</data>
<key>Comment</key>
<string>0x21 SET_UNSOLICITED_ENABLE 0x83</string>
<key>On Init</key>
<true/>
<key>On Sleep</key>
<false/>
<key>On Wake</key>
<true/>
</dict>
</array>
<key>Send Delay</key>
<integer>20</integer>
<key>Sleep Nodes</key>
<false/>
</dict>
复制代码
已经按照其增加我的节点,但是依旧无效,我的codec:
Codec: Intel Haswell HDMI
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x80862807
Subsystem Id: 0x80860101
Revision Id: 0x100000
No Modem Function Group found
Default PCM:
rates [0x0]:
bits [0x0]:
formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
Power states: D0 D3 CLKSTOP EPSS
Power: setting=D0, actual=D0, Clock-stop-OK
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x02 [Audio Output] wcaps 0x6611: 8-Channels Digital