From mboxrd@z Thu Jan 1 00:00:00 1970 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B5470C433EF for ; Tue, 12 Oct 2021 07:09:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8ABDB60EB4 for ; Tue, 12 Oct 2021 07:09:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233602AbhJLHLh (ORCPT ); Tue, 12 Oct 2021 03:11:37 -0400 Received: from mail1.perex.cz ([77.48.224.245]:36330 "EHLO mail1.perex.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233456AbhJLHLg (ORCPT ); Tue, 12 Oct 2021 03:11:36 -0400 Received: from mail1.perex.cz (localhost [127.0.0.1]) by smtp1.perex.cz (Perex's E-mail Delivery System) with ESMTP id 93D58A003F; Tue, 12 Oct 2021 09:09:33 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.perex.cz 93D58A003F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=perex.cz; s=default; t=1634022573; bh=MCKswC9dfx4z8lMqYYZ+iA/guE0ZI+EWy0JeZqlKWRg=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=KdgpgBni8FQ8qf00KE9jd6F/lFFE4gBL/deP4Gzk7btbCektMaADrYppYboQ0kWUH qpplY4C6k6A4bE615Q4s1ZOGDqE9skTxDMlPtBn8eVHwUDZ7PVJ6yeXG1cTCJF/Bn5 j81zXmnFi1sB3RRSHiFqhuGUHdOs/np/CqimKvsc= Received: from [192.168.100.98] (unknown [192.168.100.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: perex) by mail1.perex.cz (Perex's E-mail Delivery System) with ESMTPSA; Tue, 12 Oct 2021 09:09:29 +0200 (CEST) Message-ID: <22cb5c18-9c92-7365-99a5-e0577e243fa2@perex.cz> Date: Tue, 12 Oct 2021 09:09:29 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0 Subject: Re: [PATCH] ASoC: simple-card: Fill in driver name Content-Language: en-US To: didi.debian@cknow.org Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, =?UTF-8?Q?Guido_G=c3=bcnther?= References: <4974503.Y8KB3sNASq@bagend> <61a82214-0de8-816f-ff63-3979b86343bf@perex.cz> <5069869.zQgEQKRxDW@bagend> <97a1c38c48765fb6634de34387e3ce3c@cknow.org> From: Jaroslav Kysela In-Reply-To: <97a1c38c48765fb6634de34387e3ce3c@cknow.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11. 10. 21 23:48, didi.debian@cknow.org wrote: > On 2021-10-11 19:16, Jaroslav Kysela wrote: >> On 10. 10. 21 12:40, Diederik de Haas wrote: >>> On Sunday, 10 October 2021 10:40:09 CEST Jaroslav Kysela wrote: >>>>> Unfortunately this change broke multichannel audio on my Rock64 >>>>> device >>>>> running Debian. My Rock64 is connected to my AVR (Pioneer SC-1224) >>>>> via a >>>>> HDMI cable. >>>> This looks like an user space configuration problem. >>> >>> I have placed ALSA card definitions (I think) from LibreELEC on my >>> system from >>> https://github.com/LibreELEC/LibreELEC.tv/tree/master/projects/Rockchip/ >>> filesystem/usr/share/alsa/cards >> >> Apparently, the alsa-lib configuration is used in this case. >> >> It seems that there are four sound cards (Analog/HDMI/I2S/SPDIF) >> created for your hardware. The alsa-lib configuration is a bit weird - >> an obfuscation for the simple-card driver use. The simple way to >> resolve this is to create a proper UCM configuration. >> >> If you need further assistance, create an issue for alsa-lib or >> alsa-ucm-conf on github and with an output from the 'alsa-info.sh' >> script. > > Will do. > > FTR: It's now working again for me on a kernel with this patch included: > https://github.com/LibreELEC/LibreELEC.tv/issues/5734#issuecomment-940088156 > > I have no idea whether this is a proper solution or another > 'workaround', but > it's working for me again :) The patch bellow resolved your issue - alsa-lib configuration fix. But it's not an universal solution and there may be clashes with other simple-card drivers in future. https://github.com/LibreELEC/LibreELEC.tv/pull/5749/commits/f681a48a664bd0f0e8f0dc131bd58c5d7512adc3 Jaroslav -- Jaroslav Kysela Linux Sound Maintainer; ALSA Project; Red Hat, Inc. From mboxrd@z Thu Jan 1 00:00:00 1970 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7040AC433F5 for ; Tue, 12 Oct 2021 07:10:39 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id AAB6D61078 for ; Tue, 12 Oct 2021 07:10:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org AAB6D61078 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=perex.cz Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-project.org 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 3E6BB1664; Tue, 12 Oct 2021 09:09:45 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 3E6BB1664 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1634022635; bh=Jph5YO/bJcNtxTl2meVF2NgqAFzEJ1tyoD6Sh4Tpo+U=; h=Date:Subject:To:References:From:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=WsdSvLnbtTT6Mu2oZoX+ZZ4nlqN0U7Mk0Z0Pl4W28Nk/lsqW7bA3CJuz1/fLs4Jbk FxK4b1o9bDkzrIiLHY+FOHtWAwusfvjp5BMzgvYCKYT/8KnhxgDSJUcaidRdBj+HaV P1TcAeF9du7wMpGK1vmaFmmDAmWq85kGeXd9nwnk= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id AB6EBF801F7; Tue, 12 Oct 2021 09:09:44 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 3499AF80212; Tue, 12 Oct 2021 09:09:43 +0200 (CEST) Received: from mail1.perex.cz (mail1.perex.cz [77.48.224.245]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 6A5C1F80083 for ; Tue, 12 Oct 2021 09:09:34 +0200 (CEST) Received: from mail1.perex.cz (localhost [127.0.0.1]) by smtp1.perex.cz (Perex's E-mail Delivery System) with ESMTP id 93D58A003F; Tue, 12 Oct 2021 09:09:33 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.perex.cz 93D58A003F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=perex.cz; s=default; t=1634022573; bh=MCKswC9dfx4z8lMqYYZ+iA/guE0ZI+EWy0JeZqlKWRg=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=KdgpgBni8FQ8qf00KE9jd6F/lFFE4gBL/deP4Gzk7btbCektMaADrYppYboQ0kWUH qpplY4C6k6A4bE615Q4s1ZOGDqE9skTxDMlPtBn8eVHwUDZ7PVJ6yeXG1cTCJF/Bn5 j81zXmnFi1sB3RRSHiFqhuGUHdOs/np/CqimKvsc= Received: from [192.168.100.98] (unknown [192.168.100.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: perex) by mail1.perex.cz (Perex's E-mail Delivery System) with ESMTPSA; Tue, 12 Oct 2021 09:09:29 +0200 (CEST) Message-ID: <22cb5c18-9c92-7365-99a5-e0577e243fa2@perex.cz> Date: Tue, 12 Oct 2021 09:09:29 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0 Subject: Re: [PATCH] ASoC: simple-card: Fill in driver name Content-Language: en-US To: didi.debian@cknow.org References: <4974503.Y8KB3sNASq@bagend> <61a82214-0de8-816f-ff63-3979b86343bf@perex.cz> <5069869.zQgEQKRxDW@bagend> <97a1c38c48765fb6634de34387e3ce3c@cknow.org> From: Jaroslav Kysela In-Reply-To: <97a1c38c48765fb6634de34387e3ce3c@cknow.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: alsa-devel@alsa-project.org, =?UTF-8?Q?Guido_G=c3=bcnther?= , linux-kernel@vger.kernel.org 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" On 11. 10. 21 23:48, didi.debian@cknow.org wrote: > On 2021-10-11 19:16, Jaroslav Kysela wrote: >> On 10. 10. 21 12:40, Diederik de Haas wrote: >>> On Sunday, 10 October 2021 10:40:09 CEST Jaroslav Kysela wrote: >>>>> Unfortunately this change broke multichannel audio on my Rock64 >>>>> device >>>>> running Debian. My Rock64 is connected to my AVR (Pioneer SC-1224) >>>>> via a >>>>> HDMI cable. >>>> This looks like an user space configuration problem. >>> >>> I have placed ALSA card definitions (I think) from LibreELEC on my >>> system from >>> https://github.com/LibreELEC/LibreELEC.tv/tree/master/projects/Rockchip/ >>> filesystem/usr/share/alsa/cards >> >> Apparently, the alsa-lib configuration is used in this case. >> >> It seems that there are four sound cards (Analog/HDMI/I2S/SPDIF) >> created for your hardware. The alsa-lib configuration is a bit weird - >> an obfuscation for the simple-card driver use. The simple way to >> resolve this is to create a proper UCM configuration. >> >> If you need further assistance, create an issue for alsa-lib or >> alsa-ucm-conf on github and with an output from the 'alsa-info.sh' >> script. > > Will do. > > FTR: It's now working again for me on a kernel with this patch included: > https://github.com/LibreELEC/LibreELEC.tv/issues/5734#issuecomment-940088156 > > I have no idea whether this is a proper solution or another > 'workaround', but > it's working for me again :) The patch bellow resolved your issue - alsa-lib configuration fix. But it's not an universal solution and there may be clashes with other simple-card drivers in future. https://github.com/LibreELEC/LibreELEC.tv/pull/5749/commits/f681a48a664bd0f0e8f0dc131bd58c5d7512adc3 Jaroslav -- Jaroslav Kysela Linux Sound Maintainer; ALSA Project; Red Hat, Inc.