Hi,
I'm working on HDMI output for a custom i.MX6Q board. I'm using the last git commit of the imx_3.0.35_4.0.0 branch.
The HDMI video works fine in framebuffer but I can't get a working HDMI audio.
The sound device is correctly created :
mxc_hdmi_soc mxc_hdmi_soc.0: MXC HDMI Audio
asoc: mxc-hdmi-soc <-> imx-hdmi-soc-dai.0 mapping ok
ALSA device list:
#0: imx-hdmi-soc
And :
$ cat /proc/asound/cards
0 [imxhdmisoc ]: imx-hdmi-soc - imx-hdmi-soc
imx-hdmi-soc
$ cat /proc/asound/pcm
00-00: IMX HDMI TX mxc-hdmi-soc-0 : : playback 1
But, when I try to use aplay or speaker-test, I get a segfault :
$ aplay -L
Segmentation fault
$ aplay /tmp/test.wav
Segmentation fault
$ aplay -D hw:0,0 /tmp/test.wav
Segmentation fault
$ speaker-test
speaker-test 1.0.24.2
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Segmentation fault
So, is it a known problem in the current Linux kernel or is there something missing in my configuration ?
Solved! Go to Solution.
In fact, the problem was due to a compiler bug in the toolchain Sourcery CodeBench ARM 2012.03.
Using the toolchain Sourcery CodeBench ARM 2013.05 solves the Segmentation Fault in alsa-utils applications (aplay, speaker-test...)
In fact, the problem was due to a compiler bug in the toolchain Sourcery CodeBench ARM 2012.03.
Using the toolchain Sourcery CodeBench ARM 2013.05 solves the Segmentation Fault in alsa-utils applications (aplay, speaker-test...)
I have the same qustion.when playback video,no sound .