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 CFAC3C433EF for ; Mon, 11 Oct 2021 21:48:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AECFA60F0F for ; Mon, 11 Oct 2021 21:48:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235406AbhJKVuw (ORCPT ); Mon, 11 Oct 2021 17:50:52 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:53995 "EHLO relay5-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231186AbhJKVuv (ORCPT ); Mon, 11 Oct 2021 17:50:51 -0400 Received: (Authenticated sender: didi.debian@cknow.org) by relay5-d.mail.gandi.net (Postfix) with ESMTPA id AB6031C0002; Mon, 11 Oct 2021 21:48:48 +0000 (UTC) MIME-Version: 1.0 Date: Mon, 11 Oct 2021 23:48:48 +0200 From: didi.debian@cknow.org To: Jaroslav Kysela Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, =?UTF-8?Q?Guido_G=C3=BCnther?= Subject: Re: [PATCH] ASoC: simple-card: Fill in driver name In-Reply-To: References: <4974503.Y8KB3sNASq@bagend> <61a82214-0de8-816f-ff63-3979b86343bf@perex.cz> <5069869.zQgEQKRxDW@bagend> User-Agent: Roundcube Webmail/1.4.11 Message-ID: <97a1c38c48765fb6634de34387e3ce3c@cknow.org> X-Sender: didi.debian@cknow.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 :) Thanks for your help. Diederik 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 8DC28C433F5 for ; Mon, 11 Oct 2021 21:49:52 +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 2BA9F60EB4 for ; Mon, 11 Oct 2021 21:49:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2BA9F60EB4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=cknow.org 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 A2A6C16CB; Mon, 11 Oct 2021 23:48:58 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz A2A6C16CB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1633988988; bh=CizBxvPT/1Om1GG7WSKVxbCBWyjL6FdlfXPomXbUFLo=; h=Date:From:To:Subject:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=gfgUcijjpWmNnNC56zqKi3SZMf6Xpgw0LcinJdedjfe0YQdb00wVaLdUnhLu2HH8d 2mLKyEHuqfqnBGwoe1CaprSR3po8aFmzfk2xaAqZp63EfcroQnYRn+7OKSUPlLNib9 CBrpuKqYWlhJ14i3X85+uB7TMA3OVa1IDM2Jhk8U= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 11078F8025B; Mon, 11 Oct 2021 23:48:58 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 903F8F80269; Mon, 11 Oct 2021 23:48:55 +0200 (CEST) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 2396BF80104 for ; Mon, 11 Oct 2021 23:48:49 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 2396BF80104 Received: (Authenticated sender: didi.debian@cknow.org) by relay5-d.mail.gandi.net (Postfix) with ESMTPA id AB6031C0002; Mon, 11 Oct 2021 21:48:48 +0000 (UTC) MIME-Version: 1.0 Date: Mon, 11 Oct 2021 23:48:48 +0200 From: didi.debian@cknow.org To: Jaroslav Kysela Subject: Re: [PATCH] ASoC: simple-card: Fill in driver name In-Reply-To: References: <4974503.Y8KB3sNASq@bagend> <61a82214-0de8-816f-ff63-3979b86343bf@perex.cz> <5069869.zQgEQKRxDW@bagend> User-Agent: Roundcube Webmail/1.4.11 Message-ID: <97a1c38c48765fb6634de34387e3ce3c@cknow.org> X-Sender: didi.debian@cknow.org Content-Type: text/plain; charset=US-ASCII; 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 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 :) Thanks for your help. Diederik