Audio play(aplay) not working in SGTL5000XNAA3OR2 codec

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Audio play(aplay) not working in SGTL5000XNAA3OR2 codec

1,735 次查看
yashavanthashet
Contributor V

Hi,

We are using a custom board with i.MX6 Solo and we ported SGTL5000 audio driver to it using 3.10.17 yocto release source code.

But the problem is we are not able to play the audio using aplay command. when aplay given sgtl codec hangs and we need to give ctrl+c to come out.

We are using single codec for both audio in and out.

We observed 2 cases.

case 1:

----------

After resetting board if we give arecord before aplay it wil record audio and we can play that recorded audio file in some other device. after that if you give aplay as usual will not work

case 2:

----------

After resetting board if aplay command is given before arecord it wil hang and after that arecord also does not works.

So we think that there is something issue with aplay or audio transmission which is blocking or stopping SGTL audio codec.

Requesting you to assist us in solving this issue.

We are using AUDMUX4.

SSI - 2,

Int-port - 2,

Ext-port - 4

dtsi

------

    sound {
            compatible = "fsl,imx6q","fsl,imx-audio-sgtl5000";
            model = "imx6-audio-sgtl5000";
            ssi-controller = <&ssi2>;
            audio-codec = <&codec>;
            audio-routing =
                    "MIC_IN", "Mic Jack",
                    "Mic Jack", "Mic Bias",
                    "Headphone Jack", "HP_OUT",
                    "Line Out Jack", "LINE_OUT";
            mux-int-port = <2>;
            mux-ext-port = <4>;
    };

Thanks and Regards,

Yashavantha

标签 (3)
0 项奖励
回复
2 回复数

1,043 次查看
jamesbone
NXP TechSupport
NXP TechSupport

I can also suggest that you take a look to the WandBoard BSP,  we know that wandboard has a sgtl5000 codec and audio playback works fine in the kernel provided by Yocto.

0 项奖励
回复

1,043 次查看
jamesbone
NXP TechSupport
NXP TechSupport

Hello  YAshavantha,

Can you please try the 3.14 kernel provided by Yocto?

0 项奖励
回复