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.

Audio not working on OMAP5



I am trying to play audio on OMAP5 EVM, but i am not able to play any.

OMAP5 board specification:

Kernel: 3.8.13-g2c871a8, gl-sdk 6.04

please help me get audio playing on OMAP5 EVM.

below i am copying my observation on the board, when i run few commands related to alsa.

cat /etc/asound.conf
# default Arago configuration -> this is the only line in the asound.conf file

"amixer scontrols" shows nothing.

"amixer sset Headphone 100%+" shows the below line as response
#amixer: Unable to find simple control 'Headphone',0

 

"gst-launch-0.10 audiotestsrc ! alsasink device=hw:1,0" shows the below response 

----------------------------------------------- Response ------------------------------------------

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstAlsaSink:alsasink0: Could not get/set settings from/on resource.
Additional debug info:
gstalsasink.c(523): set_hwparams (): /GstPipeline:pipeline0/GstAlsaSink:alsasink0:
Unable to set hw params for playback: Invalid argument
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

-----------------------------------------------------------------------------------------------------------

"aplay -Dhw:1,0 -f cd xyz.wav" shows the below response

------------------------------------Response-----------------------------------------------------

Playing WAVE 'al05_48_320.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
aplay: set_params:1166: Unable to install hw params:
ACCESS: RW_INTERLEAVED
FORMAT: S16_LE
SUBFORMAT: STD
SAMPLE_BITS: 16
FRAME_BITS: 32
CHANNELS: 2
RATE: 48000
PERIOD_TIME: 125000
PERIOD_SIZE: 6000
PERIOD_BYTES: 24000
PERIODS: 4
BUFFER_TIME: 500000
BUFFER_SIZE: 24000
BUFFER_BYTES: 96000
TICK_TIME: 0

-------------------------------------------------------------------------------------------------------------------------------

Best regards,

Srinivas.

  • Are you using headset?

    Have you performed the following configurations:

      target #  amixer cset -c 1 name='Headset Left Playback' 1
      target #  amixer cset -c 1 name='Headset Right Playback' 1
      target #  amixer cset -c 1 name='Headset Playback Volume' 12
      target #  amixer cset -c 1 name='DL1 PDM Switch' 1
      target #  amixer cset -c 1 name='Sidetone Mixer Playback' 1
      target #  amixer cset -c 1 name='SDT DL Volume' 120
      target #  amixer cset -c 1 name='DL1 Mixer Multimedia' 1
      target #  amixer cset -c 1 name='DL1 Media Playback Volume' 110
      target #  amixer sset -c 1 'Analog Left',0 'Aux/FM Left'
      target #  amixer sset -c 1 'Analog Right',0 'Aux/FM Right'
      target #  amixer sset -c 1 'Aux FM',0 7
      target #  amixer sset -c 1 'AUDUL Media',0 149
      target #  amixer sset -c 1 'Capture',0 4
      target #  amixer sset -c 1 MUX_UL00,0 AMic0
      target #  amixer sset -c 1 MUX_UL01,0 AMic1
      target #  amixer sset -c 1 'AMIC UL',0 120

    Thanks,
    Yordan

  • Thanks a lot Yordan.

    With these settings audio works on OMAP5 now.

  • Hi Srinivas,


    I'm glad to hear that.

    Best Regards,
    Yordan