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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,771 Views
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. 

Tags (1)
0 Kudos
11 Replies

1,439 Views
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 Kudos

1,439 Views
YuLin
Contributor I
Chinese, ~~~, are you Chinese. If yes, I can call you.
0 Kudos

1,439 Views
zhangenvi
Contributor I
r10.3
0 Kudos

1,439 Views
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 Kudos

1,439 Views
YuLin
Contributor I

Which SPDIF Driver you used? 

 kernel_imx\sound\arm mxc-alsa-spdif.c 
or 
mxc-spdif.c
??
0 Kudos

1,439 Views
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 Kudos

1,440 Views
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 Kudos

1,440 Views
YuLin
Contributor I
include audio output???
0 Kudos

1,440 Views
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 Kudos

1,440 Views
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 Kudos

1,440 Views
zhangenvi
Contributor I

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

0 Kudos