i.mx53 has no audio output when using HDMI block.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i.mx53 has no audio output when using HDMI block.

1,790件の閲覧回数
YuLin
Contributor I

i.mx53 has no audio output when using HDMI block.

 

i.mx53's HDMI audio output comes from S/PDIF normally.

 

I have modprobe snd-spdif.ko.

And with 'aplay' to check the card no and device no for s/pdif card.

 

Finally, use aplay -D 'hw:0,0' to play wav file. All seems ok!

But there is no sound from TV. TV is ok, we test it with other HDMI device.

 

I have tested this on several 2.6.35 release, including freescale's and linaro's. 

タグ(1)
0 件の賞賛
11 返答(返信)

1,458件の閲覧回数
JackyHuang
Contributor III

According to the mx53_sabre board schematics, I found that the sabre board have a additional OSC which clk is 22.5792MHz, this OSC seem to support spdif output.

0 件の賞賛

1,458件の閲覧回数
YuLin
Contributor I
Chinese, ~~~, are you Chinese. If yes, I can call you.
0 件の賞賛

1,458件の閲覧回数
zhangenvi
Contributor I
r10.3
0 件の賞賛

1,458件の閲覧回数
zhangenvi
Contributor I

yes,configuration is right.I think HAL should support spdif audio. you  should check it and update HAL code. where are you from?

YuLin said:

"HDMI audio and codec audio can't work together,do you encounter the problem?"

What meaning? "HDMI audio" and "Codec Audio".

 

We have added spdif driver into kernel. Clock is 48k. We have detected wave form on oscillometer, 3MHz.

What your detailed configuration?

0 件の賞賛

1,458件の閲覧回数
YuLin
Contributor I

Which SPDIF Driver you used? 

 kernel_imx\sound\arm mxc-alsa-spdif.c 
or 
mxc-spdif.c
??
0 件の賞賛

1,458件の閲覧回数
YuLin
Contributor I

"HDMI audio and codec audio can't work together,do you encounter the problem?"

What meaning? "HDMI audio" and "Codec Audio".

 

We have added spdif driver into kernel. Clock is 48k. We have detected wave form on oscillometer, 3MHz.

What your detailed configuration?

0 件の賞賛

1,459件の閲覧回数
zhangenvi
Contributor I

yes,audio output,but you add spdif driver in linux kernel. HDMI audio and codec audio can't work together,do you encounter the problem?

0 件の賞賛

1,459件の閲覧回数
YuLin
Contributor I
include audio output???
0 件の賞賛

1,459件の閲覧回数
zhangenvi
Contributor I
yes, add the boot command .

YuLin said:
Alan, have you succeed with this way?

Alan said:

You will need something on the command line like "video=mxcdi0fb:RGB24,1024x768M@60 di0_primary hdmi'

 

The other issue is that the clock source is not accurate.  If you are on a qsb, there is a briev note about that in mx53_loco.c for mxc_spdif_data.  There isn't a very accurate clock for S/PDIF playback on that board.  So it is possible to play audio but the TV may reject it due to the sample rate being off.  Some TV sets are more forgiving than others.

 

Alan

0 件の賞賛

1,459件の閲覧回数
YuLin
Contributor I
Alan, have you succeed with this way?

Alan said:

You will need something on the command line like "video=mxcdi0fb:RGB24,1024x768M@60 di0_primary hdmi'

 

The other issue is that the clock source is not accurate.  If you are on a qsb, there is a briev note about that in mx53_loco.c for mxc_spdif_data.  There isn't a very accurate clock for S/PDIF playback on that board.  So it is possible to play audio but the TV may reject it due to the sample rate being off.  Some TV sets are more forgiving than others.

 

Alan

0 件の賞賛

1,459件の閲覧回数
zhangenvi
Contributor I

i.mx53 has no audio output when using HDMI. but how to solve it? thanks

0 件の賞賛