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 3B45BC6FD1D for ; Fri, 7 Apr 2023 03:34:19 +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 E4B25EC5; Fri, 7 Apr 2023 05:33:26 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz E4B25EC5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1680838457; bh=PfGKAKBrG+GjHn8xFk2tMGWJ7B8hj/Sm0d2srLZtHD8=; 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=I0q1KqCQC3ID2scDqcNj+0C00jmIfHD2/BHRT7HCBQYuinvd1WREKRslibGrDriWK hAdNOl05R+fsl00ciwD3+F+9ZYlGUuwVwkJYt5BCpFWWGk99bhqkqQJ1WaaTn88DxC qKNr8rhBTObi+GQ6Ufj6L0nozIo5Yel6fhWs4f5s= Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 3ACFDF80149; Fri, 7 Apr 2023 05:33:04 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id A122FF8026A; Fri, 7 Apr 2023 05:32:55 +0200 (CEST) Received: from webhooks-bot.alsa-project.org (vmi242170.contaboserver.net [207.180.221.201]) by alsa1.perex.cz (Postfix) with ESMTP id 80B00F8015B for ; Fri, 7 Apr 2023 05:32:51 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 80B00F8015B 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: <1680838368521046638-webhooks-bot@alsa-project.org> References: <1680838368521046638-webhooks-bot@alsa-project.org> Subject: [question] [ucm] how to manage the ucm and ucm2 for different kernels Message-Id: <20230407033255.A122FF8026A@alsa1.perex.cz> Date: Fri, 7 Apr 2023 05:32:55 +0200 (CEST) Message-ID-Hash: JI77MFQX5LMXCZWB6ZTWTTG6L7ACO6HH X-Message-ID-Hash: JI77MFQX5LMXCZWB6ZTWTTG6L7ACO6HH 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.8 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-lib issue #312 was opened from leif1992: I got a problem which confused me for a long time. Wish I can get a good answer from here. I write the ucm and ucm2 files for my sound card which can work well with my driver. And I need to support both 4.19 kernel (which use the ucm) and the 5.4 kernel (which use the ucm2). They are all deployed in the /usr/share/alsa. However, I need to install to audio driver for both 4.19 and 5.4 (DKMS). The ucm and ucm2 were both deployed at the same time. When I switch the kernel to 5.4, my ubuntu can't load my UCM files normally, and if I removed the files in the usr/share/alsa/ucm and then reboot the OS. My ucm files in the usr/share/alsa/ucm2 can be loaded normally. Would you please help me figure out this incompatibility problem? Issue URL : https://github.com/alsa-project/alsa-lib/issues/312 Repository URL: https://github.com/alsa-project/alsa-lib