AnsweredAssumed Answered

HDMI Audio : Segfault with any ALSA apps

Question asked by Frederic COIFFIER on Jul 4, 2013
Latest reply on Jul 10, 2013 by Frederic COIFFIER



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


$ 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




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 ?