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 playback with HPRCOM

Guru 20755 points
Other Parts Discussed in Thread: TLV320AIC3106

Hello,

I have an issue that the codec output is not heard (using aplay) on custom board.

I am uisng HPRCOM.

But I see many related controllers:

"HP Playback Switch"
"DACR1 Switch"
"Right HPCOM Mixer DACR1 Playback Volume"
"Right HPCOM Mixer DACR1 Switch"
"PCM Playback Volume"

But which one of the above is related to this issue ?

Is the default of HPRCOM different then HPLOUT (the default in evm) ? 

Regards,
Ran
  • Hello Ran,

    Refer to following information:
    DRA7 EVM
    The board uses tlv320aic3106 codec connected through McASP3 [AXR0 for playback, AXR1 for Capture] for audio. The board features four 3.5mm jack for Headphone, Line In, Line Out and one for Microphone.
    Kernel config
    Device Drivers --->
    Sound card support --->
    Advanced Linux Sound Architecture --->
    ALSA for SoC audio support --->
    <*> SoC Audio for the Texas Instruments OMAP chips
    <*> SoC Audio support for DRA7 EVM
    User space
    The hardware defaults are correct for audio playback, the routing is OK and the volume is 'adequate' but in case the volume is not correct:

    amixer -c DRA7xxEVM sset PCM 90 # Master Playback volume
    Playback to Headphone only:

    amixer -c DRA7xxEVM sset 'Left HP Mixer DACL1' on # HP Left route enable
    amixer -c DRA7xxEVM sset 'Right HP Mixer DACR1' on # HP Right route enable
    amixer -c DRA7xxEVM sset 'Left Line Mixer DACL1' off # Line out Left disable
    amixer -c DRA7xxEVM sset 'Right Line Mixer DACR1' off # Line out Right disable
    amixer -c DRA7xxEVM sset 'HP DAC' 90 # Adjust HP volume
    Playback to Line Out only:

    amixer -c DRA7xxEVM sset 'Left HP Mixer DACL1' off # HP Left route disable
    amixer -c DRA7xxEVM sset 'Right HP Mixer DACR1' off # HP Right route disable
    amixer -c DRA7xxEVM sset 'Left Line Mixer DACL1' on # Line out Left enable
    amixer -c DRA7xxEVM sset 'Right Line Mixer DACR1' on # Line out Right enable
    amixer -c DRA7xxEVM sset 'Line DAC' 90 # Adjust Line out volume
    Record from Line In:

    amixer -c DRA7xxEVM sset 'Left PGA Mixer Line1L' on # Line in Left enable
    amixer -c DRA7xxEVM sset 'Right PGA Mixer Line1R' on # Line in Right enable
    amixer -c DRA7xxEVM sset 'Left PGA Mixer Mic3L' off # Analog mic Left disable
    amixer -c DRA7xxEVM sset 'Right PGA Mixer Mic3R' off # Analog mic Right disable
    amixer -c DRA7xxEVM sset 'PGA' 40 # Adjust Capture volume
    Record from Analog Mic IN:

    amixer -c DRA7xxEVM sset 'Left PGA Mixer Line1L' off # Line in Left disable
    amixer -c DRA7xxEVM sset 'Right PGA Mixer Line1R' off # Line in Right disable
    amixer -c DRA7xxEVM sset 'Left PGA Mixer Mic3L' on # Analog mic Left enable
    amixer -c DRA7xxEVM sset 'Right PGA Mixer Mic3R' on # Analog mic Right enable
    amixer -c DRA7xxEVM sset 'PGA' 40 # Adjust Capture volume

    Best regards,
    Yanko
  • Hi,

    If I understand correctly most of this controllers meaing is pin enable/disable and ppin volume.
    So, What is the meaning of DACR1 , (I don't recognize it as codec pin ) ?

    Thank you very much,
    Ran