HDMI Audio : Segfault with any ALSA apps

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

HDMI Audio : Segfault with any ALSA apps

跳至解决方案
3,333 次查看
frederic_coiffi
Contributor II

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 ?


标签 (3)
标记 (1)
0 项奖励
回复
1 解答
2,362 次查看
frederic_coiffi
Contributor II

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...)

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,363 次查看
frederic_coiffi
Contributor II

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...)

0 项奖励
回复
2,362 次查看
gavinbao
Contributor I

I have the same qustion.when playback video,no sound .

0 项奖励
回复