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.

Linux/TLV320AIC3104: Codec audio not working on my linux

Part Number: TLV320AIC3104


Tool/software: Linux

I see following errors:

[   16.032252] mdm9607-asoc-snd soc:sound-9306: ASoC: no source widget found for MCLK
[   16.032275] mdm9607-asoc-snd soc:sound-9306: ASoC: Failed to add route MCLK -> direct -> RX_BIAS
[   16.032403] mdm9607-asoc-snd soc:sound-9306: ASoC: no source widget found for MCLK
[   16.032414] mdm9607-asoc-snd soc:sound-9306: ASoC: Failed to add route MCLK -> direct -> LDO_H
[   16.032484] mdm9607-asoc-snd soc:sound-9306: ASoC: no source widget found for MCLK
[   16.032495] mdm9607-asoc-snd soc:sound-9306: ASoC: Failed to add route MCLK -> direct -> SPK_OUT
[   16.032549] mdm9607-asoc-snd soc:sound-9306: ASoC: no source widget found for MIC BIAS1 External
[   16.032560] mdm9607-asoc-snd soc:sound-9306: ASoC: Failed to add route MIC BIAS1 External -> direct -> AMIC1
[   16.032608] mdm9607-asoc-snd soc:sound-9306: ASoC: no source widget found for Handset Mic
[   16.032619] mdm9607-asoc-snd soc:sound-9306: ASoC: Failed to add route Handset Mic -> direct -> MIC BIAS1 External
[   16.032667] mdm9607-asoc-snd soc:sound-9306: ASoC: no source widget found for MIC BIAS2 External
[   16.032677] mdm9607-asoc-snd soc:sound-9306: ASoC: Failed to add route MIC BIAS2 External -> direct -> AMIC2
[   16.032724] mdm9607-asoc-snd soc:sound-9306: ASoC: no source widget found for Headset Mic
[   16.032734] mdm9607-asoc-snd soc:sound-9306: ASoC: Failed to add route Headset Mic -> direct -> MIC BIAS2 External
[   16.032780] mdm9607-asoc-snd soc:sound-9306: ASoC: no source widget found for MIC BIAS2 External
[   16.032791] mdm9607-asoc-snd soc:sound-9306: ASoC: Failed to add route MIC BIAS2 External -> direct -> AMIC4
[   16.032836] mdm9607-asoc-snd soc:sound-9306: ASoC: no source widget found for ANCRight Headset Mic
[   16.032847] mdm9607-asoc-snd soc:sound-9306: ASoC: Failed to add route ANCRight Headset Mic -> direct -> MIC BIAS2 External
[   16.032892] mdm9607-asoc-snd soc:sound-9306: ASoC: no source widget found for MIC BIAS2 External
[   16.032903] mdm9607-asoc-snd soc:sound-9306: ASoC: Failed to add route MIC BIAS2 External -> direct -> AMIC5
[   16.032949] mdm9607-asoc-snd soc:sound-9306: ASoC: no source widget found for ANCLeft Headset Mic
[   16.032959] mdm9607-asoc-snd soc:sound-9306: ASoC: Failed to add route ANCLeft Headset Mic -> direct -> MIC BIAS2 External
[   16.033004] mdm9607-asoc-snd soc:sound-9306: ASoC: no source widget found for MIC BIAS1 External
[   16.033014] mdm9607-asoc-snd soc:sound-9306: ASoC: Failed to add route MIC BIAS1 External -> direct -> DMIC1
[   16.033059] mdm9607-asoc-snd soc:sound-9306: ASoC: no source widget found for Digital Mic1
[   16.033070] mdm9607-asoc-snd soc:sound-9306: ASoC: Failed to add route Digital Mic1 -> direct -> MIC BIAS1 External
[   16.033115] mdm9607-asoc-snd soc:sound-9306: ASoC: no source widget found for MIC BIAS1 External
[   16.033125] mdm9607-asoc-snd soc:sound-9306: ASoC: Failed to add route MIC BIAS1 External -> direct -> DMIC2
[   16.033170] mdm9607-asoc-snd soc:sound-9306: ASoC: no source widget found for Digital Mic2
[   16.033181] mdm9607-asoc-snd soc:sound-9306: ASoC: Failed to add route Digital Mic2 -> direct -> MIC BIAS1 External
[   16.033225] mdm9607-asoc-snd soc:sound-9306: ASoC: no source widget found for MIC BIAS3 External
[   16.033236] mdm9607-asoc-snd soc:sound-9306: ASoC: Failed to add route MIC BIAS3 External -> direct -> DMIC3
[   16.033280] mdm9607-asoc-snd soc:sound-9306: ASoC: no source widget found for Digital Mic3
[   16.033291] mdm9607-asoc-snd soc:sound-9306: ASoC: Failed to add route Digital Mic3 -> direct -> MIC BIAS3 External
[   16.033335] mdm9607-asoc-snd soc:sound-9306: ASoC: no source widget found for MIC BIAS3 External
[   16.033346] mdm9607-asoc-snd soc:sound-9306: ASoC: Failed to add route MIC BIAS3 External -> direct -> DMIC4
[   16.033390] mdm9607-asoc-snd soc:sound-9306: ASoC: no source widget found for Digital Mic4

[   16.033401] mdm9607-asoc-snd soc:sound-9306: ASoC: Failed to add route Digital Mic4 -> direct -> MIC BIAS3 External

After that the audio is not more ready.

How can I debug the issue ?

  • Hi there poster!

    Our team of experts is enjoying a well deserved break this Thanksgiving Holiday with their family and friends. Our apologies for the delay in responding to your query, but we'll be back to it on Monday the 26th. Happy Thanksgiving everyone!
  • Antonello,

    This looks to me like you aren't even using a driver?  can you comment on this?

    TI does have a linux Driver for the TLV320AIC3104,  but it is very old linux 2.7 I think? and we are not able to support it.  If you are using another driver I wouldn't have any insight into that. 

    We can provide a block diagram with registers that might help you create your own driver if necessary. 

    best regards,

    -Steve Wilson