the sgtl5000 can't output in two channel(imx6q)

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

the sgtl5000 can't output in two channel(imx6q)

1,980 次查看
wangzhigang
Contributor III

hi,everyone

  I have a problem with sgtl5000 in imx6q.

  1.the mono format is OK,the left channel is normal,right is mute.

  #./aplay Front_Center.wav

  Playing WAVE 'Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono

  2.the stereo format is mute

  #./aplay voice/wav2/1-9/9.wav

  Playing WAVE 'voice/wav2/1-9/9.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

  aplay: pcm_write:1939: write error: Input/output error

  (kernel log)sound/core/pcm_lib.c:1944 playback write error (DMA or IRQ trouble?)

  our env:

  linux-3.10.53

  imx6q

  the dts:

  1.

  sound

  {

  compatible = "fsl,imx-audio-sgtl5000";

  model = "sgtl5000-audio";

  cpu-dai = <&ssi1>;

  audio-codec = <&codec>;

  audio-routing =

  "MIC_IN", "Mic Jack",

  "Mic Jack", "Mic Bias",

  "Headphone Jack", "HP_OUT",

  "Ext Spk", "LINE_OUT";

  mux-int-port = <1>;

  mux-ext-port = <5>;

  };

  2.

  &ssi1

  {

  fsl,mode = "i2s-slave";

  status = "okay";

  };

  sch:

  imx6q + sgtl5000 + Aamplifier + speaker(R/L)

Is everyone can help me?

Best wishes!

0 项奖励
回复
2 回复数

1,009 次查看
jimmychan
NXP TechSupport
NXP TechSupport

what is "aplay -l"?

if the sound card is 0, what is "aplay -D hw:0.0 voice/wav2/1-9/9.wav"?

have you set the volume in alsamixer?

0 项奖励
回复

1,009 次查看
wangzhigang
Contributor III

hi jimmychan,

     thanks for your replay.

     Finaly we found that the right channel AMP have some problem,so maybe the sofeware is OK.because if we disconnect the right channel AMP,every is OK(include the two channel headphone and the Line out left/right signal).but we still don't know the real reason.

0 项奖励
回复