On Thu, Jun 16, 2022 at 09:46:18AM -0500, Rob Whitlock wrote:
> On Wed, Jun 15, 2022 at 11:27 PM Alexandre Ratchov <a...@caoua.org> wrote:
> 
>     On Wed, Jun 15, 2022 at 02:59:40PM -0500, Rob Whitlock wrote:
>     > I have a Lenovo T450 that plays audio over the speakers and headphones
>     but
>     > when the headphones are used there is some white noise playing all the
>     time
>     > as well as the audio. This white noise is not there with Windows 10 or
>     > Linux. OpenBSD recognizes the audio codec as a Realtek ALC292 but Linux
>     and
>     > the spec sheet for my laptop say it's a Realtek ALC3232. I suspect this
>     > might be causing the error but I'm not sure how to fix it. There was no
>     > mention of an ALC3232 in /usr/src/sys/dev/pci/azalia_codec.c while there
>     > was for ALC292.
>     >
> 
>     Hi,
> 
>     Could you try:
> 
>               mixerctl inputs.mix2_source=dac-0:1
> 
>     and check if noise level changes?
> 
> 
> That did the trick. Thanks! What made you think of this suggestion?

from mixerctl output:

outputs.hp_source=mix2
inputs.mix2_source=dac-0:1,mix  { dac-0:1 mix }
inputs.mix_source=spkr3,mic2,beep  { spkr3 mic2 beep }

The signal for "hp" (the headphones) seems to be the mix of the DAC
(what plays audio samples) and the "mix" node. The "mix" node is the
mix of spkr3, mic2, beep

My guess was that one of the sources is not properly wired or
configured and generates noise.

Removing "mix" from the headphone sources, removes the possible source
of noise (one of spkr3, mic2, and beep)

Reply via email to