Hi Fabio,
On 05.10.2016 20:15, Fabio Estevam wrote:
Hi Maciej,
I am running today's linux-next on a imx6q-udoo board.
Removed USB support to avoid the hang and also enabled CONFIG_SND_SOC_AC97_CODEC=y.
When I start a playback it seems to be running:
# aplay /root/clarinet.wav Playing WAVE '/root/clarinet.wav' : Signed 16 bit Little Endian, Rate 44100 Hz
,but I don't get any sound out of the CN7 green jack.
I put the volumes at the maximum via alsamixer.
Any ideas?
I assume that you tested older kernel on this board and got proper output there.
Even if you don't get any sound is playing time correct - that is does for example 30 second file play for 30 seconds? If not then it might be DMA or sampling rate setup problem.
Is the AC'97 codec model detected correctly (/proc/asound/card0/codec97#0/ac97#0-0)? If not then it might be some problem with accessing AC'97 regs (like SSI clock not running).
You can also try to revert http://www.spinics.net/lists/alsa-devel/msg54983.html to go back to RB tree register cache, maybe this will help.
I have tried to run today's linux-next on my UDOO board but it crashes at boot somewhere in imx6q_pm_pu_power_off(), so unfortunately can't test it for now.
Thanks,
Fabio Estevam
Maciej