This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

no audio over hdmi

Hi,

I'm trying to play audio file on Ti814x EVM board using following command.

aplay <mp3_file>.

I have connected LG TV set through HDMI cable, but I'm not getting any audio from TV (aplay does not through any error). I can hear some sort of noise when I connect my head phones to EVM board though the volume level is too low. Is there a way to increase volume level?

Following is the output from aplay -l command:

**** List of PLAYBACK Hardware Devices ****
card 0: EVM [TI81XX EVM], device 0: AIC3X tlv320aic3x-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

From this output, I guess board has not detected HDMI audio. Is there any extra setting needed to be done so that board can detect HDMI audio?

I'm using (psp04.01.00.06.patch2). Following are some extra system details

root@dm814x-evm:~# uname -a
Linux dm814x-evm 2.6.37 #1 Fri Dec 9 17:17:52 IST 2011 armv7l unknown

let me know if you need more information from me.

Thanks,

Rajnikant

  • Hello,

    What is the software release, that you are using here?

    Best Regards,

    Margarita

  • Hello Margarita,

    We are using EZSDK version 5_03_01_15. As I see into sources of this software I can see 'psp04.01.00.06' patch2 applied in kernel-2.6.37.

    Thanks,

  • Hello,

    You could check here for information:

    ti-ezsdk_dm814x-evm_5_05_01_04/board-support/docs

    TI81XX_Audio_Driver_User_Guide.pdf

    and

    TI81XX_HDMI_User_Guide.pdf (chapter TI81XX HDMI Audio Support)

    You could try the latest EZSDK 5.05.

    Best Regards,

    Margarita

  • Thanks Margarita.

    I tried to setup linux kernel configuration as said in above mentioned documents. I did not find 'SoC Audio for the TI81XX chip' and 'SoC Audio support for TI81XX EVM' options under ' ALSA for SoC audio support' tag. I see only 'Build all ASoC CODEC drivers (NEW)' tag under same.

    Are there any extra settings needed to be done, sothat those options would get added under 'ALSA for SoC audio support' tag.

    Thanks,

  • Hello,

    You could check here:

    /ti-ezsdk_dm814x-evm_5_05_01_04/board-support/docs

    TI81XX_PSP_User_Guide.pdf (Compiling Linux Kernel and Modifying Kernel Configuration)

    Best Regards,

    Margarita

  • Thanks Margarita. I was able to locate the specified options in 'menuconfig' by following 'TI81XX_PSP_User_Guide.pdf '. I'm facing some compilation issues, will update once I get over those compilation issues.

    Thanks,

  • Hello Margarita,

    I was able to successfully compile kernel with options needed for audio over HDMI. but still I'm not able to here any sound from my TV connected to HDMI.

    After compilation I copied new compiled uImage to my TFTP directory and also copied following kernel objects to their respective locations and rebooted the board.

    ti81xxfb.ko, ti81xxhdmi.ko, ti81xxvin.ko, ti81xxvo.ko, vpss.ko

    However, aplay -l command lists the HDMI audio port as option.

    **** List of PLAYBACK Hardware Devices ****
    card 0: EVM [TI81XX EVM], device 0: AIC3X tlv320aic3x-hifi-0 []
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: EVM [TI81XX EVM], device 1: hdmi HDMI-DAI-CODEC-1 []
      Subdevices: 1/1
      Subdevice #0: subdevice #0

    but following command gave some error:

    root@dm814x-evm:~/drivers# aplay -Dhw:0,1 /media/mmcblk0p2/usr/share/sounds/alsa/Rear_Center.wav
    Playing WAVE '/media/mmcblk0p2/usr/share/sounds/alsa/Rear_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
    aplay: set_params:1065: Channels count non available

    So do I need to do kind of any hardware setup before using HDMI for audio output?

    Thanks,

    Rajnikant

  • Hello,

    TI81XX HDMI Audio Support
    -Supports HDMI audio codec on TI81XX in ALSA SoC framework.
    -Multiple sample rates support (32KHz, 44.1KHz, 48KHz, 96KHz and 192KHz )playback.
    -Supports audio 16bit and 24bit (S16_LE ,S24_LE) audio format.
    -Supports audio in stereo mode.
    -Supports all audio mode in 1080P@60,1080I@60,720P@60 and 480P@60 video modes

    Rajnikant Jachak said:
    aplay -Dhw:0,1 /media/mmcblk0p2/usr/share/sounds/alsa/Rear_Center.wav

    Could you try with audio file (stereo)?

    Best Regards,

    Margarita

  • Thanks Margarita for your continued support.

    I was able to play stereo audio file with following command.

    aplay -Dplughw:0,1   <wav.file>

    Thanks again.

  • Hello,

    I am glad that this issue is solved.

    Best Regards,

    Margarita