Sound on HDMI on Linux?

Started by lbalas, February 08, 2014, 10:42:10 PM

Previous topic - Next topic

lbalas

Hi,

I bought an A20 board and I tested the sound with mplayer. I heard the sound at 3.5 jack socket but I would get it on HDMI.
How can I forward it to HDMI? Is it possible?
Please help me!

Thanks in advance

Balas

Mouchon

Hi,

You can may be try to add

extraargs= hdmi.audio=EDID:0

in uEnv.txt placed on boot part

this worked form me.

Regards


lbalas

Hi,

thank your answer.

I use the official debian release 5.
I didn't find this file (uEnv.txt) on boot partition.
I created it but it didn't influence the sound output.

Do you use the same release?

thanks in advance:
Balas

JohnS


lbalas

Yes, it is an optional file. I understand. But it doesn't influence the sound output.

Can you please help me how I can take the sound to HDMI port? I have an A10 Lime board and  it plays the sound via HDMI port under Linux.
Did somebody meet with this problem?

Please help me!

Thanks in advance:

lbalas

Javier

Hi lbalas,

Mouchon's suggestion should add hdmi.audio=EDID:0 to the kernel command line.  Since it seems to be having no effect for you, you could look at /proc/cmdline on the running system to verify that Linux has received that string, and if not, try one of the other ways to make U-boot pass it to Linux.  There is some documentation at http://linux-sunxi.org/Kernel_arguments.

That page also documents the hdmi.audio parameter itself, saying that you can specify simply hdmi.audio=1 to enable audio to HDMI unconditionally, so that might be worth a try.

Another thing to try is the latest official image, release 7, that was announced a few days ago. The link is on https://www.olimex.com/wiki/A20-OLinuXino-MICRO#Official_Images_from_OLIMEX.

Let us know how you get on...
Javier.