Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2164244pxb; Tue, 12 Oct 2021 00:11:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJ90XSEaqEpSrfvvy9mxF6GWqBxWECTBuXW3tg93OLauowSDQVqsysJwIX2bu8MFSRcJQF X-Received: by 2002:a17:907:7755:: with SMTP id kx21mr31811750ejc.463.1634022700056; Tue, 12 Oct 2021 00:11:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634022700; cv=none; d=google.com; s=arc-20160816; b=Y6JmR+NHGVJTd7OZAERGHJktCeF3ZMrQGil5fDtXCtxCrXFmcSZV/kMteqAft56e95 ZeKJoSy3OXva/FcteH2YZckHLlzz3YDcrvNm7noTwGGxTRsnbsB+HyfYh7q6rAr+RhN8 VkA1VdGA6bLe7FuJ2Zi2W3c6BGzcAMq0NqU89naSW/CfjWVKhzwAIcxFSMepwknKfXVt UvWpCpZIM+cV4hHHz/qv9UtKwAErX0quHm3ft1K4PsAhquT7Y3q/bWR49814O9blfQae iEt7WqCNM1szcPE0VJ8CIT2QvC6MXZ7Cn5Q0/5DBAQ6XycOBxqqJ0yR4Ah3glS16erpO Dd/Q== 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:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-filter; bh=MCKswC9dfx4z8lMqYYZ+iA/guE0ZI+EWy0JeZqlKWRg=; b=KwDLkDDR5+Rf4pvR+9lFL6rzNvwOGhhq4SJlt3Dyfj8tMELRyKyr62nG8LCqii9hKX qpFeY7ASgqD7BQ/EqLFQIaMR2xZHX2spVt6ug8n47zEK9jHLjRkm2nJeTTD6mC1K0rq7 8XDKpd1w02xXdxze0Rue6Y+7slstOkuAYZPqejvvGxRMdvURYQb/uilgEK0f7YjghWPM /6O05Urzy+bXsnZPpspxcZ+FttkTzcPFnkOcAGvLljoJxRIUduSL3MXuit1eNcMpXU12 vZhYSnuCP2+xqAh33Fuh4kegV29EIrZnqAOZ03jEK3D87kNcJBhdfsVw9aBDirYmRi0A lMlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@perex.cz header.s=default header.b=KdgpgBni; 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 gx23si17517667ejb.531.2021.10.12.00.11.16; Tue, 12 Oct 2021 00:11:40 -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=KdgpgBni; 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 S233568AbhJLHLg (ORCPT + 99 others); Tue, 12 Oct 2021 03:11:36 -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.