[meta-freescale] [meta-fsl-arm][PATCH 1/2] asound.conf: Update asound.conf to set default ctrl for kernel 4.1

Yuqing Zhu carol.zhu at nxp.com
Mon May 9 01:52:59 PDT 2016


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.

Signed-off-by: Yuqing Zhu <carol.zhu at nxp.com>
---
 recipes-bsp/alsa-state/alsa-state/imx/asound.conf | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/recipes-bsp/alsa-state/alsa-state/imx/asound.conf b/recipes-bsp/alsa-state/alsa-state/imx/asound.conf
index 3f4e048..7f8eef1 100644
--- a/recipes-bsp/alsa-state/alsa-state/imx/asound.conf
+++ b/recipes-bsp/alsa-state/alsa-state/imx/asound.conf
@@ -251,6 +251,11 @@ route_policy "average"
 slave.pcm "asymed"
 }
 
+ctl.!default{
+type hw
+card 0
+}
+
 ctl.mixer0{
 type hw
 card 0
-- 
1.9.1



More information about the meta-freescale mailing list