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 5120FC04A68 for ; Thu, 28 Jul 2022 09:50:58 +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 9B85A1622; Thu, 28 Jul 2022 11:50:06 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 9B85A1622 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1659001856; bh=JeZg/88XHY5SMUzEbky60bumltIsFiF9GWshwMpleTs=; h=From:To:In-Reply-To:References:Subject:Date:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=MpqRMFe89KSeoe+Zf8tmHkHNlCKjXmPMuM7ehVWUTWkWyzgHL+yVtkU8Z4LZ0/uPf riEIRQwr1REkCtKb4VEQc8A+Oo62WhW0G3aCq0W3wBDVOsKOtr72wbj/YMXRfOkY0A KlgqwStmWGkPXu8pr3wRDkzdZAJw16P2ruDzjVp8= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 2F7FFF80430; Thu, 28 Jul 2022 11:50:06 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id AC6EEF804EC; Thu, 28 Jul 2022 11:50:04 +0200 (CEST) Received: from webhooks-bot.alsa-project.org (gate.perex.cz [77.48.224.242]) by alsa1.perex.cz (Postfix) with ESMTP id 71583F800FA for ; Thu, 28 Jul 2022 11:49:58 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 71583F800FA 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: <1659001798017374992-webhooks-bot@alsa-project.org> References: <1659001798017374992-webhooks-bot@alsa-project.org> Subject: Add correct support for Rane SL-1 Message-Id: <20220728095004.AC6EEF804EC@alsa1.perex.cz> Date: Thu, 28 Jul 2022 11:50:04 +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 output (RCA) and 3 stereo input (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