aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorin Sarbu <florin.sarbu@windriver.com>2014-10-14 12:18:47 +0300
committerHolger Behrens <holger.behrens@windriver.com>2014-10-17 17:29:15 +0200
commit021b9196a0449b92ca2c50a62e8c83c408ac8e67 (patch)
treeee94da59d18ed64fc19fb9a56adb44f52a848027
parent667713e3737fade83f4257a4c0a9b5421ee8070b (diff)
downloadmeta-ivi-021b9196a0449b92ca2c50a62e8c83c408ac8e67.tar.gz
meta-ivi-021b9196a0449b92ca2c50a62e8c83c408ac8e67.tar.bz2
meta-ivi-021b9196a0449b92ca2c50a62e8c83c408ac8e67.zip
alsa-state: Add default asound.state file for Koelsch board
Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com> Signed-off-by: Holger Behrens <holger.behrens@windriver.com>
-rw-r--r--meta-ivi-demo/recipes-multimedia/alsa/alsa-state.bbappend4
-rw-r--r--meta-ivi-demo/recipes-multimedia/alsa/alsa-state/asound.state84
2 files changed, 85 insertions, 3 deletions
diff --git a/meta-ivi-demo/recipes-multimedia/alsa/alsa-state.bbappend b/meta-ivi-demo/recipes-multimedia/alsa/alsa-state.bbappend
index f61eebd..8678729 100644
--- a/meta-ivi-demo/recipes-multimedia/alsa/alsa-state.bbappend
+++ b/meta-ivi-demo/recipes-multimedia/alsa/alsa-state.bbappend
@@ -2,6 +2,4 @@ FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"
SRC_URI_append = " file://asound.conf"
-do_install_append() {
- cp ${WORKDIR}/asound.conf ${D}/etc
-}
+SRC_URI_append_koelsch = " file://asound.state"
diff --git a/meta-ivi-demo/recipes-multimedia/alsa/alsa-state/asound.state b/meta-ivi-demo/recipes-multimedia/alsa/alsa-state/asound.state
new file mode 100644
index 0000000..af0b108
--- /dev/null
+++ b/meta-ivi-demo/recipes-multimedia/alsa/alsa-state/asound.state
@@ -0,0 +1,84 @@
+state.SSI01AK4643 {
+ control.1 {
+ iface MIXER
+ name 'Digital Playback Volume'
+ value.0 231
+ value.1 231
+ comment {
+ access 'read write'
+ type INTEGER
+ count 2
+ range '0 - 255'
+ dbmin -9999999
+ dbmax 1200
+ dbvalue.0 0
+ dbvalue.1 0
+ }
+ }
+ control.2 {
+ iface MIXER
+ name 'LINEOUT Mixer DACL'
+ value true
+ comment {
+ access 'read write'
+ type BOOLEAN
+ count 1
+ }
+ }
+ control.3 {
+ iface MIXER
+ name 'Headphone Enable Switch'
+ value false
+ comment {
+ access 'read write'
+ type BOOLEAN
+ count 1
+ }
+ }
+ control.4 {
+ iface MIXER
+ name 'Playback ReConvert Rate'
+ value 0
+ comment {
+ access 'read write'
+ type INTEGER
+ count 1
+ range '0 - 192000 (step 1)'
+ }
+ }
+ control.5 {
+ iface MIXER
+ name 'Playback Volume'
+ value.0 75
+ value.1 75
+ comment {
+ access 'read write'
+ type INTEGER
+ count 2
+ range '0 - 100'
+ }
+ }
+ control.6 {
+ iface MIXER
+ name 'Capture ReConvert Rate'
+ value 0
+ comment {
+ access 'read write'
+ type INTEGER
+ count 1
+ range '0 - 192000 (step 1)'
+ }
+ }
+ control.7 {
+ iface MIXER
+ name 'Capture Volume'
+ value.0 75
+ value.1 75
+ comment {
+ access 'read write'
+ type INTEGER
+ count 2
+ range '0 - 100'
+ }
+ }
+}