forked from CyanogenMod/android_device_acer_t30-common
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tiny_hw.xml
85 lines (78 loc) · 3.29 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
<!-- TinyHAL configuration file for Acer A700/A510 -->
<tinyhal>
<path>
<ctl name="Left Input PGA Switch" val="1" />
<ctl name="Left Input PGA Volume" val="28" />
<ctl name="Left Input PGA Common Mode Switch" val="0" />
<ctl name="Right Input PGA Switch" val="1" />
<ctl name="Right Input PGA Volume" val="28" />
<ctl name="Right Input PGA Common Mode Switch" val="0" />
<ctl name="Left Input PGA Volume" val="13" />
<ctl name="HPF Switch" val="1" />
<ctl name="HPF Mode" val="Voice 1" />
<ctl name="Right Input Mode Mux" val="Differential Mic" />
<ctl name="Right Input Inverting Mux" val="IN2R" />
<ctl name="Right Input Mux" val="IN3R" />
<ctl name="Left Input Mode Mux" val="Differential Mic" />
<ctl name="Left Input Inverting Mux" val="IN2L" />
<ctl name="Left Input Mux" val="IN3L" />
<ctl name="Mic Bias Switch" val="0" />
<ctl name="Headphone Volume" val="48" />
<ctl name="Speaker Volume" val="63" />
<ctl name="Speaker Switch" val="1" />
</path>
<device name="speaker" alsa_card="1">
<path name="on">
<ctl name="Int Spk Switch" val="1" />
<ctl name="Right Speaker Mixer DACR Switch" val="1" />
<ctl name="Left Speaker Mixer DACL Switch" val="1" />
</path>
<path name="off">
<ctl name="Int Spk Switch" val="0" />
<ctl name="Right Speaker Mixer DACR Switch" val="0" />
<ctl name="Left Speaker Mixer DACL Switch" val="0" />
</path>
</device>
<!-- Headphone and headset output -->
<device name="headphone" alsa_card="1">
<path name="on">
<ctl name="Headphone Switch" val="1" />
<ctl name="Headphone Jack Switch" val="1" />
</path>
<path name="off">
<ctl name="Headphone Switch" val="0" />
<ctl name="Headphone Jack Switch" val="0" />
</path>
</device>
<!-- This is headset mic, not output -->
<device name="headset" alsa_card="1">
<path name="on">
<ctl name="Left Input Mode Mux" val="Single-Ended" />
<ctl name="Left Input Inverting Mux" val="IN1L" />
<ctl name="Right Input Mode Mux" val="Single-Ended" />
<ctl name="Right Input Inverting Mux" val="IN1R" />
<ctl name="Mic Jack Switch" val="1"/>
</path>
<path name="off">
<ctl name="Mic Jack Switch" val="0"/>
</path>
</device>
<device name="builtin-mic" alsa_card="1">
<path name="on">
<ctl name="Left Input Mode Mux" val="Differential Mic"/>
<ctl name="Left Input Inverting Mux" val="IN2L"/>
<ctl name="Left Input Mux" val="IN3L"/>
<ctl name="Right Input Mode Mux" val="Differential Mic"/>
<ctl name="Right Input Inverting Mux" val="IN2R"/>
<ctl name="Right Input Mux" val="IN3R"/>
<ctl name="Int Mic Switch" val="1" />
<ctl name="Mic Bias Switch" val="1" />
</path>
<path name="off">
<ctl name="Int Mic Switch" val="0" />
<ctl name="Mic Bias Switch" val="0" />
</path>
</device>
<device name="hdmi" alsa_card="0" alsa_device="3">
</device>
</tinyhal>