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 14689C433EF for ; Sun, 10 Jul 2022 16:29:35 +0000 (UTC) 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 2DAE9F3; Sun, 10 Jul 2022 18:28:43 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 2DAE9F3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1657470573; bh=1afUwxMZ5c1fC9IvudyMafHk9q0X4r2RtT14hcUuEpk=; h=From:To:In-Reply-To:References:Subject:Date:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=nyZ63Aj3GlKGbbXil3jelUSXebRjUMSWprPkDVKUV57knl22EEJDdLQbDRdnyb3sw 9hiM8PWRP+6EIIiPA05iIWUQJkyK65p7hb7Cg3UzIQh62hoPLEzPM7iY7rx9s8CCqE 8FTuRKPqnXdLDsETvAPaL/q3hQ/s6ikGUQZdL81M= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id A53AEF8025D; Sun, 10 Jul 2022 18:28:42 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 5559BF80269; Sun, 10 Jul 2022 18:28:37 +0200 (CEST) Received: from webhooks-bot.alsa-project.org (gate.perex.cz [77.48.224.242]) by alsa1.perex.cz (Postfix) with ESMTP id 1FDDFF80163 for ; Sun, 10 Jul 2022 18:28:29 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 1FDDFF80163 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 In-Reply-To: <1657470507988857985-webhooks-bot@alsa-project.org> References: <1657470507988857985-webhooks-bot@alsa-project.org> Subject: Add correct support for Rane SL-1 Message-Id: <20220710162837.5559BF80269@alsa1.perex.cz> Date: Sun, 10 Jul 2022 18:28:37 +0200 (CEST) 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" alsa-project/alsa-ucm-conf pull request #187 was opened from christophehenry: Following [this ticket](https://bugzilla.kernel.org/show_bug.cgi?id=216082) on kernel bugzilla, I'm trying to add corect support for [Rane SL-1](https://cdn.korn.eu/pictures/product/400/040506_3.jpg), an old USB soundcard featuring 2 stereo inputs (RCA) and 3 stereo outputs (2 RCA, 1 6.3mm jack). Currently, `alsa-info.sh` does show the correct number of inputs and outputs But neither `pavucontrol` nor Mixxx do. I was told complex hardware should be described via UCM but the syntax is unfortunately very poorly documented so I can get my head around it and get `pavucontrol` to show all the inputs and outputs. Here's what I have so far which, to my disappointment, does not work. If I put only 1 `SectionDevice` section in the file, I can display 1 ouput under `pavucontrol`. With 2 `SectionDevice`, nothing shows. Without any UCM file, `pavucontrol` shows 2 outputs, 1 intputs (instead of 3) and Mixxx shows 2 outputs and not input. Request URL : https://github.com/alsa-project/alsa-ucm-conf/pull/187 Patch URL : https://github.com/alsa-project/alsa-ucm-conf/pull/187.patch Repository URL: https://github.com/alsa-project/alsa-ucm-conf