Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 1A972C4725D for ; Fri, 19 Jan 2024 11:12:51 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id A0FBC3E8; Fri, 19 Jan 2024 12:12:39 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz A0FBC3E8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1705662769; bh=rUJw8CQ9UdeEM+EGBdevLvTdmgUMyljBLPzXUydsUQ0=; h=From:To:In-Reply-To:References:Subject:Date:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From; b=W3uiRbxw6TLs6Ji4IYIYdWr/CBdM6EPvJQxDyejKiBWpP3+CF5NLH1hDuL0nsMhY3 UMiLvMRHfE9NzY3NDFfygyshTOanNxUSDysNBPmZkjyHpK7uDRBh5ufwo0dkgnzDIS GrohVT0lI3oMAzfo5vP0FxCRLURDRO4tKbOYNWUQ= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 8634AF80570; Fri, 19 Jan 2024 12:12:18 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 1EF2BF80588; Fri, 19 Jan 2024 12:12:18 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 8E878F801F5; Fri, 19 Jan 2024 12:12:02 +0100 (CET) Received: from webhooks-bot.alsa-project.org (vmi242170.contaboserver.net [207.180.221.201]) by alsa1.perex.cz (Postfix) with ESMTP id 2CC4BF800C1 for ; Fri, 19 Jan 2024 12:11:49 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 2CC4BF800C1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: GitHub issues - opened To: alsa-devel@alsa-project.org In-Reply-To: <1705662707893251896-webhooks-bot@alsa-project.org> References: <1705662707893251896-webhooks-bot@alsa-project.org> Subject: Dmic mute button is not working with SOF based acp-dmic solution Message-Id: <20240119111202.8E878F801F5@alsa1.perex.cz> Date: Fri, 19 Jan 2024 12:12:02 +0100 (CET) Message-ID-Hash: KPXP5JEU76BOS5NBAX2VZN5N7WHL7I7G X-Message-ID-Hash: KPXP5JEU76BOS5NBAX2VZN5N7WHL7I7G X-MailFrom: github@alsa-project.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: alsa-project/alsa-ucm-conf issue #385 was opened from Venkata-Prasad-Potturu: Hi, We have enabled ACP-DMIC endpoint support using SOF stack, and created mixer controls for capture switch and volume. Trying to link Mic mute button with amixer controls in the UCM config file, but unable to invoke the enable/disable sequence when we press mic mute button. Please find the below ucm configuration, amixer controls and pactl list. [pactl_list.txt](https://github.com/alsa-project/alsa-ucm-conf/files/13988218/pactl_list.txt) Could anyone help on this. **AMIXER CONTROLS:-** _**root@systemc-Mayan-RMB:/usr/share/alsa/ucm2#**_ arecord -l **** List of CAPTURE Hardware Devices **** card 1: sofrmbdsp [sof-rmb-dsp], device 6: DMIC (*) [] Subdevices: 0/1 Subdevice #0: subdevice #0 **_root@systemc-Mayan-RMB:/usr/share/alsa/ucm2#_** **amixer -c 1 contents** numid=2,iface=MIXER,name='PGA4.0 4 Master Capture Switch' ; type=BOOLEAN,access=rw------,values=2 : values=on,on numid=1,iface=MIXER,name='PGA4.0 4 Master Capture Volume' ; type=INTEGER,access=rw---R--,values=2,min=0,max=80,step=0 : values=44,44 | dBscale-min=-50.00dB,step=1.00dB,mute=1 **_root@systemc-Mayan-RMB:/usr/share/alsa/ucm2#_** **UCM Configuration:-** SectionDevice."dmic" { Comment "Digital Microphone" EnableSequence [ exec "echo DMIC EnableSequence" cset "name='PGA4.0 4 Master Capture Switch' 1" cset "name='PGA4.0 4 Master Capture Volume' 44" ] DisableSequence [ exec "echo DMIC DisableSequence" cset "name='PGA4.0 4 Master Capture Switch' 0" cset "name='PGA4.0 4 Master Capture Volume' 33" ] Value { CapturePriority 100 CapturePCM "hw:${CardId},6" } } Issue URL : https://github.com/alsa-project/alsa-ucm-conf/issues/385 Repository URL: https://github.com/alsa-project/alsa-ucm-conf