-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathtiny_hw.xml
99 lines (84 loc) · 2.94 KB
/
tiny_hw.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!-- TinyHAL configuration file for LGE V909 G-Slate -->
<tinyhal>
<!-- We are able to have most of our routing static so do that -->
<path>
<!-- Try to initialize the echo canceler to bypass -->
<ctl name="Echo Cancel Bypass" val="1" />
<ctl name="Jack Function" val="5" />
<!-- AIF1->DAC1 -->
<ctl name="DAC1 Switch" val="1" />
<ctl name="DAC1L Mixer AIF1.1 Switch" val="1" />
<ctl name="DAC1R Mixer AIF1.1 Switch" val="1" />
<!-- DAC1->Headphone -->
<ctl name="Left Headphone Mux" val="DAC" />
<ctl name="Right Headphone Mux" val="DAC" />
<!-- DAC1->Speaker -->
<ctl name="SPKL DAC1 Switch" val="1" />
<ctl name="SPKR DAC1 Switch" val="1" />
<ctl name="SPKL Boost SPKL Switch" val="1" />
<ctl name="SPKR Boost SPKR Switch" val="1" />
<ctl name="Speaker Mixer Volume" val="2" />
<ctl name="Speaker Boost Volume" val="5" />
<!-- IN1LN/P (headset mic) -> IN1L PGA with +30dB -->
<ctl name="IN1L PGA IN1LP Switch" val="0" />
<ctl name="IN1L PGA IN1LN Switch" val="0" />
<ctl name="MIXINL IN1L Volume" val="1" />
<ctl name="IN1L Switch" val="1" />
<ctl name="IN1L Volume" val="23" />
<!-- IN1RN/P (main mic) -> IN1R PGA with +30dB -->
<ctl name="IN1R PGA IN1RP Switch" val="0" />
<ctl name="IN1R PGA IN1RN Switch" val="0" />
<ctl name="MIXINR IN1R Volume" val="1" />
<ctl name="IN1R Switch" val="1" />
<ctl name="IN1R Volume" val="23" />
<!-- ADC -> AIF1 -->
<ctl name="AIF1ADC1L Mixer ADC/DMIC Switch" val="1" />
<ctl name="AIF1ADC1R Mixer ADC/DMIC Switch" val="1" />
</path>
<device name="speaker">
<path name="on">
<ctl name="Speaker Switch" val="1" />
</path>
<path name="off">
<ctl name="Speaker Switch" val="0" />
</path>
</device>
<device name="headphone">
<path name="on">
<ctl name="Headphone Switch" val="1" />
</path>
<path name="off">
<ctl name="Headphone Switch" val="0" />
</path>
</device>
<device name="headset">
<path name="on">
<ctl name="MIXINL IN1L Switch" val="1" />
<ctl name="IN1L PGA IN1LN Switch" val="1" />
<ctl name="AIF1ADCL Source" val="0" />
<ctl name="AIF1ADCR Source" val="0" />
</path>
<path name="off">
<ctl name="MIXINL IN1L Switch" val="0" />
<ctl name="IN1L PGA IN1LN Switch" val="0" />
<ctl name="AIF1ADCR Source" val="1" />
</path>
</device>
<device name="builtin-mic">
<path name="on">
<ctl name="Jack Function" val="0" />
<ctl name="MIXINR IN1R Switch" val="1" />
<ctl name="IN1R PGA IN1RN Switch" val="1" />
<ctl name="AIF1ADCL Source" val="1" />
<ctl name="AIF1ADCR Source" val="1" />
<ctl name="Jack Function" val="5" />
</path>
<path name="off">
<ctl name="MIXINR IN1R Switch" val="0" />
<ctl name="IN1R PGA IN1RN Switch" val="0" />
<ctl name="AIF1ADCL Source" val="0" />
</path>
</device>
<device name="hdmi" alsa_device="1">
</device>
</tinyhal>