Chapter 3 : Calulating PathMaps for AppleHDA
For calculating the PathMaps, we have to carefully follow the connections mentioned in every node from the analyzed relevant nodes information in the Final Pinconfig or Verb Commands::
Now open codec_dump_dec.txt.svg from CodecGraph folder ..
For output Devices, the PathMap follows this pattern
We have to find a Pin Complex node, an Audio Mixer node (optional for some codecs) and finally an Audio output node.
NOTE: If both Pin Complex nodes have connection to same Audio output node then try to use the other output node we analyzed from codec dump and test. sometimes using same output node for both also works.
For Input Devices, the PathMap follow this pattern
We have to find a Pin Complex node, an Audio Mixer/Selector node (optional for some codecs) and finally an Audio input node.
PathMaps for the Output and Input Devices of ALC887-VD:
Speaker : 20-> 12-> 2 HeadPhone : 27-> 15-> 5 Internal Mic : 8-> 35-> 26 External Mic : 9-> 34-> 24 Digital Output :30-6