Commit 8738fcb5 authored by Daiane Angolini's avatar Daiane Angolini

alsa-state: Add default state values for mx5/mx6/mxs

In order to create asound.state:

* alsamixer - adjust any parameter (i.e. volume)
* alsactl store - copy the current alsa parameters to
/var/lib/alsa/asound.state
* use asound.state as new default value

Change-Id: I4a313d8250207d13dd1c193a353f93b4f5b6f74e
Signed-off-by: 's avatarDaiane Angolini <daiane.angolini@freescale.com>
parent 7863ebfd
state.imx3stack {
control.1 {
iface MIXER
name 'MIC GAIN'
value '0dB'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 '0dB'
item.1 '20dB'
item.2 '30dB'
item.3 '40dB'
}
}
control.2 {
iface MIXER
name 'Capture Volume'
value.0 12
value.1 12
comment {
access 'read write'
type INTEGER
count 2
range '0 - 15'
}
}
control.3 {
iface MIXER
name 'Capture Vol Reduction'
value 'No Change'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 'No Change'
item.1 'Reduced by 6dB'
}
}
control.4 {
iface MIXER
name 'Playback Volume'
value.0 192
value.1 192
comment {
access 'read write'
type INTEGER
count 2
range '0 - 192'
}
}
control.5 {
iface MIXER
name 'Headphone Volume'
value.0 127
value.1 127
comment {
access 'read write'
type INTEGER
count 2
range '0 - 127'
}
}
control.6 {
iface MIXER
name 'DAC Mux'
value DAC
comment {
access 'read write'
type ENUMERATED
count 1
item.0 DAC
item.1 LINE_IN
}
}
control.7 {
iface MIXER
name 'ADC Mux'
value LINE_IN
comment {
access 'read write'
type ENUMERATED
count 1
item.0 MIC_IN
item.1 LINE_IN
}
}
control.8 {
iface MIXER
name ASRC
value disable
comment {
access 'read write'
type ENUMERATED
count 1
item.0 disable
item.1 '32KHz'
item.2 '44.1KHz'
item.3 '48KHz'
item.4 '96KHz'
}
}
control.9 {
iface MIXER
name 'Jack Function'
value on
comment {
access 'read write'
type ENUMERATED
count 1
item.0 off
item.1 on
}
}
control.10 {
iface MIXER
name 'Speaker Function'
value on
comment {
access 'read write'
type ENUMERATED
count 1
item.0 off
item.1 on
}
}
control.11 {
iface MIXER
name 'Line In Function'
value off
comment {
access 'read write'
type ENUMERATED
count 1
item.0 off
item.1 on
}
}
}
This diff is collapsed.
state.mxsevk {
control.1 {
iface MIXER
name 'MIC GAIN'
value '0dB'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 '0dB'
item.1 '20dB'
item.2 '30dB'
item.3 '40dB'
}
}
control.2 {
iface MIXER
name 'Capture Volume'
value.0 12
value.1 12
comment {
access 'read write'
type INTEGER
count 2
range '0 - 15'
}
}
control.3 {
iface MIXER
name 'Capture Vol Reduction'
value 'No Change'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 'No Change'
item.1 'Reduced by 6dB'
}
}
control.4 {
iface MIXER
name 'Playback Volume'
value.0 156
value.1 156
comment {
access 'read write'
type INTEGER
count 2
range '0 - 192'
}
}
control.5 {
iface MIXER
name 'Headphone Volume'
value.0 127
value.1 127
comment {
access 'read write'
type INTEGER
count 2
range '0 - 127'
}
}
control.6 {
iface MIXER
name 'DAC Mux'
value DAC
comment {
access 'read write'
type ENUMERATED
count 1
item.0 DAC
item.1 LINE_IN
}
}
control.7 {
iface MIXER
name 'ADC Mux'
value MIC_IN
comment {
access 'read write'
type ENUMERATED
count 1
item.0 MIC_IN
item.1 LINE_IN
}
}
}
state.mxsevk_1 {
control.1 {
iface MIXER
name PRO
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.2 {
iface MIXER
name AUDIO
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.3 {
iface MIXER
name COPY
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.4 {
iface MIXER
name PRE
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.5 {
iface MIXER
name CC
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 127'
}
}
control.6 {
iface MIXER
name L
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.7 {
iface MIXER
name V
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.8 {
iface MIXER
name 'USER DATA'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.9 {
iface MIXER
name 'AUTO MUTE'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.10 {
iface MIXER
name 'V CONFIG'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment