[alsa-devel] Noise in tlv320aic3104-based audio system

Caleb Crome caleb at crome.org
Fri Oct 30 19:11:50 CET 2015


On Fri, Oct 30, 2015 at 3:03 AM, Benoît Thébaudeau
<benoit.thebaudeau.dev at gmail.com> wrote:
> Dear Rick Mann,
>
> On Fri, Oct 30, 2015 at 6:45 AM, Rick Mann <rmann at latencyzero.com> wrote:
>>
>>> On Oct 29, 2015, at 20:43 , Caleb Crome <caleb at crome.org> wrote:
>>>
>>> The data sheets for those aic codecs are pretty good I think.
>>>
>>> Also, routing direct or through a mixer will be a minor difference, not a major one.
>>>
>>> It just occurred to me, the noise could easily be coming from a direct input -> output route, bypassing the adc and dac altogether. Make sure all bypass routes are zeroed out.  The trick is correlating the datasheet routes with the alsa mixer controls that correspond to them .  Enough staring at the aic3x.c files will eventually shed light:-)
>>
>> I've zeroed out everything I could find. Nothing had an effect until I got to the DAC muxes, at which point the behavior gets really weird. Changing those gets me to left or right output, but never both again until I reset the CODEC.
>>
>> None of this affected the hiss.
>
> Can you try `alsactl restore` with this asound.state?
> https://gist.github.com/bthebaudeau/e00492ebf0309f8dbace
>
> TI's diagram in the data sheet is missing a few things. Some paths are
> also wrong. The description of the registers is right however, so it
> is the reference. I have used extensively a similar setup with an
> older kernel, and it works fine.

Hey, that's great to know.  I guess I haven't gone over every register
and compared to the drawing.  Thanks for the info.
 -caleb


More information about the Alsa-devel mailing list