Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 088D1C4708A for ; Thu, 27 May 2021 14:37:12 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 576AA613DC for ; Thu, 27 May 2021 14:37:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 576AA613DC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 24C0A16F9; Thu, 27 May 2021 16:36:18 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 24C0A16F9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1622126228; bh=Tm4RjM6mY/1dlclyYkTI4/Il3tmJ2zOr0xjIRpkcs3Q=; h=Subject:To:References:From:Date:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=giqiX/PaUoY9PSmKoGJGETCyU4zjSnVaLYdMl5gEqOVEcTn8dVNPUab9Un3i67kk8 Ari4McPeccQHlUOHGm/tqXh/kM1rDqpOOR7g0qX4Z0si6/JHlSnC6j8tZ9GRl/lWTB 0cow2gpRmqqv8M85DA0RF5Fk1giFmsXMOjeJuXqo= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 91E4BF80116; Thu, 27 May 2021 16:36:17 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 3347BF80147; Thu, 27 May 2021 16:36:15 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 4AE38F80116 for ; Thu, 27 May 2021 16:36:08 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 4AE38F80116 IronPort-SDR: u6Clz5iC7fKk/hFx1Tj3si1g7ZEXKmqEJmAHKxmVVhr7XPLa7B6JqMid7out4yFatIoz4lslLZ +rnrRqAUirRg== X-IronPort-AV: E=McAfee;i="6200,9189,9996"; a="202753543" X-IronPort-AV: E=Sophos;i="5.82,334,1613462400"; d="scan'208";a="202753543" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 May 2021 07:35:49 -0700 IronPort-SDR: VyXnJFRqh7L5QSXzuSzNhi19QCn45yjheBmm5t3apelB5SWqEjdISqxR//ZszS55BLOPK0M9ju 2qXCqliKiozg== X-IronPort-AV: E=Sophos;i="5.82,334,1613462400"; d="scan'208";a="443591955" Received: from tanjimah-mobl2.amr.corp.intel.com (HELO [10.212.121.28]) ([10.212.121.28]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 May 2021 07:35:48 -0700 Subject: Re: Internal microphone does not work with 5.12 (Tiger Lake, X1 Nano) To: Nico Schottelius , Kai Vehmanen References: <874keoijzh.fsf@ungleich.ch> <87r1hs31h6.fsf@ungleich.ch> <877djk8jw2.fsf@ungleich.ch> <87h7io8e97.fsf@ungleich.ch> From: Pierre-Louis Bossart Message-ID: Date: Thu, 27 May 2021 09:35:47 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <87h7io8e97.fsf@ungleich.ch> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Cc: alsa-devel@alsa-project.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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" >> arecord -fdat -vv -Dplugw:0,6 -c4 /dev/null > > That does not work: > > [15:55] nb3:~% arecord -fdat -vv -Dplugw:0,6 -c4 /dev/null > ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM plugw:0,6 > arecord: main:830: audio open error: No such file or directory typo: you need to use plughw:0,6 or just hw:0,6 > > However, recording with audacity produces to results: > > - no sound recorded by default > - sound recorded when I plugin an external headset > > And using arecord -fdat -vv -c4 /dev/null (without -Dplugw) I get > output, but the level is always 00% without the headset, ranges 02 ~ 90% > with the headset plugged in. > > I was wondering if there's a hardware switch "broken" > for the detection of the headset and that's why the mic is muted > internally? No, the DMIC has nothing to do with the headset, it's an independent interface.