alsa-state: Using one unified version to set default values for mx6/mx6ul/mx7
PATCH v2 1/1 alsa-state: Using one unified version to set default values for mx6/mx6ul/mx7
*asound.conf: Update asound.conf to set default ctrl for kernel 4.1
The default ctrl is missing from /etc/asound.conf.
If don't using “-Dhw:0”, the sound will rout from alsa to pulseaudio, then to the sound device.
*asound.state: Using one unified file to cover mx6/mx6ul/mx7
wm8958/wm8960 audio configuration for mx6ul/mx7 wm8962 audio configuration for mx6
---
recipes-bsp/alsa-state/alsa-state.bbappend | 7 +-
.../alsa-state/alsa-state/{mx6 => imx}/asound.conf | 5 +
.../alsa-state/{mx7 => imx}/asound.state | 800 +++++++++---
recipes-bsp/alsa-state/alsa-state/mx6/asound.state | 1374 --------------------
recipes-bsp/alsa-state/alsa-state/mx7/asound.conf | 257 ----
5 files changed, 642 insertions(+), 1801 deletions(-)
rename recipes-bsp/alsa-state/alsa-state/{mx6 => imx}/asound.conf (98%)
mode change 100644 => 100755
rename recipes-bsp/alsa-state/alsa-state/{mx7 => imx}/asound.state (90%)
mode change 100644 => 100755
delete mode 100644 recipes-bsp/alsa-state/alsa-state/mx6/asound.state
delete mode 100644 recipes-bsp/alsa-state/alsa-state/mx7/asound.confrecipes-bsp/alsa-state/alsa-state.bbappend +5 -2
@@ -1,5 +1,8 @@ # Append path for freescale layer to include alsa-state asound.conf -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" +FILESEXTRAPATHS_prepend_mx6 := "${THISDIR}/${PN}/imx:" +FILESEXTRAPATHS_prepend_mx6ul := "${THISDIR}/${PN}/imx:" +FILESEXTRAPATHS_prepend_mx7 := "${THISDIR}/${PN}/imx:" -PACKAGE_ARCH_mx7 = "${MACHINE_ARCH}" PACKAGE_ARCH_mx6 = "${MACHINE_ARCH}" +PACKAGE_ARCH_mx6ul = "${MACHINE_ARCH}" +PACKAGE_ARCH_mx7 = "${MACHINE_ARCH}"
recipes-bsp/alsa-state/alsa-state/imx/asound.conf renamed from recipes-bsp/alsa-state/alsa-state/mx6/asound.conf +5 -0
@@ -251,6 +251,11 @@ route_policy "average" slave.pcm "asymed" } +ctl.!default{ +type hw +card 0 +} + ctl.mixer0{ type hw card 0
recipes-bsp/alsa-state/alsa-state/imx/asound.state renamed from recipes-bsp/alsa-state/alsa-state/mx7/asound.state +632 -168
1,605 lines not on this page · raw message
recipes-bsp/alsa-state/alsa-state/mx6/asound.state deleted +0 -1374
1,374 lines not on this page · raw message
recipes-bsp/alsa-state/alsa-state/mx7/asound.conf deleted +0 -257
257 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.9.1
Part of the diff is not shown here. View the raw message.
Hello Carol,
Quoted 10 lines · Yuqing Zhu
*asound.conf: Update asound.conf to set default ctrl for kernel 4.1
The default ctrl is missing from/etc/asound.conf.
If don't using “-Dhw:0”, the sound will rout from alsa to pulseaudio, then to the sound device.*asound.state: Using one unified file to cover mx6/mx6ul/mx7
wm8958/wm8960 audio configuration for mx6ul/mx7 wm8962 audio configuration for mx6Signed-off-by Yuqing Zhu <[email protected]>
...
recipes-bsp/alsa-state/alsa-state.bbappend line 4
Quoted 8 lines
recipes-bsp/alsa-state/alsa-state.bbappend +3
-1@@ -1,5 +1,8 @@ # Append path for freescale layer to include alsa-state asound.conf -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" +FILESEXTRAPATHS_prepend_mx6 := "${THISDIR}/${PN}/imx:" +FILESEXTRAPATHS_prepend_mx6ul := "${THISDIR}/${PN}/imx:" +FILESEXTRAPATHS_prepend_mx7 := "${THISDIR}/${PN}/imx:"
I really this :-) I am afraid this cannot be merged until we start moving for the 4.1 kernel. Am I right?
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Hi Otavio,
I will keep the asound.conf updating patch until we start moving to next.
For now, I will just upstream the alsa-state patch about unifying the configuration files for mx6/mx6ul/mx7 for the current 3.14 kernel. Please help to review my third patch.
Thanks!
B.R.
Carol
-----Original Message-----
From: Otavio Salvador [mailto:[email protected]]
Sent: Tuesday, March 01, 2016 6:59 PM
To: Yuqing Zhu <[email protected]>
Cc: [email protected]
Subject: Re: [meta-freescale] [meta-fsl-arm][PATCH v2] alsa-state: Using one unified version to set default values for mx6/mx6ul/mx7
Hello Carol,
Quoted 10 lines · Yuqing Zhu
*asound.conf: Update asound.conf to set default ctrl for kernel 4.1 The default ctrl is missing from
/etc/asound.conf.
If don't using “-Dhw:0”, the sound will rout from alsa to pulseaudio,
then to the sound device.*asound.state: Using one unified file to cover mx6/mx6ul/mx7
wm8958/wm8960 audio configuration for mx6ul/mx7 wm8962 audio configuration for mx6Signed-off-by Yuqing Zhu <[email protected]>
...
recipes-bsp/alsa-state/alsa-state.bbappend line 4
Quoted 8 lines
recipes-bsp/alsa-state/alsa-state.bbappend +3
-1@@ -1,5 +1,8 @@ # Append path for freescale layer to include alsa-state asound.conf -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" +FILESEXTRAPATHS_prepend_mx6 := "${THISDIR}/${PN}/imx:" +FILESEXTRAPATHS_prepend_mx6ul := "${THISDIR}/${PN}/imx:" +FILESEXTRAPATHS_prepend_mx7 := "${THISDIR}/${PN}/imx:"
I really this :-) I am afraid this cannot be merged until we start moving for the 4.1 kernel. Am I right?
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750