All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shawn Starr <shawn.starr@rogers.com>
To: alsa-devel@alsa-project.org
Cc: "Alexander E. Patrakov" <patrakov@gmail.com>
Subject: Re: [Intel HDA][ALC3226] Too much white noise from microphone
Date: Fri, 06 Feb 2015 10:22:44 -0500	[thread overview]
Message-ID: <3516931.ENm5BxjSkv@segfault> (raw)
In-Reply-To: <54D4A9F9.6090709@gmail.com>

On Friday, February 06, 2015 04:48:09 PM Alexander E. Patrakov wrote:
> 05.02.2015 02:13, Shawn Starr wrote:
> > Hello ALSA devs,
> > 
> > I spoke to patrakov on Freenode from the #Alsa IRC channel and they
> > mentioned that the noise background I am experiencing is not normal. I
> > tried two different headsets, both headsets have two separate jacks, the
> > same result.
> > 
> > I will test any patches/quirks for kernel as needed.
> > 
> > Here is the alsa-info:
> > 
> > http://www.alsa-project.org/db/?f=29d3c45e2d66c58be03a10bd0186067a9d735a11
> 
> I am not an expert on Intel HDA cards, but... some microphones are picky
> about the reference voltage supplied by the soundcard. You can change
> this temporarily, for debugging purposes, with hda-analyzer. See general
> instructions at
> 
> http://www.alsa-project.org/main/index.php/HDA_Analyzer
> 
> Note: it needs the "snd-hwdep" module loaded, and needs to be run as root.
> 
> In your case, you need to select Node[0x18] PIN in the left pane, and,
> at the bottom of the right pane, select 50 or 100 instead of 80 in the
> VREF box. See https://imgur.com/F84raSN for a screenshot based on your
> alsa-info.
> 
> If this doesn't help, just click around randomly. Maybe you'll find the
> magic checkbox that makes the noise go away and the voice stay :) - if
> that happens, please email the resulting diff file that hda-analyzer
> creates.

Hello Alexander,

Indeed, adjusting VREF to 50 cuts the background noise noticeably, it's still 
there but it is lesser.

Resulting 10 second audio with difference: http://turl.ca/accwc 
Old audio: http://turl.ca/zrhbcs

Both using same Logitech headset for test.

Thanks,
Shawn


-- CUT --

Diff for codec 1/0 (0x10ec0292):
--- 
+++ 
@@ -189,27 +189,27 @@
   Unsolicited: tag=0x02, enabled=1
   Power: setting=D0, actual=D0
   Connection: 2
      0x0c* 0x0d
 Node 0x17 [Vendor Defined Widget] wcaps 0xf00000: Mono
 Node 0x18 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
   Control: name="Front Mic Boost Volume", index=0, device=0
     ControlAmp: chs=3, dir=1, idx=0, ofs=0
-  Control: name="Front Mic Jack", index=0, device=0
+  Control: iface="card", name="Front Mic Jack", index=0, device=0
   Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
   Amp-In vals: [0x01 0x01]
   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
   Amp-Out vals: [0x80 0x80]
   Pincap 0x00003734: IN OUT Detect
     Vref caps: HIZ 50 GRD 80 100
   Pin Default 0x02a19031: [Jack] Mic at Ext Front
     Conn = 1/8, Color = Pink
     DefAssociation = 0x3, Sequence = 0x1
-  Pin-ctls: 0x24: IN VREF_80
+  Pin-ctls: 0x21: IN VREF_50
   Unsolicited: tag=0x03, enabled=1
   Power: setting=D0, actual=D0
   Connection: 2
      0x0c* 0x0d
 Node 0x19 [Pin Complex] wcaps 0x40048b: Stereo Amp-In
   Control: name="Dock Mic Boost Volume", index=0, device=0
     ControlAmp: chs=3, dir=1, idx=0, ofs=0
   Control: name="Dock Mic Jack", index=0, device=

  reply	other threads:[~2015-02-06 15:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-04 21:13 [Intel HDA][ALC3226] Too much white noise from microphone Shawn Starr
2015-02-06 11:48 ` Alexander E. Patrakov
2015-02-06 15:22   ` Shawn Starr [this message]
2015-02-06 15:34     ` Alexander E. Patrakov
2015-02-07 11:12   ` Harry van Haaren
2015-02-07 14:36     ` Alexander E. Patrakov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3516931.ENm5BxjSkv@segfault \
    --to=shawn.starr@rogers.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=patrakov@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.