From patchwork Fri Feb 6 15:22:44 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Starr X-Patchwork-Id: 5792661 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 69A409F30C for ; Fri, 6 Feb 2015 15:23:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 98821201EF for ; Fri, 6 Feb 2015 15:23:16 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 1791420154 for ; Fri, 6 Feb 2015 15:23:15 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 451CE2651ED; Fri, 6 Feb 2015 16:23:08 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, NO_DNS_FOR_FROM, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 3F3142605EC; Fri, 6 Feb 2015 16:23:00 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 071A726060A; Fri, 6 Feb 2015 16:22:57 +0100 (CET) Received: from nm13-vm5.access.bullet.mail.bf1.yahoo.com (nm13-vm5.access.bullet.mail.bf1.yahoo.com [216.109.115.5]) by alsa0.perex.cz (Postfix) with ESMTP id A94FE2605E8 for ; Fri, 6 Feb 2015 16:22:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rogers.com; s=s2048; t=1423236171; bh=dNqI9n4/BEzMHT/VIqr9TAOZHh+fBsN2Ojs2dAsF6cU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From:Subject; b=NUdA2k9p8YS3BWEujBgvtEbIxEoNsUe8zyeppqeEc6h5/JC/0X/DQnb2bPFi0/S8Lo6wlQvcOG3cgqzVCu0dXzl6cMlit27e+G2F+f6Pfsl0x21m4/VpiYwEC4BCPZaMdqJKDaXj39EaFbODx1Q4jbkEJxKpSGU5Rb2mkyukF9Ej12hHfUtFSXtj5269ADIujRhYZqvNy++AxcrkLi1sa8n+mOxuZGYZworjEdE7y0gaQ1ksXoY+DDazEfz4vM7IwnWI9G9ngmR2uyJAlECF197DOGp0b1HpV0CvznjUqYO25P7fnRBRhXrwgxMYu+Uzoup7VMt+KrzV3SMzn0+w6w== Received: from [66.196.81.159] by nm13.access.bullet.mail.bf1.yahoo.com with NNFMP; 06 Feb 2015 15:22:51 -0000 Received: from [98.139.244.52] by tm5.access.bullet.mail.bf1.yahoo.com with NNFMP; 06 Feb 2015 15:22:51 -0000 Received: from [127.0.0.1] by smtp114.sbc.mail.bf1.yahoo.com with NNFMP; 06 Feb 2015 15:22:51 -0000 X-Yahoo-Newman-Id: 481676.76643.bm@smtp114.sbc.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: SwJMp18VM1nynHHQNrperAGgppW_euor0YEJzWgSND5dqQe ulhRsxcETONmCNN2DKeIojYLN2FUoq1o5v2VYlJbBS.Hkx6Jlhf1Gj7X6Eh3 d257VvWjD.Q45cdfFXq_LOrLJ3c2C4EbWc5vCSIMh9FK.gc4cMuvhtyOhklX XvFLJX0EsJSZOSxcaOLYHamQjNkVS.xx8nUO6.w.aJXQ5aHxkdhC6Ee8.lor PLFa3P8o_ciXUvLC30GYwjWGa.tOIn8iWnnms0YT_7uvEWIU7gUptxKSivpc ki1SPj56IWIqb9iZa18GymRmjOca0Qb88grXy0EnxjzHCkokFFH4irQVhtzr 0xYRoXP0ZrFc9dupVmqqyzZO9Mu5ql9crqRM45xXytHaoBSAh3bXaIpl6QBn Lgl.86tIE7CqKtHiNc5qwCCm5yuUxTMByBee9dKUtwoNqEeVlTLIyUCCizyy Ddie4dDdQ2ws20pFxssDggZ43C6wbU.lI6MviP7Ot2pcf4XrQapqYwNatejO 8eJJVLTpDTKGwhNWCL837u9ju7auX0cpIS_frEB7sQUfGSHLLNh4QJxgdWUb _EgQN6hJGOhWQ6PQPMowAdt6wQ84a2set9P1M7UleUJfjna.kBU32hCGptNe kDpQ9MmITbfE4m1NQX_deriObR4.VAuhqiWqzBq3rlNjTDfNDZ6RtdwWNAiD wtlxjOb96AwuYXPF5GnF9Zi8rcM9Xuoo8GWni7N3rYI0FiGRjAfMBgeNlYjc OOrnlfWTnxy5MN7GzTuRnpcw- X-Yahoo-SMTP: rZzhDImswBA_40COIyZI42.8nAz5YXic.zo1v550XQVtX7k- From: Shawn Starr To: alsa-devel@alsa-project.org Date: Fri, 06 Feb 2015 10:22:44 -0500 Message-ID: <3516931.ENm5BxjSkv@segfault> Organization: sh0n.net User-Agent: KMail/4.14.3 (Linux/3.19.0-0.rc4.git0.1.fc22.x86_64; KDE/4.14.3; x86_64; ; ) In-Reply-To: <54D4A9F9.6090709@gmail.com> References: <8841801.KiuVFG1hDJ@segfault> <54D4A9F9.6090709@gmail.com> MIME-Version: 1.0 Cc: "Alexander E. Patrakov" Subject: Re: [alsa-devel] [Intel HDA][ALC3226] Too much white noise from microphone X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP 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=