##1.记下有用的数据
Address: 2
Vendor Id: 0x10ec0892
##2.从codec_dump.txt中获取NODE,PIN Default,NAME,Color数据
NODE Pin Default Name Color
0x11 0x99430130 [Fixed] SPDIF Out at Int ATAPI Unknown
0x12 0x4037c540 [N/A] CD at Ext N/A Unknown
0x14 0x01014010 [Jack] Line Out at Ext Rear Green
0x15 0x01011012 [Jack] Line Out at Ext Rear Black
0x16 0x01016011 [Jack] Line Out at Ext Rear Orange
0x17 0x411111f0 [N/A] Speaker at Ext Rear Black
0x18 0x01a19050 [Jack] Mic at Ext Rear Pink
0x19 0x02a19060 [Jack] Mic at Ext Front Pink
0x1a 0x0181305f [Jack] Line In at Ext Rear Blue
0x1b 0x02214020 [Jack] HP Out at Ext Front Green
0x1c 0x411111f0 [N/A] Speaker at Ext Rear Black
0x1d 0x4045e601 [N/A] SPDIF Out at Ext N/A White
0x1e 0x01452140 [Jack] SPDIF Out at Ext Rear Grey
0x1f 0x99c30170 [Fixed] SPDIF In at Int ATAP Unknown
##3.Pin default中的数字以两个为一组进行前后顺序对换
NODE Pin Default Name Color
11 30 01 43 99 [Fixed] SPDIF Out at Int ATAPI Unknown
12 X 40 c5 37 40 [N/A] CD at Ext N/A Unknown
14 10 40 01 01 [Jack] Line Out at Ext Rear Green
15 12 10 01 01 [Jack] Line Out at Ext Rear Black
16 11 60 01 01 [Jack] Line Out at Ext Rear Orange
17 X f0 11 11 41 [N/A] Speaker at Ext Rear Black
18 50 90 a1 01 [Jack] Mic at Ext Rear Pink
19 60 90 a1 02 [Jack] Mic at Ext Front Pink
1a 5f 30 81 01 [Jack] Line In at Ext Rear Blue
1b 20 40 21 02 [Jack] HP Out at Ext Front Green
1c X f0 11 11 41 [N/A] Speaker at Ext Rear Black
1d X 01 e6 45 40 [N/A] SPDIF Out at Ext N/A White
1e 40 21 45 01 [Jack] SPDIF Out at Ext Rear Grey
1f 70 01 c3 99 [Fixed] SPDIF In at Int ATAP Unknown
##以上的数据中带[N/A]的为无用值
##4.修正PIN Default值
NODE Pin Default Name Color
11 30 01 43 99 [Fixed] SPDIF Out at Int ATAPI Unknown
14 10 40 01 01 [Jack] Line Out at Ext Rear Green
15 12 10 01 01 [Jack] Line Out at Ext Rear Black
16 11 60 01 01 [Jack] Line Out at Ext Rear Orange
18 50 90 a1 01 [Jack] Mic at Ext Rear Pink
19 60 90 a1 02 [Jack] Mic at Ext Front Pink
1a 5f 30 81 01 [Jack] Line In at Ext Rear Blue
1b 20 40 21 02 [Jack] HP Out at Ext Front Green
1e 40 21 45 01 [Jack] SPDIF Out at Ext Rear Grey
1f 70 01 c3 99 [Fixed] SPDIF In at Int ATAP Unknown
##5.针对每一个数进修正为苹果能接受的数值
###修正了第一位数:1.MIC 2.Line In 3.SPDIF In 4.IntSpeaker 5.Headphone
6.Line Out 7.SPDIF Out 8.ExtMIC
NODE Pin Default Name Color
11 70 01 43 99 [Fixed] SPDIF Out at Int ATAPI Unknown
14 40 40 01 01 [Jack] Line Out at Ext Rear Green
15 42 10 01 01 [Jack] Line Out at Ext Rear Black
16 61 60 01 01 [Jack] Line Out at Ext Rear Orange
18 10 90 a1 01 [Jack] Mic at Ext Rear Pink
19 20 90 a1 02 [Jack] Mic at Ext Front Pink
1a 2f 30 81 01 [Jack] Line In at Ext Rear Blue
1b 50 40 21 02 [Jack] HP Out at Ext Front Green
1e 70 21 45 01 [Jack] SPDIF Out at Ext Rear Grey
1f 30 01 c3 99 [Fixed] SPDIF In at Int ATAP Unknown
###第二位数是指序列,也就在位于同开关群组中使用装置的优先顺序
一般情况皆为0,只有在设定多声道情况下:
0.后左与后右声道 1.中央与重低音声道 2前左与前右声道
NODE Pin Default Name Color
11 70 01 43 99 [Fixed] SPDIF Out at Int ATAPI Unknown
14 42 40 01 01 [Jack] Line Out at Ext Rear Green intspeaker
15 40 10 01 01 [Jack] Line Out at Ext Rear Black intspeaker
16 41 60 01 01 [Jack] Line Out at Ext Rear Orange intspeaker
18 10 90 a1 01 [Jack] Mic at Ext Rear Pink
19 20 90 a1 02 [Jack] Mic at Ext Front Pink ##前置MIC必须为2,否则不工作。
1a 20 30 81 01 [Jack] Line In at Ext Rear Blue
1b 50 40 21 02 [Jack] HP Out at Ext Front Green
1e 70 21 45 01 [Jack] SPDIF Out at Ext Rear Grey
1f 30 01 c3 99 [Fixed] SPDIF In at Int ATAP Unknown
###第三位数字定义插孔的颜色:
0.Unknown 1.Black 2.Grey 3.Blue 4.Green 5.Red 6.Orange
7.Yellow 8.Purple 9.Pink E.White F.Other
NODE Pin Default Name Color
11 70 01 43 99 [Fixed] SPDIF Out at Int ATAPI Unknown
14 42 00 01 01 [Jack] Line Out at Ext Rear Green intspeaker
15 40 00 01 01 [Jack] Line Out at Ext Rear Black intspeaker
16 41 00 01 01 [Jack] Line Out at Ext Rear Orange intspeaker
18 10 00 a1 01 [Jack] Mic at Ext Rear Pink
19 20 90 a1 02 [Jack] Mic at Ext Front Pink
1a 20 30 81 01 [Jack] Line In at Ext Rear Blue
1b 50 40 21 02 [Jack] HP Out at Ext Front Green
1e 70 21 45 01 [Jack] SPDIF Out at Ext Rear Grey
1f 30 01 c3 99 [Fixed] SPDIF In at Int ATAP Unknown
###第四位数字设定是否侦测插孔:0.代表要侦测插孔,所以外接设置基本为0
1.代表不侦测,所以内建一般设为1
NODE Pin Default Name Color
11 70 01 43 99 [Fixed] SPDIF Out at Int ATAPI Unknown
14 42 01 01 01 [Jack] Line Out at Ext Rear Green intspeaker
15 40 01 01 01 [Jack] Line Out at Ext Rear Black intspeaker
16 41 01 01 01 [Jack] Line Out at Ext Rear Orange intspeaker
18 10 01 a1 01 [Jack] Mic at Ext Rear Pink
19 20 90 a1 02 [Jack] Mic at Ext Front Pink
1a 20 30 81 01 [Jack] Line In at Ext Rear Blue
1b 50 40 21 02 [Jack] HP Out at Ext Front Green
1e 70 21 45 01 [Jack] SPDIF Out at Ext Rear Grey
1f 30 01 c3 99 [Fixed] SPDIF In at Int ATAP Unknown
###第五位数是设定装置类型,基本上除了被改为INTSPEAKER的装置要修改外,屏蔽
的装置记得要设为0,其余的保持原状。
0=line out 1=speaker 2=hp out 3=cd atapi
4=spdit out 5=digital out 8=line in A=mic C=spdif in F=other
NODE Pin Default Name Color
11 70 01 43 99 [Fixed] SPDIF Out at Int ATAPI Unknown
14 42 01 11 01 [Jack] Line Out at Ext Rear Green intspeaker
15 40 01 11 01 [Jack] Line Out at Ext Rear Black intspeaker
16 41 01 11 01 [Jack] Line Out at Ext Rear Orange intspeaker
18 10 01 a1 01 [Jack] Mic at Ext Rear Pink
19 20 90 81 02 [Jack] Mic at Ext Front Pink
1a 20 30 81 01 [Jack] Line In at Ext Rear Blue
1b 50 40 21 02 [Jack] HP Out at Ext Front Green
1e 70 21 45 01 [Jack] SPDIF Out at Ext Rear Grey
1f 30 01 c3 99 [Fixed] SPDIF In at Int ATAP Unknown
###第六位数字是连接类型,一般小圆孔设为1,SPDIT有可能是5或者b,而内接装置可
以设为0. 0=Unknown 1=1/8 Stereo/mono 3=atapi internal 4=RCA 5=optical
6=digital B=combination F=other
NODE Pin Default Name Color
11 70 01 43 99 [Fixed] SPDIF Out at Int ATAPI Unknown
14 42 01 10 01 [Jack] Line Out at Ext Rear Green intspeaker
15 40 01 10 01 [Jack] Line Out at Ext Rear Black intspeaker
16 41 01 10 01 [Jack] Line Out at Ext Rear Orange intspeaker
18 10 01 a0 01 [Jack] Mic at Ext Rear Pink
19 20 90 81 02 [Jack] Mic at Ext Front Pink
1a 20 30 81 01 [Jack] Line In at Ext Rear Blue
1b 50 40 21 02 [Jack] HP Out at Ext Front Green
1e 70 21 45 01 [Jack] SPDIF Out at Ext Rear Grey
1f 30 01 c3 99 [Fixed] SPDIF In at Int ATAP Unknown
###第七位数字是指是否有插孔及插孔的位置 外接的为0 内建装置设为9 屏蔽为4
NODE Pin Default Name Color
11 70 01 43 99 [Fixed] SPDIF Out at Int ATAPI Unknown
14 42 01 10 91 [Jack] Line Out at Ext Rear Green intspeaker
15 40 01 10 91 [Jack] Line Out at Ext Rear Black intspeaker
16 41 01 10 91 [Jack] Line Out at Ext Rear Orange intspeaker
18 10 01 a0 91 [Jack] Mic at Ext Rear Pink
19 20 90 81 02 [Jack] Mic at Ext Front Pink
1a 20 30 81 01 [Jack] Line In at Ext Rear Blue
1b 50 40 21 02 [Jack] HP Out at Ext Front Green
1e 70 21 45 01 [Jack] SPDIF Out at Ext Rear Grey
1f 30 01 c3 99 [Fixed] SPDIF In at Int ATAP Unknown
###第八位数字是指插孔所在位置 除了内建和屏蔽的设为0外,其余设为1
NODE Pin Default Name Color
11 70 01 43 90 [Fixed] SPDIF Out at Int ATAPI Unknown
14 42 01 10 90 [Jack] Line Out at Ext Rear Green intspeaker
15 40 01 10 90 [Jack] Line Out at Ext Rear Black intspeaker
16 41 01 10 90 [Jack] Line Out at Ext Rear Orange intspeaker
18 10 01 a0 90 [Jack] Mic at Ext Rear Pink
19 20 90 81 01 [Jack] Mic at Ext Front Pink
1a 20 30 81 01 [Jack] Line In at Ext Rear Blue
1b 50 40 21 01 [Jack] HP Out at Ext Front Green
1e 70 21 45 01 [Jack] SPDIF Out at Ext Rear Grey
1f 30 01 c3 90 [Fixed] SPDIF In at Int ATAP Unknown
##6.转换为CONFIG值 address+node+71c/d/e/f
21171c70 21171d01 21171e43 21171f90 21471c42 21471d01 21471e10 21471f90 21571c40 21571d01 21571e10 21571f90 21671c41 21671d01 21671e10 21671f90 21871c10 21871d01 21871ea0 21871f90
21971c20 21971d90 21971e81 21971f01 21a71c20 21a71d30 21a71e81 21a71f01 21b71c50 21b71d40 21b71e21 21b71f01 21e71c70 21e71d21 21e71e45 21e71f01 21f71c30 21f71d01 21f71ec3 21f71f90