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 17229C3064D for ; Thu, 27 Jun 2024 07:11:04 +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 EFBAA210D; Thu, 27 Jun 2024 09:10:51 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz EFBAA210D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1719472262; bh=1emV9436zRDVZtPPzCpLIWQQTET9ObnwNwdtGRvp+LA=; 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=fMDoQP9UpAEz9YvR4UQ5+25JDH/J+EItaNdXEFN0EfprW0IwUA/103Ir6zgSwIUL2 83Bb8lP8Xc3uxOd8gDurYnplzwNM+krCOtL5sSfPUtiyRgxFfY4vsTJixsQKcZhUJQ IYG6fvAJT5pSGbJZzslihruh2G+1cCKSHkez9Axw= Received: by alsa1.perex.cz (Postfix, from userid 50401) id AD665F805AA; Thu, 27 Jun 2024 09:10:30 +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 63526F8059F; Thu, 27 Jun 2024 09:10:30 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 098D7F80423; Thu, 27 Jun 2024 09:08:25 +0200 (CEST) Received: from webhooks-bot.alsa-project.org (vmi242170.contaboserver.net [207.180.221.201]) by alsa1.perex.cz (Postfix) with ESMTP id 12CA0F800E4 for ; Thu, 27 Jun 2024 09:06:42 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 12CA0F800E4 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: <1719471999078866482-webhooks-bot@alsa-project.org> References: <1719471999078866482-webhooks-bot@alsa-project.org> Subject: 0db0:543d Micro Star International USB Audio Message-Id: <20240627070826.098D7F80423@alsa1.perex.cz> Date: Thu, 27 Jun 2024 09:08:25 +0200 (CEST) Message-ID-Hash: 6WFCP22Z4F4X25SVV5ZNO5UDHIJYSIWS X-Message-ID-Hash: 6WFCP22Z4F4X25SVV5ZNO5UDHIJYSIWS 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 #427 was opened from vividnightmare: I have MSI TRX40 Pro 10G on Arch Linux. alsa-ucm-conf 1.2.12-1 linux-zen 6.9.6.zen1-1 The sound device is reported with lsusb as `0db0:543d Micro Star International USB Audio` With default configuration, all seems well until hearing 5.1/7.1 channel audio. At this point it is realized that my 2.1 configuration is playing audio in surround mode and I'm missing virtually all of the most important sound. After researching for a while, I've found the following to hacky-workaround? the issue: ``` 90c90 < Regex "USB((0414:a0(0e|1[0124]))|(0b05:(19(84|9[69])|1a(16|2[07]|5[23c]|97|f1)))|(0db0:(005a|124b|151f|1feb|3130|36e7|4(19c|22d|240|88c)|62a4|6c[0c]9|70d3|7696|82c7|8af7|961e|a(073|228|47c|74b)|b202|d1d7|d6e7))|(26ce:0a0[68]))" --- > Regex "USB((0414:a0(0e|1[0124]))|(0b05:(19(84|9[69])|1a(16|2[07]|5[23c]|97|f1)))|(0db0:(005a|124b|151f|1feb|3130|36e7|4(19c|22d|240|88c)|543d|62a4|6c[0c]9|70d3|7696|82c7|8af7|961e|a(073|228|47c|74b)|b202|d1d7|d6e7))|(26ce:0a0[68]))" ``` This adds matching under ALC4080 for my 0db0:543d. After this I have 2.1 as well as the ability to select 5.1 or 7.1. I have patched the alsa-ucm-conf package locally with epoch to finalize the configuration. However, I do not know that this is the appropriate solution. Whether my sound device is mis-identified by ALSA/UCM, misrepresented by MSI? Something else? Please advise and perhaps this can be resolved in a way that benefits more than just myself. Issue URL : https://github.com/alsa-project/alsa-ucm-conf/issues/427 Repository URL: https://github.com/alsa-project/alsa-ucm-conf