The ultimate alsa guide to statefile by klaszlo

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Table)
 
(24 intermediate revisions by one user not shown)
Line 1: Line 1:
 +
== Background links ==
 +
 +
* http://wiki.openmoko.org/wiki/Neo_Freerunner_audio_subsystem
 +
* http://wiki.openmoko.org/wiki/Neo1973_Audio_Subsystem (lmost all info there (including the "pretty" routing diagram) is applicable only to gta02 (alsa driver for gta01 is different though hardware is the same))
 +
* [http://www.google.com/codesearch/p?hl=en&sa=N&cd=1&ct=rc#0wUBC1zMkMU/trunk/src/callbacks.c&q=vol_changed%20package:http://intone\.googlecode\.com Intone changing the volume only by PCM]
 +
 +
== Needed commands ==
 +
 +
* amixer
 +
* alsamixer
 +
* alsactl
 +
* AT commands to the GSM chip (AT CLVL, and lindi- knows some more too)
 +
 
== The .state file ==
 
== The .state file ==
  
Line 25: Line 38:
 
  !Number
 
  !Number
 
  !Name
 
  !Name
!Amixer name
 
 
  !type
 
  !type
 
  !range
 
  !range
  !style="background-color:LemonChiffon"|gsmhandset
+
  !style="background-color:Gold"|gsmhandset
 
  !capturehandset
 
  !capturehandset
 
  !gsmheadset
 
  !gsmheadset
 
  !gsmspeakerout
 
  !gsmspeakerout
  !style="background-color:LavenderBlush"|headset
+
  !style="background-color:Coral"|headset
 
  !stereout
 
  !stereout
 
  !voip-handset
 
  !voip-handset
Line 38: Line 50:
 
  |-
 
  |-
 
  |control.1
 
  |control.1
  |PCM Volume
+
  |PCM <span style="color:red">Volume</span>
|?
+
 
  |INTEGER
 
  |INTEGER
 
  |0-255
 
  |0-255
  |0<br />0
+
  |style="background-color:Gold"|0<br />0
 
  |255<br />255
 
  |255<br />255
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |style="background-color:LavenderBlush"|235<br />235
+
  |style="background-color:Coral"|235<br />235
  |style="background-color:LavenderBlush"|235<br />235
+
  |style="background-color:Coral"|235<br />235
  |style="background-color:LavenderBlush"|235<br />235
+
  |style="background-color:Coral"|235<br />235
  |style="background-color:LavenderBlush"|235<br />235
+
  |style="background-color:Coral"|235<br />235
 
  |-
 
  |-
 
  |control.2
 
  |control.2
  |ADC Capture Volume
+
  |ADC <span style="color:red">Capture Volume</span>
|
+
 
  |INTEGER
 
  |INTEGER
 
  |0-255
 
  |0-255
  |0<br />0
+
  |style="background-color:Gold"|0<br />0
  |style="background-color:LavenderBlush"|195<br />195
+
  |style="background-color:Coral"|195<br />195
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |style="background-color:LavenderBlush"|195<br />195
+
  |style="background-color:Coral"|195<br />195
  |style="background-color:LavenderBlush"|195<br />195
+
  |style="background-color:Coral"|195<br />195
  |style="background-color:LavenderBlush"|195<br />195
+
  |style="background-color:Coral"|195<br />195
  |style="background-color:LavenderBlush"|195<br />195
+
  |style="background-color:Coral"|195<br />195
 
  |-
 
  |-
 
  |control.3
 
  |control.3
  |Headphone Playback Volume
+
  |Headphone <span style="color:red">Playback Volume</span>
|
+
 
  |INTEGER
 
  |INTEGER
 
  |0-127
 
  |0-127
  |0<br />0
+
  |style="background-color:Gold"|0<br />0
 
  |121<br />121
 
  |121<br />121
 
  |96<br />96
 
  |96<br />96
  |style="background-color:LavenderBlush"|127<br />127
+
  |style="background-color:Coral"|127<br />127
  |style="background-color:LavenderBlush"|127<br />127
+
  |style="background-color:Coral"|127<br />127
  |style="background-color:LavenderBlush"|127<br />127
+
  |style="background-color:Coral"|127<br />127
  |style="background-color:LavenderBlush"|127<br />127
+
  |style="background-color:Coral"|127<br />127
  |0<br />0
+
  |style="background-color:Gold"|0<br />0
 
  |-
 
  |-
 
  |control.4
 
  |control.4
  |Speaker Playback Volume
+
  |Speaker <span style="color:red">Playback Volume</span>
|
+
 
  |INTEGER
 
  |INTEGER
 
  |0-127
 
  |0-127
  |127<br />127
+
  |style="background-color:Gold"|127<br />127
 
  |121<br/>121
 
  |121<br/>121
  |style="background-color:LavenderBlush"|0<br />0
+
  |style="background-color:Coral"|0<br />0
  |style="background-color:LavenderBlush"|0<br />0
+
  |style="background-color:Coral"|0<br />0
  |style="background-color:LavenderBlush"|0<br />0
+
  |style="background-color:Coral"|0<br />0
  |style="background-color:LavenderBlush"|0<br />0
+
  |style="background-color:Coral"|0<br />0
  |style="background-color:LavenderBlush"|0<br />0
+
  |style="background-color:Coral"|0<br />0
  |style="background-color:LavenderBlush"|0<br />0
+
  |style="background-color:Coral"|0<br />0
 
  |-
 
  |-
 
  |control.5
 
  |control.5
  |Mono Playback Volume
+
  |Mono <span style="color:red">Playback Volume</span>
|
+
 
  |INTEGER
 
  |INTEGER
 
  |0-127
 
  |0-127
  |110
+
  |style="background-color:Gold"|110
  |style="background-color:LavenderBlush"|121
+
  |style="background-color:Coral"|121
 
  |103
 
  |103
 
  |103
 
  |103
  |style="background-color:LavenderBlush"|121
+
  |style="background-color:Coral"|121
  |style="background-color:LavenderBlush"|121
+
  |style="background-color:Coral"|121
  |style="background-color:LavenderBlush"|121
+
  |style="background-color:Coral"|121
 
  |79
 
  |79
 
  |-
 
  |-
 
  |control.6
 
  |control.6
  |Bypass Playback Volume
+
  |Bypass <span style="color:red">Playback Volume</span>
|
+
 
  |INTEGER
 
  |INTEGER
 
  |0-7
 
  |0-7
  |7<br />7
+
  |style="background-color:Gold"|7<br />7
  |style="background-color:LavenderBlush"|2<br />2
+
  |style="background-color:Coral"|2<br />2
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |style="background-color:LavenderBlush"|2<br />2
+
  |style="background-color:Coral"|2<br />2
  |style="background-color:LavenderBlush"|2<br />2
+
  |style="background-color:Coral"|2<br />2
  |style="background-color:LavenderBlush"|2<br />2
+
  |style="background-color:Coral"|2<br />2
 
  |6<br />6
 
  |6<br />6
 
  |-
 
  |-
 
  |control.7
 
  |control.7
  |Sidetone Playback Volume
+
  |<span style="background-color:red">Sidetone</span> <span style="color:red">Playback Volume</span>
|
+
 
  |INTEGER
 
  |INTEGER
 
  |0-7
 
  |0-7
  |0<br />0  
+
  |style="background-color:Gold"|0<br />0  
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |style="background-color:LavenderBlush"|2<br />2
+
  |style="background-color:Coral"|2<br />2
  |style="background-color:LavenderBlush"|2<br />2
+
  |style="background-color:Coral"|2<br />2
  |style="background-color:LavenderBlush"|2<br />2
+
  |style="background-color:Coral"|2<br />2
 
  |6<br />6
 
  |6<br />6
 
  |-
 
  |-
 
  |control.8
 
  |control.8
  |Voice Playback Volume
+
  |Voice <span style="color:red">Playback Volume</span>
|
+
 
  |INTEGER
 
  |INTEGER
 
  |0-7
 
  |0-7
  |0<br />0
+
  |style="background-color:Gold"|0<br />0
  |style="background-color:LavenderBlush"|2<br />2  
+
  |style="background-color:Coral"|2<br />2  
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |style="background-color:LavenderBlush"|2<br />2
+
  |style="background-color:Coral"|2<br />2
  |style="background-color:LavenderBlush"|2<br />2
+
  |style="background-color:Coral"|2<br />2
  |style="background-color:LavenderBlush"|2<br />2
+
  |style="background-color:Coral"|2<br />2
 
  |7<br />7
 
  |7<br />7
 
  |-
 
  |-
 
  |control.9
 
  |control.9
  |Headphone Playback ZC Switch
+
  |Headphone Playback ZC <span style="color:red">Switch</span>
|
+
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
Line 164: Line 167:
 
  |-
 
  |-
 
  |control.10
 
  |control.10
  |Speaker Playback ZC Switch
+
  |Speaker Playback ZC <span style="color:red">Switch</span>
|
+
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
Line 178: Line 180:
 
  |-
 
  |-
 
  |control.11
 
  |control.11
  |Mono Bypass Playback Volume
+
  |Mono Bypass <span style="color:red">Playback Volume</span>
|
+
 
  |INTEGER
 
  |INTEGER
 
  |0-7
 
  |0-7
  |0
+
  |style="background-color:Gold"|0
  |style="background-color:LavenderBlush"|2
+
  |style="background-color:Coral"|2
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |style="background-color:LavenderBlush"|2
+
  |style="background-color:Coral"|2
  |style="background-color:LavenderBlush"|2
+
  |style="background-color:Coral"|2
  |style="background-color:LavenderBlush"|2
+
  |style="background-color:Coral"|2
 
  |5
 
  |5
 
  |-
 
  |-
 
  |control.12
 
  |control.12
  |Mono Sidetone Playback Volume
+
  |Mono Sidetone <span style="color:red">Playback Volume</span>
|
+
 
  |INTEGER
 
  |INTEGER
 
  |0-7
 
  |0-7
  |7  
+
  |style="background-color:Gold"|7  
  |style="background-color:LavenderBlush"|2
+
  |style="background-color:Coral"|2
 
  |5
 
  |5
 
  |6
 
  |6
  |style="background-color:LavenderBlush"|2
+
  |style="background-color:Coral"|2
  |style="background-color:LavenderBlush"|2
+
  |style="background-color:Coral"|2
  |style="background-color:LavenderBlush"|2
+
  |style="background-color:Coral"|2
 
  |5
 
  |5
 
  |-
 
  |-
 
  |control.13
 
  |control.13
  |Mono Voice Playback Volume
+
  |Mono Voice <span style="color:red">Playback Volume</span>
|
+
 
  |INTEGER
 
  |INTEGER
 
  |0-7
 
  |0-7
  |0
+
  |style="background-color:Gold"|0
  |style="background-color:LavenderBlush"|2
+
  |style="background-color:Coral"|2
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |style="background-color:LavenderBlush"|2
+
  |style="background-color:Coral"|2
  |style="background-color:LavenderBlush"|2
+
  |style="background-color:Coral"|2
  |style="background-color:LavenderBlush"|2
+
  |style="background-color:Coral"|2
 
  |4
 
  |4
 
  |-
 
  |-
 
  |control.14
 
  |control.14
  |Mono Playback ZC Switch
+
  |Mono Playback ZC <span style="color:red">Switch</span>
|
+
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
Line 235: Line 233:
 
  |control.15
 
  |control.15
 
  |Bass Boost
 
  |Bass Boost
|
 
 
  |ENUMERATED
 
  |ENUMERATED
 
  |Linear Control <br />Adaptive Boost
 
  |Linear Control <br />Adaptive Boost
Line 249: Line 246:
 
  |control.16
 
  |control.16
 
  |Bass Filter
 
  |Bass Filter
|
 
 
  |ENUMERATED
 
  |ENUMERATED
 
  |130Hz @ 48kHz <br />200Hz @ 48kHz <br />100Hz @ 16kHz <br />400Hz @ 48kHz <br />100Hz @ 8kHz <br />200Hz @ 8kHz
 
  |130Hz @ 48kHz <br />200Hz @ 48kHz <br />100Hz @ 16kHz <br />400Hz @ 48kHz <br />100Hz @ 8kHz <br />200Hz @ 8kHz
Line 262: Line 258:
 
  |-
 
  |-
 
  |control.17
 
  |control.17
  |Bass Volume
+
  |Bass <span style="color:red">Volume</span>
|
+
 
  |INTEGER
 
  |INTEGER
 
  |0-15
 
  |0-15
Line 276: Line 271:
 
  |-
 
  |-
 
  |control.18
 
  |control.18
  |Treble Volume
+
  |Treble <span style="color:red">Volume</span>
|
+
 
  |INTEGER
 
  |INTEGER
 
  |0-15
 
  |0-15
  |0
+
  |style="background-color:Gold"|0
 
  |7
 
  |7
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
 
  |8
 
  |8
 
  |-
 
  |-
 
  |control.19
 
  |control.19
 
  |Treble Cut-off
 
  |Treble Cut-off
|
 
 
  |ENUMERATED
 
  |ENUMERATED
 
  |8kHz <br />4kHz
 
  |8kHz <br />4kHz
Line 304: Line 297:
 
  |-
 
  |-
 
  |control.20
 
  |control.20
  |Sidetone Capture Volume
+
  |<span style="background-color:red">Sidetone</span> <span style="color:red">Capture Volume</span>
|
+
 
  |INTEGER
 
  |INTEGER
 
  |0-7
 
  |0-7
  |0<br />0
+
  |style="background-color:Gold"|0<br />0
  |style="background-color:LavenderBlush"|2<br />2
+
  |style="background-color:Coral"|2<br />2
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |style="background-color:LavenderBlush"|2<br />2
+
  |style="background-color:Coral"|2<br />2
  |style="background-color:LavenderBlush"|2<br />2
+
  |style="background-color:Coral"|2<br />2
  |style="background-color:LavenderBlush"|2<br />2
+
  |style="background-color:Coral"|2<br />2
  |
+
  |style="background-color:Gold"|
 
  |-
 
  |-
 
  |control.21
 
  |control.21
  |Voice Sidetone Capture Volume
+
  |Voice Sidetone <span style="color:red">Capture Volume</span>
|
+
 
  |INTEGER
 
  |INTEGER
 
  |0-7
 
  |0-7
Line 332: Line 323:
 
  |-
 
  |-
 
  |control.22
 
  |control.22
  |Capture Volume
+
  |<span style="background-color:red">Capture</span> <span style="color:red">Volume</span>
|
+
 
  |INTEGER
 
  |INTEGER
 
  |0-63
 
  |0-63
  |0<br />0
+
  |style="background-color:Gold"|0<br />0
  |style="background-color:LavenderBlush"|23<br />23
+
  |style="background-color:Coral"|23<br />23
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |style="background-color:LavenderBlush"|23<br />23
+
  |style="background-color:Coral"|23<br />23
  |style="background-color:LavenderBlush"|23<br />23
+
  |style="background-color:Coral"|23<br />23
 
  |47<br />47
 
  |47<br />47
 
  |48<br />48
 
  |48<br />48
 
  |-
 
  |-
 
  |control.23
 
  |control.23
  |Capture ZC Switch
+
  |Capture ZC <span style="color:red">Switch</span>
|
+
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
Line 360: Line 349:
 
  |-
 
  |-
 
  |control.24
 
  |control.24
  |Capture Switch
+
  |<span style="background-color:red">Capture</span> <span style="color:red">Switch</span>
|
+
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
  |true<br />true
+
  |style="background-color:Gold"|true<br />true
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |style="background-color:LavenderBlush"|false<br />false
+
  |style="background-color:Coral"|false<br />false
  |style="background-color:LavenderBlush"|false<br />false
+
  |style="background-color:Coral"|false<br />false
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
 
  |-
 
  |-
 
  |control.25
 
  |control.25
 
  |Capture Filter Select
 
  |Capture Filter Select
|
 
 
  |ENUMERATED
 
  |ENUMERATED
 
  |3.4Hz @ 48kHz<br />82Hz @ 16k<br />82Hz @ 8kHz<br />170Hz @ 8kHz<br />
 
  |3.4Hz @ 48kHz<br />82Hz @ 16k<br />82Hz @ 8kHz<br />170Hz @ 8kHz<br />
Line 389: Line 376:
 
  |control.26
 
  |control.26
 
  |Capture Filter Cut-off
 
  |Capture Filter Cut-off
|
 
 
  |ENUMERATED
 
  |ENUMERATED
 
  |HiFi<br />Voice
 
  |HiFi<br />Voice
Line 402: Line 388:
 
  |-
 
  |-
 
  |control.27
 
  |control.27
  |Capture Filter Switch
+
  |Capture Filter <span style="color:red">Switch</span>
|
+
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
  |false
+
  |style="background-color:Gold"|false
  |style="background-color:LavenderBlush"|true
+
  |style="background-color:Coral"|true
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |style="background-color:LavenderBlush"|true
+
  |style="background-color:Coral"|true
  |style="background-color:LavenderBlush"|true
+
  |style="background-color:Coral"|true
  |style="background-color:LavenderBlush"|true
+
  |style="background-color:Coral"|true
  |style="background-color:LavenderBlush"|true
+
  |style="background-color:Coral"|true
 
  |-
 
  |-
 
  |control.28
 
  |control.28
  |ALC Capture Target Volume
+
  |ALC Capture Target <span style="color:red">Volume</span>
|
+
 
  |INTEGER
 
  |INTEGER
 
  |0-7
 
  |0-7
  |0
+
  |style="background-color:Gold"|0
  |style="background-color:LavenderBlush"|3
+
  |style="background-color:Coral"|3
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |style="background-color:LavenderBlush"|3
+
  |style="background-color:Coral"|3
  |style="background-color:LavenderBlush"|3
+
  |style="background-color:Coral"|3
  |style="background-color:LavenderBlush"|3
+
  |style="background-color:Coral"|3
 
  |4
 
  |4
 
  |-
 
  |-
 
  |control.29
 
  |control.29
  |ALC Capture Max Volume
+
  |ALC Capture Max <span style="color:red">Volume</span>
|
+
 
  |INTEGER
 
  |INTEGER
 
  |0-7
 
  |0-7
  |0
+
  |style="background-color:Gold"|0
  |style="background-color:LavenderBlush"|7
+
  |style="background-color:Coral"|7
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |style="background-color:LavenderBlush"|7
+
  |style="background-color:Coral"|7
  |style="background-color:LavenderBlush"|7
+
  |style="background-color:Coral"|7
  |style="background-color:LavenderBlush"|7
+
  |style="background-color:Coral"|7
 
  |5
 
  |5
 
  |-
 
  |-
 
  |control.30
 
  |control.30
 
  |ALC Capture Function
 
  |ALC Capture Function
|
 
 
  |ENUMERATED
 
  |ENUMERATED
 
  |Off<br />Right<br />Left<br />Stereo
 
  |Off<br />Right<br />Left<br />Stereo
Line 458: Line 440:
 
  |-
 
  |-
 
  |control.31
 
  |control.31
  |ALC Capture ZC Switch
+
  |ALC Capture ZC <span style="color:red">Switch</span>
|
+
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
Line 473: Line 454:
 
  |control.32
 
  |control.32
 
  |ALC Capture Hold Time
 
  |ALC Capture Hold Time
|
 
 
  |INTEGER
 
  |INTEGER
 
  |0-15
 
  |0-15
  |0
+
  |style="background-color:Gold"|0
  |style="background-color:LavenderBlush"|15
+
  |style="background-color:Coral"|15
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |style="background-color:LavenderBlush"|15
+
  |style="background-color:Coral"|15
  |style="background-color:LavenderBlush"|15
+
  |style="background-color:Coral"|15
  |style="background-color:LavenderBlush"|15
+
  |style="background-color:Coral"|15
 
  |4
 
  |4
 
  |-
 
  |-
 
  |control.33
 
  |control.33
 
  |ALC Capture Decay Time
 
  |ALC Capture Decay Time
|
 
 
  |INTEGER
 
  |INTEGER
 
  |0-15
 
  |0-15
  |0
+
  |style="background-color:Gold"|0
  |style="background-color:LavenderBlush"|12
+
  |style="background-color:Coral"|12
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |style="background-color:LavenderBlush"|12
+
  |style="background-color:Coral"|12
  |style="background-color:LavenderBlush"|12
+
  |style="background-color:Coral"|12
  |style="background-color:LavenderBlush"|12
+
  |style="background-color:Coral"|12
 
  |8
 
  |8
 
  |-
 
  |-
 
  |control.34
 
  |control.34
 
  |ALC Capture Attack Time
 
  |ALC Capture Attack Time
|
 
 
  |INTEGER
 
  |INTEGER
 
  |0-15
 
  |0-15
  |0
+
  |style="background-color:Gold"|0
  |style="background-color:LavenderBlush"|2
+
  |style="background-color:Coral"|2
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |style="background-color:LavenderBlush"|2
+
  |style="background-color:Coral"|2
  |style="background-color:LavenderBlush"|2
+
  |style="background-color:Coral"|2
  |style="background-color:LavenderBlush"|2
+
  |style="background-color:Coral"|2
  |style="background-color:LavenderBlush"|2
+
  |style="background-color:Coral"|2
 
  |-
 
  |-
 
  |control.35
 
  |control.35
 
  |ALC Capture NG Threshold
 
  |ALC Capture NG Threshold
|
 
 
  |INTEGER
 
  |INTEGER
 
  |0-31
 
  |0-31
Line 529: Line 506:
 
  |control.36
 
  |control.36
 
  |ALC Capture NG Type
 
  |ALC Capture NG Type
|
 
 
  |ENUMERATED
 
  |ENUMERATED
 
  |Constant PGA Gain<br />Mute ADC Output
 
  |Constant PGA Gain<br />Mute ADC Output
  |Mute ADC Output
+
  |style="background-color:Gold"|Mute ADC Output
  |style="background-color:LavenderBlush"|Constant PGA Gain
+
  |style="background-color:Coral"|Constant PGA Gain
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |style="background-color:LavenderBlush"|Constant PGA Gain
+
  |style="background-color:Coral"|Constant PGA Gain
  |style="background-color:LavenderBlush"|Constant PGA Gain
+
  |style="background-color:Coral"|Constant PGA Gain
  |style="background-color:LavenderBlush"|Constant PGA Gain
+
  |style="background-color:Coral"|Constant PGA Gain
  |style="background-color:LavenderBlush"|Constant PGA Gain
+
  |style="background-color:Coral"|Constant PGA Gain
 
  |-
 
  |-
 
  |control.37
 
  |control.37
  |ALC Capture NG Switch
+
  |ALC Capture NG <span style="color:red">Switch</span>
|
+
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
Line 557: Line 532:
 
  |control.38
 
  |control.38
 
  |3D Function
 
  |3D Function
|
 
 
  |ENUMERATED
 
  |ENUMERATED
 
  |Capture<br />Playback
 
  |Capture<br />Playback
Line 571: Line 545:
 
  |control.39
 
  |control.39
 
  |3D Upper Cut-off
 
  |3D Upper Cut-off
|
 
 
  |ENUMERATED
 
  |ENUMERATED
 
  |2.2kHz<br />1.5kHz
 
  |2.2kHz<br />1.5kHz
Line 585: Line 558:
 
  |control.40
 
  |control.40
 
  |3D Lower Cut-off
 
  |3D Lower Cut-off
|
 
 
  |ENUMERATED
 
  |ENUMERATED
 
  |200Hz<br />500Hz
 
  |200Hz<br />500Hz
Line 598: Line 570:
 
  |-
 
  |-
 
  |control.41
 
  |control.41
  |3D Volume
+
  |<span style="background-color:red">3D</span> <span style="color:red">Volume</span>
|
+
 
  |INTEGER
 
  |INTEGER
 
  |0-15
 
  |0-15
Line 612: Line 583:
 
  |-
 
  |-
 
  |control.42
 
  |control.42
  |3D Switch
+
  |<span style="background-color:red">3D</span> <span style="color:red">Switch</span>
|
+
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
Line 627: Line 597:
 
  |control.43
 
  |control.43
 
  |Capture 6dB Attenuate
 
  |Capture 6dB Attenuate
|
 
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
Line 641: Line 610:
 
  |control.44
 
  |control.44
 
  |Playback 6dB Attenuate
 
  |Playback 6dB Attenuate
|
 
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
Line 655: Line 623:
 
  |control.45
 
  |control.45
 
  |De-emphasis
 
  |De-emphasis
|
 
 
  |ENUMERATED
 
  |ENUMERATED
 
  |None<br />32kHz<br />44.1kHz<br />48kHz
 
  |None<br />32kHz<br />44.1kHz<br />48kHz
Line 669: Line 636:
 
  |control.46
 
  |control.46
 
  |Playback Mono Mix
 
  |Playback Mono Mix
|
 
 
  |ENUMERATED
 
  |ENUMERATED
 
  |Stereo<br />Left<br />Right<br />Mono
 
  |Stereo<br />Left<br />Right<br />Mono
Line 683: Line 649:
 
  |control.47
 
  |control.47
 
  |Playback Phase
 
  |Playback Phase
|
 
 
  |ENUMERATED
 
  |ENUMERATED
 
  |Non Inverted<br />Inverted
 
  |Non Inverted<br />Inverted
Line 696: Line 661:
 
  |-
 
  |-
 
  |control.48
 
  |control.48
  |Mic2 Capture Volume
+
  |Mic2 <span style="color:red">Capture Volume</span>
|
+
 
  |INTEGER
 
  |INTEGER
 
  |0-3
 
  |0-3
  |3
+
  |style="background-color:Gold"|3
  |
+
  |style="background-color:Gold"|
  |style="background-color:LavenderBlush"|0
+
  |style="background-color:Coral"|0
  |style="background-color:LavenderBlush"|0
+
  |style="background-color:Coral"|0
  |style="background-color:LavenderBlush"|0
+
  |style="background-color:Coral"|0
  |style="background-color:LavenderBlush"|0
+
  |style="background-color:Coral"|0
 
  |2
 
  |2
  |
+
  |style="background-color:Gold"|
 
  |-
 
  |-
 
  |control.49
 
  |control.49
  |Mic1 Capture Volume
+
  |Mic1 <span style="color:red">Capture Volume</span>
|
+
 
  |INTEGER
 
  |INTEGER
 
  |0-3
 
  |0-3
Line 725: Line 688:
 
  |control.50
 
  |control.50
 
  |DAI Mode
 
  |DAI Mode
|
 
 
  |ENUMERATED
 
  |ENUMERATED
 
  |DAI 0<br />DAI 1<br />DAI 2<br />DAI 3
 
  |DAI 0<br />DAI 1<br />DAI 2<br />DAI 3
  |DAI 0
+
  |style="background-color:Gold"|DAI 0
 
  |DAI 2
 
  |DAI 2
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
 
  |DAI 2
 
  |DAI 2
  |
+
  |style="background-color:Gold"|
 
  |-
 
  |-
 
  |control.51
 
  |control.51
 
  |ADC Data Select
 
  |ADC Data Select
|
 
 
  |ENUMERATED
 
  |ENUMERATED
 
  |Stereo<br />Left ADC<br />Right ADC<br />Channel Swap
 
  |Stereo<br />Left ADC<br />Right ADC<br />Channel Swap
Line 753: Line 714:
 
  |control.52
 
  |control.52
 
  |ROUT2 Phase
 
  |ROUT2 Phase
|
 
 
  |ENUMERATED
 
  |ENUMERATED
 
  |Non Inverted<br />Inverted
 
  |Non Inverted<br />Inverted
Line 767: Line 727:
 
  |control.53
 
  |control.53
 
  |Mic Selection Mux
 
  |Mic Selection Mux
|
 
 
  |ENUMERATED
 
  |ENUMERATED
 
  |Mic 1<br />Mic 2<br />Mic 3
 
  |Mic 1<br />Mic 2<br />Mic 3
Line 781: Line 740:
 
  |control.54
 
  |control.54
 
  |Rx Mixer
 
  |Rx Mixer
|
 
 
  |ENUMERATED
 
  |ENUMERATED
 
  |RXP - RXN<br />RXP + RXN<br />RXP<br />RXN
 
  |RXP - RXN<br />RXP + RXN<br />RXP<br />RXN
Line 795: Line 753:
 
  |control.55
 
  |control.55
 
  |Line Mixer
 
  |Line Mixer
|
 
 
  |ENUMERATED
 
  |ENUMERATED
 
  |Line 1 + 2<br />Line 1 - 2<br />Line 1<br />Line 2
 
  |Line 1 + 2<br />Line 1 - 2<br />Line 1<br />Line 2
Line 809: Line 766:
 
  |control.56
 
  |control.56
 
  |Line Mono Mux
 
  |Line Mono Mux
|
 
 
  |ENUMERATED
 
  |ENUMERATED
 
  |Line Mix<br />Rx Mix
 
  |Line Mix<br />Rx Mix
Line 823: Line 779:
 
  |control.57
 
  |control.57
 
  |Line Right Mux
 
  |Line Right Mux
|
 
 
  |ENUMERATED
 
  |ENUMERATED
 
  |Line 2<br />Rx Mix
 
  |Line 2<br />Rx Mix
  |Rx Mix
+
  |style="background-color:Gold"|Rx Mix
 
  |Line 2
 
  |Line 2
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
 
  |-
 
  |-
 
  |control.58
 
  |control.58
 
  |Line Left Mux
 
  |Line Left Mux
|
 
 
  |ENUMERATED
 
  |ENUMERATED
 
  |Line 1<br />Rx Mix
 
  |Line 1<br />Rx Mix
  |Rx Mix
+
  |style="background-color:Gold"|Rx Mix
 
  |Line 1
 
  |Line 1
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
 
  |-
 
  |-
 
  |control.59
 
  |control.59
  |ALC Mixer Line Capture Switch
+
  |ALC Mixer Line <span style="color:red">Capture Switch</span>
|
+
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
Line 864: Line 817:
 
  |-
 
  |-
 
  |control.60
 
  |control.60
  |ALC Mixer Mic2 Capture Switch
+
  |ALC Mixer Mic2 <span style="color:red">Capture Switch</span>
|
+
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
  |true
+
  |style="background-color:Gold"|true
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
 
  |-
 
  |-
 
  |control.61
 
  |control.61
  |ALC Mixer Mic1 Capture Switch
+
  |ALC Mixer Mic1 <span style="color:red">Capture Switch</span>
|
+
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
Line 892: Line 843:
 
  |-
 
  |-
 
  |control.62
 
  |control.62
  |ALC Mixer Rx Capture Switch
+
  |ALC Mixer Rx <span style="color:red">Capture Switch</span>
|
+
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
Line 907: Line 857:
 
  |control.63
 
  |control.63
 
  |Mic Sidetone Mux
 
  |Mic Sidetone Mux
|
 
 
  |ENUMERATED
 
  |ENUMERATED
 
  |Left PGA<br />Mic 1<br />Mic 2<br />Right PGA
 
  |Left PGA<br />Mic 1<br />Mic 2<br />Right PGA
  |Mic 2
+
  |style="background-color:Gold"|Mic 2
  |style="background-color:LavenderBlush"|Left PGA
+
  |style="background-color:Coral"|Left PGA
 
  |Mic 1
 
  |Mic 1
  |
+
  |style="background-color:Gold"|
  |style="background-color:LavenderBlush"|Left PGA
+
  |style="background-color:Coral"|Left PGA
  |style="background-color:LavenderBlush"|Left PGA
+
  |style="background-color:Coral"|Left PGA
  |style="background-color:LavenderBlush"|Left PGA
+
  |style="background-color:Coral"|Left PGA
  |style="background-color:LavenderBlush"|Left PGA
+
  |style="background-color:Coral"|Left PGA
 
  |-
 
  |-
 
  |control.64
 
  |control.64
 
  |Capture Right Mux
 
  |Capture Right Mux
|
 
 
  |ENUMERATED
 
  |ENUMERATED
 
  |PGA<br />Line or RXP-RXN<br />Sidetone
 
  |PGA<br />Line or RXP-RXN<br />Sidetone
Line 935: Line 883:
 
  |control.65
 
  |control.65
 
  |Capture Left Mux
 
  |Capture Left Mux
|
 
 
  |ENUMERATED
 
  |ENUMERATED
 
  |PGA<br />Line or RXP-RXN<br />Line
 
  |PGA<br />Line or RXP-RXN<br />Line
Line 949: Line 896:
 
  |control.66
 
  |control.66
 
  |Capture Right Mixer
 
  |Capture Right Mixer
|
 
 
  |ENUMERATED
 
  |ENUMERATED
 
  |Stereo<br />Analogue Mix Left<br />Analogue Mix Right<br />Digital Mono Mix
 
  |Stereo<br />Analogue Mix Left<br />Analogue Mix Right<br />Digital Mono Mix
  |Stereo
+
  |style="background-color:Gold"|Stereo
 
  |Analogue Mix Left
 
  |Analogue Mix Left
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
 
  |Analogue Mix Right
 
  |Analogue Mix Right
 
  |Analogue Mix Left
 
  |Analogue Mix Left
Line 963: Line 909:
 
  |control.67
 
  |control.67
 
  |Capture Left Mixer
 
  |Capture Left Mixer
|
 
 
  |ENUMERATED
 
  |ENUMERATED
 
  |Stereo<br />Analogue Mix Left<br />Analogue Mix Right<br />Digital Mono Mix
 
  |Stereo<br />Analogue Mix Left<br />Analogue Mix Right<br />Digital Mono Mix
  |Stereo
+
  |style="background-color:Gold"|Stereo
 
  |Analogue Mix Left
 
  |Analogue Mix Left
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
 
  |Analogue Mix Right
 
  |Analogue Mix Right
 
  |Analogue Mix Left
 
  |Analogue Mix Left
Line 977: Line 922:
 
  |control.68
 
  |control.68
 
  |Playback Mixer Voice Capture Sw
 
  |Playback Mixer Voice Capture Sw
|
 
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
Line 991: Line 935:
 
  |control.69
 
  |control.69
 
  |Playback Mixer Left Capture Swi
 
  |Playback Mixer Left Capture Swi
|
 
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
Line 1,005: Line 948:
 
  |control.70
 
  |control.70
 
  |Playback Mixer Right Capture Sw
 
  |Playback Mixer Right Capture Sw
|
 
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
  |false
+
  |style="background-color:Gold"|false
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
 
  |true
 
  |true
 
  |-
 
  |-
 
  |control.71
 
  |control.71
 
  |Out4 Mux
 
  |Out4 Mux
|
 
 
  |ENUMERATED
 
  |ENUMERATED
 
  |VREF<br />Capture ST<br />LOUT2
 
  |VREF<br />Capture ST<br />LOUT2
Line 1,033: Line 974:
 
  |control.72
 
  |control.72
 
  |Out3 Mux
 
  |Out3 Mux
|
 
 
  |ENUMERATED
 
  |ENUMERATED
 
  |VREF<br />ROUT2<br />Left + Right
 
  |VREF<br />ROUT2<br />Left + Right
Line 1,047: Line 987:
 
  |control.73
 
  |control.73
 
  |Mono 2 Mux
 
  |Mono 2 Mux
|
 
 
  |ENUMERATED
 
  |ENUMERATED
 
  |Inverted Mono 1<br />Left<br />Right<br />Left + Right
 
  |Inverted Mono 1<br />Left<br />Right<br />Left + Right
Line 1,060: Line 999:
 
  |-
 
  |-
 
  |control.74
 
  |control.74
  |Mono Mixer Left Playback Switch
+
  |Mono Mixer Left <span style="color:red">Playback Switch</span>
|
+
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
Line 1,075: Line 1,013:
 
  |control.75
 
  |control.75
 
  |Mono Mixer Right Playback Switc
 
  |Mono Mixer Right Playback Switc
|
 
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
Line 1,089: Line 1,026:
 
  |control.76
 
  |control.76
 
  |Mono Mixer Voice Playback Switc
 
  |Mono Mixer Voice Playback Switc
|
 
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
Line 1,103: Line 1,039:
 
  |control.77
 
  |control.77
 
  |Mono Mixer Sidetone Playback Sw
 
  |Mono Mixer Sidetone Playback Sw
|
 
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
  |true
+
  |style="background-color:Gold"|true
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
 
  |-
 
  |-
 
  |control.78
 
  |control.78
 
  |Mono Mixer Bypass Playback Swit
 
  |Mono Mixer Bypass Playback Swit
|
 
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
Line 1,131: Line 1,065:
 
  |control.79
 
  |control.79
 
  |Right Mixer Voice Playback Swit
 
  |Right Mixer Voice Playback Swit
|
 
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
Line 1,145: Line 1,078:
 
  |control.80
 
  |control.80
 
  |Right Mixer Sidetone Playback S
 
  |Right Mixer Sidetone Playback S
|
 
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
Line 1,159: Line 1,091:
 
  |control.81
 
  |control.81
 
  |Right Mixer Right Playback Swit
 
  |Right Mixer Right Playback Swit
|
 
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
  |false
+
  |style="background-color:Gold"|false
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |style="background-color:LavenderBlush"|true
+
  |style="background-color:Coral"|true
  |style="background-color:LavenderBlush"|true
+
  |style="background-color:Coral"|true
  |style="background-color:LavenderBlush"|true
+
  |style="background-color:Coral"|true
  |
+
  |style="background-color:Gold"|
 
  |-
 
  |-
 
  |control.82
 
  |control.82
 
  |Right Mixer Bypass Playback Swi
 
  |Right Mixer Bypass Playback Swi
|
 
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
  |true
+
  |style="background-color:Gold"|true
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
 
  |-
 
  |-
 
  |control.83
 
  |control.83
 
  |Left Mixer Voice Playback Switc
 
  |Left Mixer Voice Playback Switc
|
 
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
Line 1,201: Line 1,130:
 
  |control.84
 
  |control.84
 
  |Left Mixer Sidetone Playback Sw
 
  |Left Mixer Sidetone Playback Sw
|
 
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
Line 1,214: Line 1,142:
 
  |-
 
  |-
 
  |control.85
 
  |control.85
  |Left Mixer Left Playback Switch
+
  |Left Mixer Left Playback <span style="color:red">Switch</span>
|
+
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
  |false
+
  |style="background-color:Gold"|false
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |style="background-color:LavenderBlush"|true
+
  |style="background-color:Coral"|true
  |style="background-color:LavenderBlush"|true
+
  |style="background-color:Coral"|true
  |style="background-color:LavenderBlush"|true
+
  |style="background-color:Coral"|true
  |
+
  |style="background-color:Gold"|
 
  |-
 
  |-
 
  |control.86
 
  |control.86
 
  |Left Mixer Bypass Playback Swit
 
  |Left Mixer Bypass Playback Swit
|
 
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
  |true
+
  |style="background-color:Gold"|true
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
 
  |-
 
  |-
 
  |control.87
 
  |control.87
  |DAPM Stereo Out Switch
+
  |DAPM Stereo Out <span style="color:red">Switch</span>
|
+
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
  |false
+
  |style="background-color:Gold"|false
  |
+
  |style="background-color:Gold"|
  |style="background-color:LavenderBlush"|true
+
  |style="background-color:Coral"|true
  |style="background-color:LavenderBlush"|true
+
  |style="background-color:Coral"|true
  |style="background-color:LavenderBlush"|true
+
  |style="background-color:Coral"|true
  |style="background-color:LavenderBlush"|true
+
  |style="background-color:Coral"|true
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
 
  |-
 
  |-
 
  |control.88
 
  |control.88
  |DAPM GSM Line Out Switch
+
  |DAPM GSM Line Out <span style="color:red">Switch</span>
|
+
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
  |true
+
  |style="background-color:Gold"|true
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
  |
+
  |style="background-color:Gold"|
 
  |-
 
  |-
 
  |control.89
 
  |control.89
  |DAPM GSM Line In Switch
+
  |DAPM GSM Line In <span style="color:red">Switch</span>
|
+
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
  |true
+
  |style="background-color:Gold"|true
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
  |
+
  |style="background-color:Gold"|
 
  |-
 
  |-
 
  |control.90
 
  |control.90
  |DAPM Headset Mic Switch
+
  |DAPM Headset Mic <span style="color:red">Switch</span>
|
+
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
  |true
+
  |style="background-color:Gold"|true
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
 
  |-
 
  |-
 
  |control.91
 
  |control.91
  |DAPM Handset Mic Switch
+
  |DAPM Handset Mic <span style="color:red">Switch</span>
|
+
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
  |true
+
  |style="background-color:Gold"|true
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
  |
+
  |style="background-color:Gold"|
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
 
  |-
 
  |-
 
  |control.92
 
  |control.92
  |DAPM Handset Spk Switch
+
  |DAPM Handset Spk <span style="color:red">Switch</span>
|
+
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
  |true
+
  |style="background-color:Gold"|true
  |
+
  |style="background-color:Gold"|
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
  |
+
  |style="background-color:Gold"|
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
  |style="background-color:LavenderBlush"|false
+
  |style="background-color:Coral"|false
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
 
  |-
 
  |-
 
  |control.93
 
  |control.93
  |Amp State Switch
+
  |Amp State <span style="color:red">Switch</span>
|
+
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
  |false
+
  |style="background-color:Gold"|false
  |style="background-color:LavenderBlush"|true
+
  |style="background-color:Coral"|true
  |style="background-color:LavenderBlush"|true
+
  |style="background-color:Coral"|true
  |style="background-color:LavenderBlush"|true
+
  |style="background-color:Coral"|true
  |style="background-color:LavenderBlush"|true
+
  |style="background-color:Coral"|true
  |style="background-color:LavenderBlush"|true
+
  |style="background-color:Coral"|true
  |style="background-color:LavenderBlush"|true
+
  |style="background-color:Coral"|true
  |
+
  |style="background-color:Gold"|
 
  |-
 
  |-
 
  |control.94
 
  |control.94
  |Amp Spk Switch
+
  |Amp Spk <span style="color:red">Switch</span>
|
+
 
  |BOOLEAN
 
  |BOOLEAN
 
  |true/false
 
  |true/false
  |false
+
  |style="background-color:Gold"|false
 
  |true
 
  |true
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
  |
+
  |style="background-color:Gold"|
 
  |true
 
  |true
 
  |true
 
  |true
  |
+
  |style="background-color:Gold"|
 
  |}
 
  |}
 +
 +
== state files in SHR unstable ==
 +
In SHR unstable state files are in /etc/freesmartphone/conf/openmoko_gta/alsa-2.6.31
  
 
[[Category:Audio]]
 
[[Category:Audio]]

Latest revision as of 20:25, 14 July 2010

Contents

[edit] Background links

[edit] Needed commands

  • amixer
  • alsamixer
  • alsactl
  • AT commands to the GSM chip (AT CLVL, and lindi- knows some more too)

[edit] The .state file

control.23 {
    comment.access 'read write'
    comment.type BOOLEAN
    comment.count 2
    iface MIXER
    name 'Capture ZC Switch'
    value.0 false
    value.1 false
}

[edit] Directives

 control.23 -- name of the control block
 comment.access -- 'read write' (all the 94 control has it)
 comment.type -- BOOLEAN, ENUMERATED, INTEGER
 comment.count -- 1 or 2 (the number of parameters)
 iface MIXER -- all the 94 control has it
 name 'Capture ZC Switch' --
 value.0, value.1, value -- true, false, 0, 7, 110, 127, 'Linear Control', '3.4Hz @48kHz', HiFi, Off, VREF

[edit] Table

Number Name type range gsmhandset capturehandset gsmheadset gsmspeakerout headset stereout voip-handset gsmbluetooth
control.1 PCM Volume INTEGER 0-255 0
0
255
255
235
235
235
235
235
235
235
235
control.2 ADC Capture Volume INTEGER 0-255 0
0
195
195
195
195
195
195
195
195
195
195
control.3 Headphone Playback Volume INTEGER 0-127 0
0
121
121
96
96
127
127
127
127
127
127
127
127
0
0
control.4 Speaker Playback Volume INTEGER 0-127 127
127
121
121
0
0
0
0
0
0
0
0
0
0
0
0
control.5 Mono Playback Volume INTEGER 0-127 110 121 103 103 121 121 121 79
control.6 Bypass Playback Volume INTEGER 0-7 7
7
2
2
2
2
2
2
2
2
6
6
control.7 Sidetone Playback Volume INTEGER 0-7 0
0
2
2
2
2
2
2
6
6
control.8 Voice Playback Volume INTEGER 0-7 0
0
2
2
2
2
2
2
2
2
7
7
control.9 Headphone Playback ZC Switch BOOLEAN true/false false
false
control.10 Speaker Playback ZC Switch BOOLEAN true/false false
false
control.11 Mono Bypass Playback Volume INTEGER 0-7 0 2 2 2 2 5
control.12 Mono Sidetone Playback Volume INTEGER 0-7 7 2 5 6 2 2 2 5
control.13 Mono Voice Playback Volume INTEGER 0-7 0 2 2 2 2 4
control.14 Mono Playback ZC Switch BOOLEAN true/false false
control.15 Bass Boost ENUMERATED Linear Control
Adaptive Boost
Linear Control
control.16 Bass Filter ENUMERATED 130Hz @ 48kHz
200Hz @ 48kHz
100Hz @ 16kHz
400Hz @ 48kHz
100Hz @ 8kHz
200Hz @ 8kHz
130Hz @ 48kHz
control.17 Bass Volume INTEGER 0-15 0 8
control.18 Treble Volume INTEGER 0-15 0 7 8
control.19 Treble Cut-off ENUMERATED 8kHz
4kHz
8kHz
control.20 Sidetone Capture Volume INTEGER 0-7 0
0
2
2
2
2
2
2
2
2
control.21 Voice Sidetone Capture Volume INTEGER 0-7 2
control.22 Capture Volume INTEGER 0-63 0
0
23
23
23
23
23
23
47
47
48
48
control.23 Capture ZC Switch BOOLEAN true/false false
false
control.24 Capture Switch BOOLEAN true/false true
true
false
false
false
false
control.25 Capture Filter Select ENUMERATED 3.4Hz @ 48kHz
82Hz @ 16k
82Hz @ 8kHz
170Hz @ 8kHz
3.4Hz @ 48kHz 83 Hz @ 8kHz
control.26 Capture Filter Cut-off ENUMERATED HiFi
Voice
HiFi Voice
control.27 Capture Filter Switch BOOLEAN true/false false true true true true true
control.28 ALC Capture Target Volume INTEGER 0-7 0 3 3 3 3 4
control.29 ALC Capture Max Volume INTEGER 0-7 0 7 7 7 7 5
control.30 ALC Capture Function ENUMERATED Off
Right
Left
Stereo
Off
control.31 ALC Capture ZC Switch BOOLEAN true/false false
control.32 ALC Capture Hold Time INTEGER 0-15 0 15 15 15 15 4
control.33 ALC Capture Decay Time INTEGER 0-15 0 12 12 12 12 8
control.34 ALC Capture Attack Time INTEGER 0-15 0 2 2 2 2 2
control.35 ALC Capture NG Threshold INTEGER 0-31 0 7
control.36 ALC Capture NG Type ENUMERATED Constant PGA Gain
Mute ADC Output
Mute ADC Output Constant PGA Gain Constant PGA Gain Constant PGA Gain Constant PGA Gain Constant PGA Gain
control.37 ALC Capture NG Switch BOOLEAN true/false false
control.38 3D Function ENUMERATED Capture
Playback
Capture
control.39 3D Upper Cut-off ENUMERATED 2.2kHz
1.5kHz
2.2kHz
control.40 3D Lower Cut-off ENUMERATED 200Hz
500Hz
200Hz
control.41 3D Volume INTEGER 0-15 0 8
control.42 3D Switch BOOLEAN true/false false
control.43 Capture 6dB Attenuate BOOLEAN true/false false
control.44 Playback 6dB Attenuate BOOLEAN true/false false
control.45 De-emphasis ENUMERATED None
32kHz
44.1kHz
48kHz
None
control.46 Playback Mono Mix ENUMERATED Stereo
Left
Right
Mono
Stereo
control.47 Playback Phase ENUMERATED Non Inverted
Inverted
Non Inverted
control.48 Mic2 Capture Volume INTEGER 0-3 3 0 0 0 0 2
control.49 Mic1 Capture Volume INTEGER 0-3 0 3
control.50 DAI Mode ENUMERATED DAI 0
DAI 1
DAI 2
DAI 3
DAI 0 DAI 2 DAI 2
control.51 ADC Data Select ENUMERATED Stereo
Left ADC
Right ADC
Channel Swap
Stereo Left ADC
control.52 ROUT2 Phase ENUMERATED Non Inverted
Inverted
Inverted
control.53 Mic Selection Mux ENUMERATED Mic 1
Mic 2
Mic 3
Mic 1
control.54 Rx Mixer ENUMERATED RXP - RXN
RXP + RXN
RXP
RXN
RXP - RXN
control.55 Line Mixer ENUMERATED Line 1 + 2
Line 1 - 2
Line 1
Line 2
Line 1 + 2 Line 1 - 2
control.56 Line Mono Mux ENUMERATED Line Mix
Rx Mix
Line Mix Rx Mix
control.57 Line Right Mux ENUMERATED Line 2
Rx Mix
Rx Mix Line 2
control.58 Line Left Mux ENUMERATED Line 1
Rx Mix
Rx Mix Line 1
control.59 ALC Mixer Line Capture Switch BOOLEAN true/false false
control.60 ALC Mixer Mic2 Capture Switch BOOLEAN true/false true false false false false
control.61 ALC Mixer Mic1 Capture Switch BOOLEAN true/false false
control.62 ALC Mixer Rx Capture Switch BOOLEAN true/false false true
control.63 Mic Sidetone Mux ENUMERATED Left PGA
Mic 1
Mic 2
Right PGA
Mic 2 Left PGA Mic 1 Left PGA Left PGA Left PGA Left PGA
control.64 Capture Right Mux ENUMERATED PGA
Line or RXP-RXN
Sidetone
PGA Sidetone
control.65 Capture Left Mux ENUMERATED PGA
Line or RXP-RXN
Line
PGA
control.66 Capture Right Mixer ENUMERATED Stereo
Analogue Mix Left
Analogue Mix Right
Digital Mono Mix
Stereo Analogue Mix Left Analogue Mix Right Analogue Mix Left
control.67 Capture Left Mixer ENUMERATED Stereo
Analogue Mix Left
Analogue Mix Right
Digital Mono Mix
Stereo Analogue Mix Left Analogue Mix Right Analogue Mix Left
control.68 Playback Mixer Voice Capture Sw BOOLEAN true/false false true
control.69 Playback Mixer Left Capture Swi BOOLEAN true/false false true
control.70 Playback Mixer Right Capture Sw BOOLEAN true/false false true
control.71 Out4 Mux ENUMERATED VREF
Capture ST
LOUT2
VREF
control.72 Out3 Mux ENUMERATED VREF
ROUT2
Left + Right
VREF
control.73 Mono 2 Mux ENUMERATED Inverted Mono 1
Left
Right
Left + Right
Inverted Mono 1
control.74 Mono Mixer Left Playback Switch BOOLEAN true/false false
control.75 Mono Mixer Right Playback Switc BOOLEAN true/false false
control.76 Mono Mixer Voice Playback Switc BOOLEAN true/false false true
control.77 Mono Mixer Sidetone Playback Sw BOOLEAN true/false true false false false false false
control.78 Mono Mixer Bypass Playback Swit BOOLEAN true/false false
control.79 Right Mixer Voice Playback Swit BOOLEAN true/false false
control.80 Right Mixer Sidetone Playback S BOOLEAN true/false false
control.81 Right Mixer Right Playback Swit BOOLEAN true/false false true true true
control.82 Right Mixer Bypass Playback Swi BOOLEAN true/false true false false false false false
control.83 Left Mixer Voice Playback Switc BOOLEAN true/false false
control.84 Left Mixer Sidetone Playback Sw BOOLEAN true/false false
control.85 Left Mixer Left Playback Switch BOOLEAN true/false false true true true
control.86 Left Mixer Bypass Playback Swit BOOLEAN true/false true false false false false false
control.87 DAPM Stereo Out Switch BOOLEAN true/false false true true true true
control.88 DAPM GSM Line Out Switch BOOLEAN true/false true false false false
control.89 DAPM GSM Line In Switch BOOLEAN true/false true false false false
control.90 DAPM Headset Mic Switch BOOLEAN true/false true false false false false
control.91 DAPM Handset Mic Switch BOOLEAN true/false true false false false
control.92 DAPM Handset Spk Switch BOOLEAN true/false true false false false
control.93 Amp State Switch BOOLEAN true/false false true true true true true true
control.94 Amp Spk Switch BOOLEAN true/false false true true true

[edit] state files in SHR unstable

In SHR unstable state files are in /etc/freesmartphone/conf/openmoko_gta/alsa-2.6.31

Personal tools

The .state file

control.23 {
    comment.access 'read write'
    comment.type BOOLEAN
    comment.count 2
    iface MIXER
    name 'Capture ZC Switch'
    value.0 false
    value.1 false
}

Directives

 control.23 -- name of the control block
 comment.access -- 'read write' (all the 94 control has it)
 comment.type -- BOOLEAN, ENUMERATED, INTEGER
 comment.count -- 1 or 2 (the number of parameters)
 iface MIXER -- all the 94 control has it
 name 'Capture ZC Switch' --
 value.0, value.1, value -- true, false, 0, 7, 110, 127, 'Linear Control', '3.4Hz @48kHz', HiFi, Off, VREF

Table

Number Name Amixer name type range gsmhandset capturehandset gsmheadset gsmspeakerout headset stereout voip-handset gsmbluetooth
control.1 PCM Volume ? INTEGER 0-255 0
0
255
255
235
235
235
235
235
235
235
235
control.2 ADC Capture Volume INTEGER 0-255 0
0
195
195
195
195
195
195
195
195
195
195
control.3 Headphone Playback Volume INTEGER 0-127 0
0
121
121
96
96
127
127
127
127
127
127
127
127
0
0
control.4 Speaker Playback Volume INTEGER 0-127 127
127
121
121
0
0
0
0
0
0
0
0
0
0
0
0
control.5 Mono Playback Volume INTEGER 0-127 110 121 103 103 121 121 121 79
control.6 Bypass Playback Volume INTEGER 0-7 7
7
2
2
2
2
2
2
2
2
6
6
control.7 Sidetone Playback Volume INTEGER 0-7 0
0
2
2
2
2
2
2
6
6
control.8 Voice Playback Volume INTEGER 0-7 0
0
2
2
2
2
2
2
2
2
7
7
control.9 Headphone Playback ZC Switch BOOLEAN true/false false
false
control.10 Speaker Playback ZC Switch BOOLEAN true/false false
false
control.11 Mono Bypass Playback Volume INTEGER 0-7 0 2 2 2 2 5
control.12 Mono Sidetone Playback Volume INTEGER 0-7 7 2 5 6 2 2 2 5
control.13 Mono Voice Playback Volume INTEGER 0-7 0 2 2 2 2 4
control.14 Mono Playback ZC Switch BOOLEAN true/false false
control.15 Bass Boost ENUMERATED Linear Control
Adaptive Boost
Linear Control
control.16 Bass Filter ENUMERATED 130Hz @ 48kHz
200Hz @ 48kHz
100Hz @ 16kHz
400Hz @ 48kHz
100Hz @ 8kHz
200Hz @ 8kHz
130Hz @ 48kHz
control.17 Bass Volume INTEGER 0-15 0 8
control.18 Treble Volume INTEGER 0-15 0 7 8
control.19 Treble Cut-off ENUMERATED 8kHz
4kHz
8kHz
control.20 Sidetone Capture Volume INTEGER 0-7 0
0
2
2
2
2
2
2
2
2
control.21 Voice Sidetone Capture Volume INTEGER 0-7 2
control.22 Capture Volume INTEGER 0-63 0
0
23
23
23
23
23
23
47
47
48
48
control.23 Capture ZC Switch BOOLEAN true/false false
false
control.24 Capture Switch BOOLEAN true/false true
true
false
false
false
false
control.25 Capture Filter Select ENUMERATED 3.4Hz @ 48kHz
82Hz @ 16k
82Hz @ 8kHz
170Hz @ 8kHz
3.4Hz @ 48kHz 83 Hz @ 8kHz
control.26 Capture Filter Cut-off ENUMERATED HiFi
Voice
HiFi Voice
control.27 Capture Filter Switch BOOLEAN true/false false true true true true true
control.28 ALC Capture Target Volume INTEGER 0-7 0 3 3 3 3 4
control.29 ALC Capture Max Volume INTEGER 0-7 0 7 7 7 7 5
control.30 ALC Capture Function ENUMERATED Off
Right
Left
Stereo
Off
control.31 ALC Capture ZC Switch BOOLEAN true/false false
control.32 ALC Capture Hold Time INTEGER 0-15 0 15 15 15 15 4
control.33 ALC Capture Decay Time INTEGER 0-15 0 12 12 12 12 8
control.34 ALC Capture Attack Time INTEGER 0-15 0 2 2 2 2 2
control.35 ALC Capture NG Threshold INTEGER 0-31 0 7
control.36 ALC Capture NG Type ENUMERATED Constant PGA Gain
Mute ADC Output
Mute ADC Output Constant PGA Gain Constant PGA Gain Constant PGA Gain Constant PGA Gain Constant PGA Gain
control.37 ALC Capture NG Switch BOOLEAN true/false false
control.38 3D Function ENUMERATED Capture
Playback
Capture
control.39 3D Upper Cut-off ENUMERATED 2.2kHz
1.5kHz
2.2kHz
control.40 3D Lower Cut-off ENUMERATED 200Hz
500Hz
200Hz
control.41 3D Volume INTEGER 0-15 0 8
control.42 3D Switch BOOLEAN true/false false
control.43 Capture 6dB Attenuate BOOLEAN true/false false
control.44 Playback 6dB Attenuate BOOLEAN true/false false
control.45 De-emphasis ENUMERATED None
32kHz
44.1kHz
48kHz
None
control.46 Playback Mono Mix ENUMERATED Stereo
Left
Right
Mono
Stereo
control.47 Playback Phase ENUMERATED Non Inverted
Inverted
Non Inverted
control.48 Mic2 Capture Volume INTEGER 0-3 3 0 0 0 0 2
control.49 Mic1 Capture Volume INTEGER 0-3 0 3
control.50 DAI Mode ENUMERATED DAI 0
DAI 1
DAI 2
DAI 3
DAI 0 DAI 2 DAI 2
control.51 ADC Data Select ENUMERATED Stereo
Left ADC
Right ADC
Channel Swap
Stereo Left ADC
control.52 ROUT2 Phase ENUMERATED Non Inverted
Inverted
Inverted
control.53 Mic Selection Mux ENUMERATED Mic 1
Mic 2
Mic 3
Mic 1
control.54 Rx Mixer ENUMERATED RXP - RXN
RXP + RXN
RXP
RXN
RXP - RXN
control.55 Line Mixer ENUMERATED Line 1 + 2
Line 1 - 2
Line 1
Line 2
Line 1 + 2 Line 1 - 2
control.56 Line Mono Mux ENUMERATED Line Mix
Rx Mix
Line Mix Rx Mix
control.57 Line Right Mux ENUMERATED Line 2
Rx Mix
Rx Mix Line 2
control.58 Line Left Mux ENUMERATED Line 1
Rx Mix
Rx Mix Line 1
control.59 ALC Mixer Line Capture Switch BOOLEAN true/false false
control.60 ALC Mixer Mic2 Capture Switch BOOLEAN true/false true false false false false
control.61 ALC Mixer Mic1 Capture Switch BOOLEAN true/false false
control.62 ALC Mixer Rx Capture Switch BOOLEAN true/false false true
control.63 Mic Sidetone Mux ENUMERATED Left PGA
Mic 1
Mic 2
Right PGA
Mic 2 Left PGA Mic 1 Left PGA Left PGA Left PGA Left PGA
control.64 Capture Right Mux ENUMERATED PGA
Line or RXP-RXN
Sidetone
PGA Sidetone
control.65 Capture Left Mux ENUMERATED PGA
Line or RXP-RXN
Line
PGA
control.66 Capture Right Mixer ENUMERATED Stereo
Analogue Mix Left
Analogue Mix Right
Digital Mono Mix
Stereo Analogue Mix Left Analogue Mix Right Analogue Mix Left
control.67 Capture Left Mixer ENUMERATED Stereo
Analogue Mix Left
Analogue Mix Right
Digital Mono Mix
Stereo Analogue Mix Left Analogue Mix Right Analogue Mix Left
control.68 Playback Mixer Voice Capture Sw BOOLEAN true/false false true
control.69 Playback Mixer Left Capture Swi BOOLEAN true/false false true
control.70 Playback Mixer Right Capture Sw BOOLEAN true/false false true
control.71 Out4 Mux ENUMERATED VREF
Capture ST
LOUT2
VREF
control.72 Out3 Mux ENUMERATED VREF
ROUT2
Left + Right
VREF
control.73 Mono 2 Mux ENUMERATED Inverted Mono 1
Left
Right
Left + Right
Inverted Mono 1
control.74 Mono Mixer Left Playback Switch BOOLEAN true/false false
control.75 Mono Mixer Right Playback Switc BOOLEAN true/false false
control.76 Mono Mixer Voice Playback Switc BOOLEAN true/false false true
control.77 Mono Mixer Sidetone Playback Sw BOOLEAN true/false true false false false false false
control.78 Mono Mixer Bypass Playback Swit BOOLEAN true/false false
control.79 Right Mixer Voice Playback Swit BOOLEAN true/false false
control.80 Right Mixer Sidetone Playback S BOOLEAN true/false false
control.81 Right Mixer Right Playback Swit BOOLEAN true/false false true true true
control.82 Right Mixer Bypass Playback Swi BOOLEAN true/false true false false false false false
control.83 Left Mixer Voice Playback Switc BOOLEAN true/false false
control.84 Left Mixer Sidetone Playback Sw BOOLEAN true/false false
control.85 Left Mixer Left Playback Switch BOOLEAN true/false false true true true
control.86 Left Mixer Bypass Playback Swit BOOLEAN true/false true false false false false false
control.87 DAPM Stereo Out Switch BOOLEAN true/false false true true true true
control.88 DAPM GSM Line Out Switch BOOLEAN true/false true false false false
control.89 DAPM GSM Line In Switch BOOLEAN true/false true false false false
control.90 DAPM Headset Mic Switch BOOLEAN true/false true false false false false
control.91 DAPM Handset Mic Switch BOOLEAN true/false true false false false
control.92 DAPM Handset Spk Switch BOOLEAN true/false true false false false
control.93 Amp State Switch BOOLEAN true/false false true true true true true true
control.94 Amp Spk Switch BOOLEAN true/false false true true true