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!
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?
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.