Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1656721pxb; Mon, 11 Oct 2021 10:19:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyyGNuCqeMycWnqcXhjnrURTvetm6yXhghIw9Pfp21L8hKb3vPrnn56iqviEl5CSTe1TDWT X-Received: by 2002:a05:6402:1057:: with SMTP id e23mr44315716edu.352.1633972758730; Mon, 11 Oct 2021 10:19:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633972758; cv=none; d=google.com; s=arc-20160816; b=k/qmjmeem1VOpKEFntuKOfnePSxC7TJaJvOOEmASMlZHaEGtLuXwJvupKie4tqOkmr Miov0pLTKL8ooV4OeYrD1VOVU6Bth2jzLinX25OgreyWomGva6CITkFFtaPRcBL/p7BR OC8ITR6oI4ljolCAthGE43qOxFb4bmlzBlAUV/iOo5jI9F2RZSjT67cws5yMh29elTwn F1xYebJGmfZwKym3ROKYWF6ItavJidgLNEU+De4iAu6pUjOhSJjftxtKVQuZx5td6GBn AzOw7jexdDuHoLD/VoPu4FE5Wt6kfx76UY3e2D+9CH+FWCizxrTSo1TGEnGAwvZw6k3V lDbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature:dkim-filter; bh=QRB5Ou1NGnbNid6JFfjU38Lss1F7V2ixqJfm4FYhiPw=; b=gEDgkc6POeZ1TqcvamB1v/eP2t857ylFPpxML6JHeesKvBKM1rYKpCFgY8UJfQjPxy Lg+7Sa23tajPmCWPBvxlLiq+YD9Q2TINJyfnfvNQSD+srswxF1oZGYy/NVPeKbVoKqV/ vgVHYjkaFWAAxuAadMreN5MdIuAKinv8PUuWVKLPCPtVBP5Nt4ZQag3OHE20sfLcP9WM evyRd8jcMQnFgInuLucgESlIeUF7bhJE2CRArSunPSFtaeFIab8lMIHgOxED5r9xVeOl juwvDh/XkExe+a8dKzaBvvoH2grgPrzfb8rvKyWYpmccI5F9UdV8EHcfwcAB4TaOnmz6 2iPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@perex.cz header.s=default header.b="fug/BqNl"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=perex.cz Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c10si14739514ejf.406.2021.10.11.10.18.52; Mon, 11 Oct 2021 10:19:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@perex.cz header.s=default header.b="fug/BqNl"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=perex.cz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233171AbhJKRSw (ORCPT + 99 others); Mon, 11 Oct 2021 13:18:52 -0400 Received: from mail1.perex.cz ([77.48.224.245]:57352 "EHLO mail1.perex.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232866AbhJKRSw (ORCPT ); Mon, 11 Oct 2021 13:18:52 -0400 Received: from mail1.perex.cz (localhost [127.0.0.1]) by smtp1.perex.cz (Perex's E-mail Delivery System) with ESMTP id C4DE4A003F; Mon, 11 Oct 2021 19:16:48 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.perex.cz C4DE4A003F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=perex.cz; s=default; t=1633972608; bh=QRB5Ou1NGnbNid6JFfjU38Lss1F7V2ixqJfm4FYhiPw=; h=Date:Subject:To:References:From:In-Reply-To:From; b=fug/BqNlw3eZvAAw/uX5lfGAXUi44nPGHYrG4qmeeATh2kPPfZbkaQnzADYiZJdzm dN0/vLBA2laqK9wQ91k+H418whIm8nHiZDfqZZ5suqFTofU4xR5ENi9EWqQVFBfqSs iTc6bj2Od87GNb6vlkXD6CCmpY1XUGXWJZwEk8vA= 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; Mon, 11 Oct 2021 19:16:37 +0200 (CEST) Message-ID: Date: Mon, 11 Oct 2021 19:16:37 +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: Diederik de Haas , Liam Girdwood , Mark Brown , Takashi Iwai , Kuninori Morimoto , Thierry Reding , Jon Hunter , Stephan Gerhold , 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> From: Jaroslav Kysela In-Reply-To: <5069869.zQgEQKRxDW@bagend> 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 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. Jaroslav -- Jaroslav Kysela Linux Sound Maintainer; ALSA Project; Red Hat, Inc.