From mboxrd@z Thu Jan 1 00:00:00 1970 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 510DFC5B543 for ; Wed, 4 Jun 2025 12:12:59 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [45.14.194.44]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 01676601F4; Wed, 4 Jun 2025 14:12:47 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 01676601F4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1749039177; bh=pTNoso6F3h4XPueGb/OB6k4YfmjgjbS4fl/u9V/Th0I=; 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=oHwfv+fGFvKl41Ptfx5Q0amObdQssv0iHlo7jjgFREsnYEs4En4CVHar6KlDI8sZe xyDiJEqmeD1JunT59FaanBdBagtOcarMJZRUe21RdhMXJ+wxFU7+zC7ojiYSNG0xLy bTy84cyqOM9GddfhTP451AwkBkyaKJ7rd3sbumkc= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 95578F805C5; Wed, 4 Jun 2025 14:12:21 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 80FF8F805C3; Wed, 4 Jun 2025 14:12:21 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 96105F8028B; Wed, 4 Jun 2025 14:12:18 +0200 (CEST) Received: from webhooks-bot.alsa-project.org (vmi2259423.contaboserver.net [45.14.194.44]) by alsa1.perex.cz (Postfix) with ESMTP id DD7C0F800FA for ; Wed, 4 Jun 2025 14:12:16 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz DD7C0F800FA MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: GitHub pull_request - opened To: alsa-devel@alsa-project.org Message-Id: <1845d5d3e47f1a00-webhooks-bot@alsa-project.org> In-Reply-To: References: Subject: Intel: avs: Add new UCMs after recent kernel work Date: Wed, 4 Jun 2025 14:12:18 +0200 (CEST) Message-ID-Hash: ZFQ2S7O3FVVD77LLQBS5UXIR5XWRSCSS X-Message-ID-Hash: ZFQ2S7O3FVVD77LLQBS5UXIR5XWRSCSS 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 pull request #571 was opened from amadeuszslawinski-intel: After recent work to rename cards [1], userspace expects different card names and device numbers. [1] https://lore.kernel.org/linux-sound/20250407124154.1713039-1-amadeuszx.slawinski@linux.intel.com/ There is one problem with HDMI not working. As far as I can tell, this is due to macro not handling pcm=0 correctly, but I have no idea how to fix that. ``` numid=1,iface=CARD,name='HDMI/DP Jack' numid=7,iface=CARD,name='HDMI/DP,pcm=1 Jack' numid=13,iface=CARD,name='HDMI/DP,pcm=2 Jack' ``` ``` DefineMacro.HDMI.If.hdmi { Condition { Type ControlExists Control "iface=CARD,name='HDMI/DP,pcm=${var:__Device} Jack'" } ``` I've opted for adding files instead of moving and editing them, because there may be users who currently use old card names. Main differences are: * HDAudio macros can now be used for HD-Audio card * DMIC now automatically constraints number of channels, so no need for two separate files * rewrote some files to make use of conditional syntax Request URL : https://github.com/alsa-project/alsa-ucm-conf/pull/571 Patch URL : https://github.com/alsa-project/alsa-ucm-conf/pull/571.patch Repository URL: https://github.com/alsa-project/alsa-ucm-conf