summaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authorcodeworkx <daniel.hillenbrand@codeworkx.de>2012-06-19 17:09:37 +0200
committercodeworkx <daniel.hillenbrand@codeworkx.de>2012-06-19 17:09:37 +0200
commit8491c6589d3a33145431f7216bcc65c4c30d83ac (patch)
tree7d0f84f8e365ccce15c919d0ec7483aca107f89d /configs
parent055fe03a1416bbebd52c833df546e934771aeeaf (diff)
downloaddevice_samsung_i9300-8491c6589d3a33145431f7216bcc65c4c30d83ac.zip
device_samsung_i9300-8491c6589d3a33145431f7216bcc65c4c30d83ac.tar.gz
device_samsung_i9300-8491c6589d3a33145431f7216bcc65c4c30d83ac.tar.bz2
i9300: added default_gain.conf for audio
Change-Id: I6b2027c4aabf58a850c07cfe9707574c7ba996f4
Diffstat (limited to 'configs')
-rw-r--r--configs/default_gain.conf2738
1 files changed, 2738 insertions, 0 deletions
diff --git a/configs/default_gain.conf b/configs/default_gain.conf
new file mode 100644
index 0000000..63b60df
--- /dev/null
+++ b/configs/default_gain.conf
@@ -0,0 +1,2738 @@
+#Output Modifier Stage
+#Normal, Incall, Ringtone, Incommunication
+
+#Modifier: Normal
+
+Modifier "Normal" {
+ SupportedDevice {
+ "Earpiece"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 57 },
+ { "Earpiece Volume", 1 },
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 57 },
+ { "Earpiece Volume", 1 },
+ }
+}
+
+Modifier "Normal" {
+ SupportedDevice {
+ "Speaker"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 3 },
+ { "Speaker Boost Volume", 4 },
+ { "Speaker Volume", 57},
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 0 },
+ { "Speaker Volume", 57 },
+ { "Speaker Boost Volume", 0 },
+ }
+}
+
+Modifier "Normal" {
+ SupportedDevice {
+ "Headset Out"
+ }
+ Enable {
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Headphone Volume", 50 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 50 },
+ }
+}
+
+Modifier "Normal" {
+ SupportedDevice {
+ "Headphone"
+ }
+ Enable {
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Headphone Volume", 50 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 45 },
+ }
+}
+
+Modifier "Normal" {
+ SupportedDevice {
+ "SCO"
+ }
+ Enable {
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+}
+
+Modifier "Normal" {
+ SupportedDevice {
+ "SCO Headset Out"
+ }
+ Enable {
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+}
+
+Modifier "Normal" {
+ SupportedDevice {
+ "SCO Carkit"
+ }
+ Enable {
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+}
+
+Modifier "Normal" {
+ SupportedDevice {
+ "Analogue Dock Out"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 55 },
+ { "Earpiece Volume", 1 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 57 },
+ { "LINEOUT2 Volume", 1 },
+ }
+}
+
+Modifier "Normal" {
+ SupportedDevice {
+ "AUX Digital Out"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 0 },
+ { "Speaker Volume", 57 },
+ { "Speaker Boost Volume", 0 },
+ }
+}
+
+#Modifier : Incall
+Modifier "Incall" {
+ SupportedDevice {
+ "Earpiece"
+ }
+ Enable {
+ { "AIF2DAC2L Mixer AIF2 Switch", 0 },
+ { "AIF2DAC2R Mixer AIF2 Switch", 0 },
+ { "AIF2ADC HPF Mode", 1 },
+ { "AIF2ADC HPF Switch", 1 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 57 },
+ { "Earpiece Volume", 1 },
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 61 },
+ { "Earpiece Volume", 1 },
+ }
+}
+
+Modifier "Incall" {
+ SupportedDevice {
+ "Speaker"
+ }
+ Enable {
+ { "AIF2DAC2L Mixer AIF2 Switch", 0 },
+ { "AIF2DAC2R Mixer AIF2 Switch", 0 },
+ { "AIF2ADC HPF Mode", 1 },
+ { "AIF2ADC HPF Switch", 1 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 3 },
+ { "Speaker Boost Volume", 5 },
+ { "Speaker Volume", 57 },
+ }
+ Disable {
+ { "AIF2DAC Volume", 96 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 0 },
+ { "SPKR DAC1 Volume", 0 },
+ { "Speaker Mixer Volume", 0 },
+ { "Speaker Volume", 57 },
+ { "Speaker Boost Volume", 0 },
+ }
+}
+
+Modifier "Incall" {
+ SupportedDevice {
+ "Headset Out"
+ }
+ Enable {
+ { "AIF2DAC2L Mixer AIF2 Switch", 0 },
+ { "AIF2DAC2R Mixer AIF2 Switch", 0 },
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 49 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 45 },
+ }
+}
+
+Modifier "Incall" {
+ SupportedDevice {
+ "Headphone"
+ }
+ Enable {
+ { "AIF2DAC2L Mixer AIF2 Switch", 0 },
+ { "AIF2DAC2R Mixer AIF2 Switch", 0 },
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 49 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 45 },
+ }
+}
+
+Modifier "Incall" {
+ SupportedDevice {
+ "SCO"
+ }
+ Enable {
+ { "AIF2DAC2L Mixer AIF2 Switch", 1 },
+ { "AIF2DAC2R Mixer AIF2 Switch", 1 },
+ { "AIF2DAC Volume", 96 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "AIF2DAC Volume", 96 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ { "Speaker Mixer Volume", 0 },
+ { "Speaker Volume", 0 },
+ }
+}
+
+Modifier "Incall" {
+ SupportedDevice {
+ "SCO Headset Out"
+ }
+ Enable {
+ { "AIF2DAC2L Mixer AIF2 Switch", 1 },
+ { "AIF2DAC2R Mixer AIF2 Switch", 1 },
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+}
+
+Modifier "Incall" {
+ SupportedDevice {
+ "SCO Carkit"
+ }
+ Enable {
+ { "AIF2DAC2L Mixer AIF2 Switch", 1 },
+ { "AIF2DAC2R Mixer AIF2 Switch", 1 },
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+}
+
+#Modifier: Ringtone
+Modifier "Ringtone" {
+ SupportedDevice {
+ "Earpiece"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 57 },
+ { "Earpiece Volume", 1 },
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 57 },
+ { "Earpiece Volume", 1 },
+ }
+}
+
+Modifier "Ringtone" {
+ SupportedDevice {
+ "Speaker"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 3 },
+ { "Speaker Boost Volume", 4 },
+ { "Speaker Volume", 57 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 0 },
+ { "Speaker Volume", 57 },
+ { "Speaker Boost Volume", 0 },
+ }
+}
+
+Modifier "Ringtone" {
+ SupportedDevice {
+ "Headset Out"
+ }
+ Enable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 23 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 45 },
+ }
+}
+
+Modifier "Ringtone" {
+ SupportedDevice {
+ "Headphone"
+ }
+ Enable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 23},
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Headphone Volume", 45 },
+ }
+}
+
+Modifier "Ringtone" {
+ SupportedDevice {
+ "SCO"
+ }
+ Enable {
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+}
+
+Modifier "Ringtone" {
+ SupportedDevice {
+ "SCO Headset Out"
+ }
+ Enable {
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+}
+
+Modifier "Ringtone" {
+ SupportedDevice {
+ "SCO Carkit"
+ }
+ Enable {
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+}
+
+Modifier "Ringtone" {
+ SupportedDevice {
+ "Analogue Dock Out"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 57 },
+ { "Earpiece Volume", 1 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 57 },
+ { "LINEOUT1 Volume", 1 },
+ }
+}
+
+Modifier "Dual Normal" {
+ SupportedDevice {
+ "Speaker"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 3 },
+ { "Speaker Boost Volume", 4 },
+ { "Speaker Volume", 57 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 0 },
+ { "Speaker Volume", 57 },
+ { "Speaker Boost Volume", 0 },
+ }
+}
+
+Modifier "Dual Normal" {
+ SupportedDevice {
+ "Headset Out"
+ }
+ Enable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 32 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 23 },
+ }
+}
+
+Modifier "Dual Normal" {
+ SupportedDevice {
+ "Headphone"
+ }
+ Enable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 32 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 23 },
+ }
+}
+
+Modifier "Dual Ringtone" {
+ SupportedDevice {
+ "Speaker"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 3 },
+ { "Speaker Boost Volume", 4 },
+ { "Speaker Volume", 57 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 0 },
+ { "Speaker Volume", 57 },
+ { "Speaker Boost Volume", 0 },
+ }
+}
+
+Modifier "Dual Ringtone" {
+ SupportedDevice {
+ "Headset Out"
+ }
+ Enable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 32 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 23 },
+ }
+}
+
+Modifier "Dual Ringtone" {
+ SupportedDevice {
+ "Headphone"
+ }
+ Enable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 32 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 23 },
+ }
+}
+
+Modifier "Incommunication" {
+ SupportedDevice {
+ "Earpiece"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 57 },
+ { "Earpiece Volume", 1 },
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 57 },
+ { "Earpiece Volume", 1 },
+ }
+}
+
+Modifier "Incommunication" {
+ SupportedDevice {
+ "Speaker"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 3 },
+ { "Speaker Boost Volume", 4 },
+ { "Speaker Volume", 57 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 0 },
+ { "Speaker Volume", 56 },
+ { "Speaker Boost Volume", 0 },
+ }
+}
+
+Modifier "Incommunication" {
+ SupportedDevice {
+ "Headset Out"
+ }
+ Enable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 45 },
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 45 },
+ }
+}
+
+Modifier "Incommunication" {
+ SupportedDevice {
+ "Headphone"
+ }
+ Enable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 45 },
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 45 },
+ }
+}
+
+Modifier "Incommunication" {
+ SupportedDevice {
+ "SCO"
+ }
+ Enable {
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+}
+
+Modifier "Incommunication" {
+ SupportedDevice {
+ "SCO Headset Out"
+ }
+ Enable {
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+}
+
+Modifier "Incommunication" {
+ SupportedDevice {
+ "SCO Carkit"
+ }
+ Enable {
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+}
+
+
+Modifier "Incommunication" {
+ SupportedDevice {
+ "Analogue Dock Out"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 57 },
+ { "Earpiece Volume", 1 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 57 },
+ { "LINEOUT2 Volume", 1 },
+ }
+}
+
+Modifier "Voipout" {
+ SupportedDevice {
+ "Earpiece"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 56 },
+ { "Earpiece Volume", 1 },
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 57 },
+ { "Earpiece Volume", 1 },
+ }
+}
+
+Modifier "Voipout" {
+ SupportedDevice {
+ "Speaker"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 3 },
+ { "Speaker Boost Volume", 4 },
+ { "Speaker Volume", 57 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 0 },
+ { "Speaker Volume", 56 },
+ { "Speaker Boost Volume", 0 },
+ }
+}
+
+Modifier "Voipout" {
+ SupportedDevice {
+ "Headset Out"
+ }
+ Enable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 45 },
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 45 },
+ }
+}
+
+Modifier "Voipout" {
+ SupportedDevice {
+ "Headphone"
+ }
+ Enable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 45},
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 45 },
+ }
+}
+
+Modifier "Voipout" {
+ SupportedDevice {
+ "SCO"
+ }
+ Enable {
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+}
+
+Modifier "Voipout" {
+ SupportedDevice {
+ "SCO Headset Out"
+ }
+ Enable {
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+}
+
+Modifier "Voipout" {
+ SupportedDevice {
+ "SCO Carkit"
+ }
+ Enable {
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+}
+
+
+Modifier "Voipout" {
+ SupportedDevice {
+ "Analogue Dock Out"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 57 },
+ { "Earpiece Volume", 1 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 57 },
+ { "LINEOUT2 Volume", 1 },
+ }
+}
+
+Modifier "SecVoipout" {
+ SupportedDevice {
+ "Earpiece"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 55 },
+ { "Earpiece Volume", 1 },
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 57 },
+ { "Earpiece Volume", 1 },
+ }
+}
+
+Modifier "SecVoipout" {
+ SupportedDevice {
+ "Speaker"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 3 },
+ { "Speaker Boost Volume", 5 },
+ { "Speaker Volume", 58 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 0 },
+ { "Speaker Volume", 56 },
+ { "Speaker Boost Volume", 0 },
+ }
+}
+
+Modifier "SecVoipout" {
+ SupportedDevice {
+ "Headset Out"
+ }
+ Enable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 49 },
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 45 },
+ }
+}
+
+Modifier "SecVoipout" {
+ SupportedDevice {
+ "Headphone"
+ }
+ Enable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 48},
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 45 },
+ }
+}
+
+Modifier "SecVoipout" {
+ SupportedDevice {
+ "SCO"
+ }
+ Enable {
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+}
+
+Modifier "SecVoipout" {
+ SupportedDevice {
+ "SCO Headset Out"
+ }
+ Enable {
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+}
+
+Modifier "SecVoipout" {
+ SupportedDevice {
+ "SCO Carkit"
+ }
+ Enable {
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+}
+
+
+Modifier "SecVoipout" {
+ SupportedDevice {
+ "Analogue Dock Out"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 57 },
+ { "Earpiece Volume", 1 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 57 },
+ { "LINEOUT2 Volume", 1 },
+ }
+}
+
+#Modifier : FMRadio
+Modifier "FMRadio" {
+ SupportedDevice {
+ "Headset Out"
+ }
+ Enable {
+ { "Headphone ZC Switch", 1 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 88 },
+ { "Left Output Mixer IN2RN Volume", 7 },
+ { "Right Output Mixer IN2RP Volume", 7 },
+ { "Left Output Mixer DAC Volume", 0 },
+ { "Right Output Mixer DAC Volume", 0 },
+ { "Headphone Volume", 63 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "DAC1 Volume", 96 },
+ }
+}
+
+Modifier "FMRadio" {
+ SupportedDevice {
+ "Headphone"
+ }
+ Enable {
+ { "Headphone ZC Switch", 1 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 88 },
+ { "Left Output Mixer IN2RN Volume", 7 },
+ { "Right Output Mixer IN2RP Volume", 7 },
+ { "Left Output Mixer DAC Volume", 0 },
+ { "Right Output Mixer DAC Volume", 0 },
+ { "Headphone Volume", 63 },
+
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "DAC1 Volume", 96 },
+ }
+}
+
+Modifier "FMRadio" {
+ SupportedDevice {
+ "Speaker"
+ }
+ Enable {
+ { "IN2R PGA IN2RP Switch", 0 },
+ { "IN2R Switch", 1},
+ { "MIXINR IN2R Switch", 1},
+ { "IN2R Volume", 24},
+ { "MIXINR IN2R Volume", 0 },
+ { "Right Output Mixer Right Input Switch", 1 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "SPKR Output Volume", 1 },
+ { "Speaker Mixer Volume", 3 },
+ { "Speaker Boost Volume", 4 },
+ { "Speaker Volume", 60 },
+ }
+ Disable {
+ { "IN2R Switch", 0},
+ { "MIXINR IN2R Switch", 0},
+ { "Right Output Mixer Right Input Switch", 0 },
+ }
+}
+
+Modifier "FMRadio" {
+ SupportedDevice {
+ "Analogue Dock Out"
+ }
+ Enable {
+ { "IN2R Switch", 1},
+ { "MIXINR IN2R Switch", 1},
+ { "IN2R Volume", 19},
+ { "MIXINR IN2R Volume", 0 },
+ { "Right Output Mixer Right Input Switch", 1 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "LINEOUT2N Mixer Right Output Switch", 1 },
+ { "LINEOUT2P Mixer Right Output Switch", 1 },
+ { "Output Volume", 55 },
+ }
+ Disable {
+ { "IN2R Switch", 0},
+ { "MIXINR IN2R Switch", 0},
+ { "Right Output Mixer Right Input Switch", 0 },
+ }
+}
+
+Modifier "FMRadio" {
+ SupportedDevice {
+ "FMRadio In"
+ }
+ OutputDevice {
+ "Headset Out"
+ }
+ Enable {
+ { "MIXINL Output Record Volume", 7 },
+ { "MIXINL Output Record Volume", 7 },
+ { "AIF1ADC1 Volume", 119 },
+ }
+ Disable {
+ { "Headphone Volume", 63 },
+ }
+}
+
+Modifier "FMRadio" {
+ SupportedDevice {
+ "FMRadio In"
+ }
+ OutputDevice {
+ "Headphone"
+ }
+ Enable {
+ { "MIXINL Output Record Volume", 7 },
+ { "MIXINL Output Record Volume", 7 },
+ { "AIF1ADC1 Volume", 119 },
+ }
+ Disable {
+ { "Headphone Volume", 63 },
+ }
+}
+
+Modifier "FMRadio" {
+ SupportedDevice {
+ "FMRadio In"
+ }
+ OutputDevice {
+ "Speaker"
+ }
+ Enable {
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "Headphone Volume", 63 },
+ }
+}
+
+#Modifier : FMRadio Mute
+Modifier "FMRadio_Mute" {
+ SupportedDevice {
+ "Headset Out"
+ }
+ Enable {
+ { "Input Clamp", 1 },
+ { "Headphone Volume", 30 },
+ { "Left Output Mixer IN2RN Switch", 0},
+ { "Right Output Mixer IN2RP Switch", 0},
+ { "Headphone Volume", 63 },
+ { "Input Clamp", 0 },
+ }
+ Disable {
+ { "Input Clamp", 1 },
+ { "Headphone Volume", 30},
+ { "Left Output Mixer IN2RN Switch", 1},
+ { "Right Output Mixer IN2RP Switch", 1},
+ { "Headphone Volume", 63},
+ { "Input Clamp", 0 },
+ }
+}
+
+Modifier "FMRadio_Mute" {
+ SupportedDevice {
+ "Headphone"
+ }
+ Enable {
+ { "Input Clamp", 1 },
+ { "Headphone Volume", 30 },
+ { "Left Output Mixer IN2RN Switch", 0},
+ { "Right Output Mixer IN2RP Switch", 0},
+ { "Headphone Volume", 63 },
+ { "Input Clamp", 0 },
+ }
+ Disable {
+ { "Input Clamp", 1 },
+ { "Headphone Volume", 30},
+ { "Left Output Mixer IN2RN Switch", 1},
+ { "Right Output Mixer IN2RP Switch", 1},
+ { "Headphone Volume", 63},
+ { "Input Clamp", 0 },
+ }
+}
+
+Modifier "FMRadio_Mute" {
+ SupportedDevice {
+ "Speaker"
+ }
+ Enable {
+ { "Right Output Mixer Right Input Switch", 0 },
+ { "Right Output Mixer Right Input Switch", 0 },
+ }
+ Disable {
+ { "Right Output Mixer Right Input Switch", 1 },
+ { "Right Output Mixer Right Input Switch", 1 },
+ }
+}
+
+#Modifier : Loopback
+Modifier "Loopback" {
+ SupportedDevice {
+ "Earpiece"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 57 },
+ { "Earpiece Volume", 1 },
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 57 },
+ { "Earpiece Volume", 1 },
+ }
+}
+
+Modifier "Loopback" {
+ SupportedDevice {
+ "Speaker"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 3 },
+ { "Speaker Boost Volume", 4 },
+ { "Speaker Volume", 62 },
+ }
+ Disable {
+ { "AIF2DAC Volume", 96 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 0 },
+ { "SPKR DAC1 Volume", 0 },
+ { "Speaker Mixer Volume", 0 },
+ { "Speaker Volume", 60 },
+ { "Speaker Boost Volume", 0 },
+ }
+}
+
+Modifier "Loopback" {
+ SupportedDevice {
+ "Headset Out"
+ }
+ Enable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 51 },
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 45 },
+ }
+}
+
+Modifier "Loopback" {
+ SupportedDevice {
+ "Headphone"
+ }
+ Enable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 51 },
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 45 },
+ }
+}
+
+Modifier "Loopback" {
+ SupportedDevice {
+ "SCO"
+ }
+ Enable {
+ { "AIF2DAC Volume", 96 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "AIF2DAC Volume", 96 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+#Modifier : LoopbackPacket
+Modifier "LoopbackPacket" {
+ SupportedDevice {
+ "Earpiece"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 57 },
+ { "Earpiece Volume", 1 },
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 57 },
+ { "Earpiece Volume", 1 },
+ }
+}
+
+Modifier "LoopbackPacket" {
+ SupportedDevice {
+ "Speaker"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 3 },
+ { "Speaker Boost Volume", 4 },
+ { "Speaker Volume", 62 },
+ }
+ Disable {
+ { "AIF2DAC Volume", 96 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 0 },
+ { "SPKR DAC1 Volume", 0 },
+ { "Speaker Mixer Volume", 0 },
+ { "Speaker Volume", 60 },
+ { "Speaker Boost Volume", 0 },
+ }
+}
+
+Modifier "LoopbackPacket" {
+ SupportedDevice {
+ "Headset Out"
+ }
+ Enable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 51 },
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 45 },
+ }
+}
+
+Modifier "LoopbackPacket" {
+ SupportedDevice {
+ "Headphone"
+ }
+ Enable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 51 },
+ { "Speaker Mixer Volume", 1 },
+ { "Speaker Volume", 0 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 45 },
+ }
+}
+
+Modifier "LoopbackPacket" {
+ SupportedDevice {
+ "SCO"
+ }
+ Enable {
+ { "AIF2DAC Volume", 96 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "AIF2DAC Volume", 96 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+#INPUT Modifier Stage
+#Voice, Camcorder, Recognition, Communication,
+
+Modifier "Voice" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1L Volume", 28 },
+ { "MIXINL IN1L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1L Volume", 4 },
+ { "MIXINL IN1L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "Voice" {
+ SupportedDevice {
+ "Back Mic"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1R Volume", 30 },
+ { "MIXINR IN1R Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1R Volume", 11 },
+ { "MIXINR IN1R Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "Voice" {
+ SupportedDevice {
+ "Headset In"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN2L Volume", 18 },
+ { "MIXINL IN2L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN2L Volume", 11 },
+ { "MIXINR IN2L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "Voice" {
+ SupportedDevice {
+ "SCO Headset In"
+ }
+ Enable {
+ { "AIF1ADC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ }
+}
+
+Modifier "Camcorder" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 2 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1L Volume", 30 },
+ { "MIXINL IN1L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1L Volume", 11 },
+ { "MIXINL IN1L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "Camcorder" {
+ SupportedDevice {
+ "Back Mic"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 2 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1R Volume", 30 },
+ { "MIXINR IN1R Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1R Volume", 11 },
+ { "MIXINR IN1R Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "Camcorder" {
+ SupportedDevice {
+ "Headset In"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN2L Volume", 11 },
+ { "MIXINL IN2L Volume", 1 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN2L Volume", 11 },
+ { "MIXINL IN2L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "Camcorder" {
+ SupportedDevice {
+ "SCO Headset In"
+ }
+ Enable {
+ { "AIF1ADC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ }
+}
+
+Modifier "Recognition" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1L Volume", 13 },
+ { "MIXINL IN1L Volume", 1 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1L Volume", 5 },
+ { "MIXINL IN1L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "Recognition" {
+ SupportedDevice {
+ "Back Mic"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1R Volume", 11 },
+ { "MIXINR IN1R Volume", 1 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1R Volume", 11 },
+ { "MIXINR IN1R Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "Recognition" {
+ SupportedDevice {
+ "Headset In"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN2L Volume", 19 },
+ { "MIXINL IN2L Volume", 1 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN2L Volume", 11 },
+ { "MIXINL IN2L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "Recognition" {
+ SupportedDevice {
+ "SCO Headset In"
+ }
+ Enable {
+ { "AIF1ADC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ }
+}
+
+Modifier "SecRecognition" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1L Volume", 11 },
+ { "MIXINL IN1L Volume", 1 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1L Volume", 5 },
+ { "MIXINL IN1L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "SecRecognition" {
+ SupportedDevice {
+ "Back Mic"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1R Volume", 11 },
+ { "MIXINR IN1R Volume", 1 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1R Volume", 11 },
+ { "MIXINR IN1R Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "SecRecognition" {
+ SupportedDevice {
+ "Headset In"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN2L Volume", 16 },
+ { "MIXINL IN2L Volume", 1 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN2L Volume", 11 },
+ { "MIXINL IN2L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "SecRecognition" {
+ SupportedDevice {
+ "SCO Headset In"
+ }
+ Enable {
+ { "AIF1ADC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ }
+}
+
+Modifier "Communication" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ OutputDevice {
+ "Earpiece"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1L Volume", 28 },
+ { "MIXINL IN1L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1L Volume", 11 },
+ { "MIXINL IN1L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "Communication" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ OutputDevice {
+ "Speaker"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1L Volume", 26 },
+ { "MIXINL IN1L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1L Volume", 21 },
+ { "MIXINL IN1L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "Communication" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ OutputDevice {
+ "Headphone"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1L Volume", 11 },
+ { "MIXINL IN1L Volume", 1 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1L Volume", 11 },
+ { "MIXINL IN1L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "Communication" {
+ SupportedDevice {
+ "Back Mic"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1R Volume", 1 },
+ { "MIXINR IN1R Volume", 1 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1R Volume", 11 },
+ { "MIXINR IN1R Volume", 1 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "Communication" {
+ SupportedDevice {
+ "Headset In"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN2L Volume", 11 },
+ { "MIXINL IN2L Volume", 1 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN2L Volume", 11 },
+ { "MIXINL IN2L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "Communication" {
+ SupportedDevice {
+ "SCO Headset In"
+ }
+ Enable {
+ { "AIF1ADC1 Volume", 90 },
+ { "AIF2DAC Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ }
+}
+
+Modifier "SecVoipin" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ OutputDevice {
+ "Earpiece"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1L Volume", 26 },
+ { "MIXINL IN1L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1L Volume", 11 },
+ { "MIXINL IN1L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "SecVoipin" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ OutputDevice {
+ "Speaker"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1L Volume", 9 },
+ { "MIXINL IN1L Volume", 1 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1L Volume", 21 },
+ { "MIXINL IN1L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "SecVoipin" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ OutputDevice {
+ "Headphone"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1L Volume", 11 },
+ { "MIXINL IN1L Volume", 1 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1L Volume", 11 },
+ { "MIXINL IN1L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "SecVoipin" {
+ SupportedDevice {
+ "Back Mic"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1R Volume", 1 },
+ { "MIXINR IN1R Volume", 1 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1R Volume", 11 },
+ { "MIXINR IN1R Volume", 1 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "SecVoipin" {
+ SupportedDevice {
+ "Headset In"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN2L Volume", 19 },
+ { "MIXINL IN2L Volume", 1 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN2L Volume", 11 },
+ { "MIXINL IN2L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "SecVoipin" {
+ SupportedDevice {
+ "SCO Headset In"
+ }
+ Enable {
+ { "AIF1ADC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ }
+}
+
+Modifier "Voipin" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ OutputDevice {
+ "Earpiece"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1L Volume", 27 },
+ { "MIXINL IN1L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1L Volume", 11 },
+ { "MIXINL IN1L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "Voipin" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ OutputDevice {
+ "Speaker"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1L Volume", 11 },
+ { "MIXINL IN1L Volume", 1 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1L Volume", 11 },
+ { "MIXINL IN1L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "Voipin" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ OutputDevice {
+ "Headphone"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1L Volume", 11 },
+ { "MIXINL IN1L Volume", 1 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1L Volume", 11 },
+ { "MIXINL IN1L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "Voipin" {
+ SupportedDevice {
+ "Back Mic"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1R Volume", 11 },
+ { "MIXINR IN1R Volume", 1 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1R Volume", 11 },
+ { "MIXINR IN1R Volume", 1 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "Voipin" {
+ SupportedDevice {
+ "Headset In"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN2L Volume", 11 },
+ { "MIXINL IN2L Volume", 1 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN2L Volume", 11 },
+ { "MIXINL IN2L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "Voipin" {
+ SupportedDevice {
+ "SCO Headset In"
+ }
+ Enable {
+ { "AIF1ADC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ }
+}
+
+#Incall-Capture Modifier
+Modifier "IncallIn" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ OutputDevice {
+ "Earpiece"
+ }
+ Enable {
+ { "IN1L Volume", 25},
+ { "MIXINL IN1L Volume", 0 },
+ { "DAC2 Left Sidetone Volume", 12 },
+ { "DAC2 Right Sidetone Volume", 12 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "IN1L Volume", 7 },
+ { "MIXINL IN1L Volume", 0 },
+ { "DAC2 Left Sidetone Volume", 0 },
+ { "DAC2 Right Sidetone Volume", 0 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+Modifier "IncallIn" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ OutputDevice {
+ "Headphone"
+ }
+ Enable {
+ { "IN1L Volume", 25},
+ { "MIXINL IN1L Volume", 0 },
+ { "DAC2 Left Sidetone Volume", 12 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "IN1L Volume", 11 },
+ { "MIXINL IN1L Volume", 0 },
+ { "DAC2 Left Sidetone Volume", 0 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+Modifier "IncallIn" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ OutputDevice {
+ "Speaker"
+ }
+ Enable {
+ { "IN1L Volume", 25},
+ { "MIXINL IN1L Volume", 0 },
+ { "DAC2 Left Sidetone Volume", 12 },
+ { "DAC2 Right Sidetone Volume", 12 },
+ { "AIF2ADC Volume", 110 },
+ { "AIF2ADCL DRC Switch", 1 },
+ }
+ Disable {
+ { "IN1L Volume", 7},
+ { "MIXINL IN1L Volume", 0 },
+ { "DAC2 Left Sidetone Volume", 0 },
+ { "DAC2 Right Sidetone Volume", 0 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+Modifier "IncallIn" {
+ SupportedDevice {
+ "Back Mic"
+ }
+ Enable {
+ { "IN1R Volume", 25 },
+ { "MIXINR IN1R Volume", 0 },
+ { "DAC2 Left Sidetone Volume", 12 },
+ { "DAC2 Right Sidetone Volume", 12 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "IN1R Volume", 7 },
+ { "MIXINR IN1R Volume", 0 },
+ { "DAC2 Left Sidetone Volume", 12 },
+ { "DAC2 Right Sidetone Volume", 12 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+Modifier "IncallIn" {
+ SupportedDevice {
+ "Headset In"
+ }
+ Enable {
+ { "IN2L Volume", 28 },
+ { "MIXINL IN2L Volume", 0 },
+ { "DAC2 Left Sidetone Volume", 12 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "IN2L Volume", 11 },
+ { "MIXINL IN2L Volume", 0 },
+ { "DAC2 Left Sidetone Volume", 0 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+Modifier "IncallIn" {
+ SupportedDevice {
+ "SCO Headset In"
+ }
+ Enable {
+ { "AIF2ADC Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ }
+ Disable {
+ { "AIF2ADC Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ }
+}
+
+#LoopbackIn-Capture Modifier
+Modifier "LoopbackIn" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ OutputDevice {
+ "Earpiece"
+ }
+ Enable {
+ { "IN1L Volume", 7 },
+ { "MIXINL IN1L Volume", 1 },
+ { "DAC2 Left Sidetone Volume", 12 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "IN1L Volume", 7 },
+ { "MIXINL IN1L Volume", 0 },
+ { "DAC2 Left Sidetone Volume", 0 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+Modifier "LoopbackIn" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ OutputDevice {
+ "Headphone"
+ }
+ Enable {
+ { "IN1L Volume", 7 },
+ { "MIXINL IN1L Volume", 1 },
+ { "DAC2 Left Sidetone Volume", 12 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "IN1L Volume", 7 },
+ { "MIXINL IN1L Volume", 0 },
+ { "DAC2 Left Sidetone Volume", 0 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+Modifier "LoopbackIn" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ OutputDevice {
+ "Headset"
+ }
+ Enable {
+ { "IN1L Volume", 7 },
+ { "MIXINL IN1L Volume", 1 },
+ { "DAC2 Left Sidetone Volume", 12 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "IN1L Volume", 7 },
+ { "MIXINL IN1L Volume", 0 },
+ { "DAC2 Left Sidetone Volume", 0 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+
+Modifier "LoopbackIn" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ OutputDevice {
+ "Speaker"
+ }
+ Enable {
+ { "IN1L Volume", 25 },
+ { "MIXINL IN1L Volume", 0 },
+ { "DAC2 Left Sidetone Volume", 12 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "IN1L Volume", 11 },
+ { "MIXINL IN1L Volume", 0 },
+ { "DAC2 Left Sidetone Volume", 0 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+Modifier "LoopbackIn" {
+ SupportedDevice {
+ "Back Mic"
+ }
+ Enable {
+ { "AIF2ADCL Source", 1 },
+ { "IN1R Volume", 22 },
+ { "MIXINR IN1R Volume", 0 },
+ { "DAC2 Right Sidetone Volume", 12 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "IN1R Volume", 11 },
+ { "MIXINR IN1R Volume", 0 },
+ { "DAC2 Right Sidetone Volume", 12 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+Modifier "LoopbackIn" {
+ SupportedDevice {
+ "Headset In"
+ }
+ Enable {
+ { "IN2L Volume", 28 },
+ { "MIXINL IN2L Volume", 0 },
+ { "DAC2 Left Sidetone Volume", 12 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "IN2L Volume", 11 },
+ { "MIXINL IN2L Volume", 0 },
+ { "DAC2 Left Sidetone Volume", 0 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+Modifier "LoopbackIn" {
+ SupportedDevice {
+ "SCO Headset In"
+ }
+ Enable {
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+#LoopbackPacketIn-Capture Modifier
+Modifier "LoopbackPacketIn" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ OutputDevice {
+ "Earpiece"
+ }
+ Enable {
+ { "AIF2DAC2L Mixer Left Sidetone Switch", 1 },
+ { "AIF2DAC2L Mixer Right Sidetone Switch", 0 },
+ { "IN1L Volume", 9 },
+ { "MIXINL IN1L Volume", 1 },
+ { "DAC2 Left Sidetone Volume", 12 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "IN1L Volume", 7 },
+ { "MIXINL IN1L Volume", 0 },
+ { "DAC2 Left Sidetone Volume", 0 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+Modifier "LoopbackPacketIn" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ OutputDevice {
+ "Headphone"
+ }
+ Enable {
+ { "IN1L Volume", 7 },
+ { "MIXINL IN1L Volume", 1 },
+ { "DAC2 Left Sidetone Volume", 12 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "IN1L Volume", 7 },
+ { "MIXINL IN1L Volume", 0 },
+ { "DAC2 Left Sidetone Volume", 0 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+Modifier "LoopbackPacketIn" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ OutputDevice {
+ "Headset"
+ }
+ Enable {
+ { "IN1L Volume", 7 },
+ { "MIXINL IN1L Volume", 1 },
+ { "DAC2 Left Sidetone Volume", 12 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "IN1L Volume", 7 },
+ { "MIXINL IN1L Volume", 0 },
+ { "DAC2 Left Sidetone Volume", 0 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+
+Modifier "LoopbackPacketIn" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ OutputDevice {
+ "Speaker"
+ }
+ Enable {
+ { "IN1L Volume", 25 },
+ { "MIXINL IN1L Volume", 0 },
+ { "DAC2 Left Sidetone Volume", 12 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "IN1L Volume", 11 },
+ { "MIXINL IN1L Volume", 0 },
+ { "DAC2 Left Sidetone Volume", 0 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+Modifier "LoopbackPacketIn" {
+ SupportedDevice {
+ "Back Mic"
+ }
+ Enable {
+ { "AIF2DAC2L Mixer Left Sidetone Switch", 0 },
+ { "AIF2DAC2L Mixer Right Sidetone Switch", 1 },
+ { "IN1R Volume", 22 },
+ { "MIXINR IN1R Volume", 0 },
+ { "DAC2 Right Sidetone Volume", 12 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "IN1R Volume", 11 },
+ { "MIXINR IN1R Volume", 0 },
+ { "DAC2 Right Sidetone Volume", 12 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+Modifier "LoopbackPacketIn" {
+ SupportedDevice {
+ "Headset In"
+ }
+ Enable {
+ { "AIF2DAC2L Mixer Left Sidetone Switch", 1 },
+ { "AIF2DAC2L Mixer Right Sidetone Switch", 0 },
+ { "IN2L Volume", 28 },
+ { "MIXINL IN2L Volume", 0 },
+ { "DAC2 Left Sidetone Volume", 12 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "IN2L Volume", 11 },
+ { "MIXINL IN2L Volume", 0 },
+ { "DAC2 Left Sidetone Volume", 0 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+Modifier "LoopbackPacketIn" {
+ SupportedDevice {
+ "SCO Headset In"
+ }
+ Enable {
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+#Special Modifier for voicecall recording, not gain
+Modifier "MicRec" {
+ Enable {
+ { "AIF1ADC1L Mixer ADC/DMIC Switch", 1 },
+ { "AIF1ADC1R Mixer ADC/DMIC Switch", 1 },
+ }
+ Disable {
+ { "AIF1ADC1L Mixer ADC/DMIC Switch", 1 },
+ { "AIF1ADC1R Mixer ADC/DMIC Switch", 1 },
+ { "AIF1ADC1R Mixer AIF2 Switch", 0 },
+ { "AIF1ADC1L Mixer AIF2 Switch", 0 },
+ }
+}
+
+Modifier "Downlink" {
+ Enable {
+ { "AIF1ADC1L Mixer ADC/DMIC Switch", 0 },
+ { "AIF1ADC1R Mixer ADC/DMIC Switch", 0 },
+ { "AIF1ADC1R Mixer AIF2 Switch", 1 },
+ { "AIF1ADC1L Mixer AIF2 Switch", 1 },
+ }
+ Disable {
+ { "AIF1ADC1L Mixer ADC/DMIC Switch", 1 },
+ { "AIF1ADC1R Mixer ADC/DMIC Switch", 1 },
+ { "AIF1ADC1R Mixer AIF2 Switch", 0 },
+ { "AIF1ADC1L Mixer AIF2 Switch", 0 },
+ }
+}
+
+Modifier "Uplink" {
+ Enable {
+ { "AIF1ADC1L Mixer ADC/DMIC Switch", 1 },
+ { "AIF1ADC1R Mixer ADC/DMIC Switch", 1 },
+ { "AIF1ADC1R Mixer AIF2 Switch", 0 },
+ { "AIF1ADC1L Mixer AIF2 Switch", 0 },
+ }
+ Disable {
+ { "AIF1ADC1L Mixer ADC/DMIC Switch", 1 },
+ { "AIF1ADC1R Mixer ADC/DMIC Switch", 1 },
+ { "AIF1ADC1R Mixer AIF2 Switch", 0 },
+ { "AIF1ADC1L Mixer AIF2 Switch", 0 },
+ }
+}
+
+Modifier "VoicecallRec" {
+ Enable {
+ { "AIF1ADC1L Mixer ADC/DMIC Switch", 1 },
+ { "AIF1ADC1R Mixer ADC/DMIC Switch", 1 },
+ { "AIF1ADC1R Mixer AIF2 Switch", 1 },
+ { "AIF1ADC1L Mixer AIF2 Switch", 1 },
+ }
+ Disable {
+ { "AIF1ADC1L Mixer ADC/DMIC Switch", 1 },
+ { "AIF1ADC1R Mixer ADC/DMIC Switch", 1 },
+ { "AIF1ADC1R Mixer AIF2 Switch", 0 },
+ { "AIF1ADC1L Mixer AIF2 Switch", 0 },
+ }
+}
+