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 5C972C433EF for ; Sun, 10 Jul 2022 16:32:06 +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 2A5A291; Sun, 10 Jul 2022 18:31:14 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 2A5A291 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1657470724; bh=jUg0ml0BoPkobQ9rNm7sHIrFIpGXvCA13rgR6rml5n4=; h=From:To:In-Reply-To:References:Subject:Date:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=kJWWWS6OOJ5wrU66LzvWr/GGMMkuwLXQ6ft54EJEggWLRarTTtwv0FQ9uCGXA5jRP RrWCYTXeL+GNyrSL59GydlqKwMAK7akDDPal7YgE4fufhYeT/HCRtBLKms7qhGkEkV xu8Fhx4T/jGZ5aEMijBIp+kzsWydaK+JrGDSZ+RY= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id B5B39F8025D; Sun, 10 Jul 2022 18:31:13 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id D7855F80269; Sun, 10 Jul 2022 18:31:11 +0200 (CEST) Received: from webhooks-bot.alsa-project.org (gate.perex.cz [77.48.224.242]) by alsa1.perex.cz (Postfix) with ESMTP id B8348F80163 for ; Sun, 10 Jul 2022 18:31:05 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz B8348F80163 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: GitHub pull_request - edited To: alsa-devel@alsa-project.org In-Reply-To: <1657470665304089069-webhooks-bot@alsa-project.org> References: <1657470665304089069-webhooks-bot@alsa-project.org> Subject: Add correct support for Rane SL-1 Message-Id: <20220710163111.D7855F80269@alsa1.perex.cz> Date: Sun, 10 Jul 2022 18:31:11 +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 edited 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. [The result of `alsa-info.sh` is available here](https://bugzilla.kernel.org/attachment.cgi?id=301351). 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