Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp514342pxb; Sun, 10 Oct 2021 04:17:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwAfDQrZDWTsFDdJUp39EohiF+LibOC0IevQIs5QoG2fzcJ1yX1io52Wu0FRz+99h+okb3l X-Received: by 2002:a05:6402:3587:: with SMTP id y7mr31621834edc.182.1633864632345; Sun, 10 Oct 2021 04:17:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633864632; cv=none; d=google.com; s=arc-20160816; b=wUUHaSVpp22qa0FFR/mgj84VUFBMLRGdeZNJMllpnf84/1EdLtzuJJas7eMMFOml+L zKMVB9LJ15Me3jcuhimqMLqu/tRSLqN53FZ4nb2EvhFlDe2URgfBPOAy7n46zTmOQu0E XjylyTKtSdZJYeFXnb9FQ9bqL+Y56Dg7qFOA2wQdtMX9YMJ8qklhm89nQAJ55Rpk1pPW LiJZ7jeVCN6eTL32A0aMU5ACEybMR1JKtHqryYdISO9OLxKYvLU4AMJbh2X7G35MzYKe NU32RIkmZ+UgTSTNiZGLCNd8IC47qY88nV3Kr5b1l8qFvGy2+BXVmPEeuk84r5OWCeaH nWAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:organization :message-id:date:subject:to:from; bh=17vjXfuqHubkqwJhpGE8V9x0iLEJP9sAllK/ibdz4j0=; b=pLIZUtg7u8UvsJgqPEE4hbsbYj0VdEZ0wFpTRdM+2gysdsao9ecgIL9jzAdhEXcFMW 43AQP6xFCpDaoePWsfU0JeMzkJxoguP0FrUiScQMzhcr/yguapBWeS4yCmzDFaaQYtkr ytGPuq9UsjgYLyhfwzlLaLtYpjsnBvRNmwEmC67UEUZX9GxrkLzL7zqgn5lFU+VGBQkV wIJySq36KbQl9Dc1HomknNAhT+E3MkEHD1FgmEC8Pm73aNlVITnMcdXzT6cim4rp2RB5 tIihCozS1B/WiGExfdj7Nxnm7otWEdTUU7wo14YmLVoyaV6XI97mCCpiWIhujNGaOQeB 7Nzg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x7si6608075ejw.537.2021.10.10.04.16.26; Sun, 10 Oct 2021 04:17:12 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231745AbhJJKmf (ORCPT + 99 others); Sun, 10 Oct 2021 06:42:35 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:52237 "EHLO relay5-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231609AbhJJKme (ORCPT ); Sun, 10 Oct 2021 06:42:34 -0400 Received: from bagend.localnet (86-126-20-31.ftth.glasoperator.nl [31.20.126.86]) (Authenticated sender: didi.debian@cknow.org) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 7B7CD1C0006; Sun, 10 Oct 2021 10:40:31 +0000 (UTC) From: Diederik de Haas To: Liam Girdwood , Mark Brown , Takashi Iwai , Kuninori Morimoto , Thierry Reding , Jon Hunter , Stephan Gerhold , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Guido =?ISO-8859-1?Q?G=FCnther?= , Jaroslav Kysela Subject: Re: [PATCH] ASoC: simple-card: Fill in driver name Date: Sun, 10 Oct 2021 12:40:00 +0200 Message-ID: <5069869.zQgEQKRxDW@bagend> Organization: Connecting Knowledge In-Reply-To: <61a82214-0de8-816f-ff63-3979b86343bf@perex.cz> References: <4974503.Y8KB3sNASq@bagend> <61a82214-0de8-816f-ff63-3979b86343bf@perex.cz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart9604810.WXvppzzZfE"; micalg="pgp-sha256"; protocol="application/pgp-signature" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --nextPart9604810.WXvppzzZfE Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii"; protected-headers="v1" From: Diederik de Haas To: Liam Girdwood , Mark Brown , Takashi Iwai , Kuninori Morimoto , Thierry Reding , Jon Hunter , Stephan Gerhold , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Guido =?ISO-8859-1?Q?G=FCnther?= , Jaroslav Kysela Subject: Re: [PATCH] ASoC: simple-card: Fill in driver name Date: Sun, 10 Oct 2021 12:40:00 +0200 Message-ID: <5069869.zQgEQKRxDW@bagend> Organization: Connecting Knowledge In-Reply-To: <61a82214-0de8-816f-ff63-3979b86343bf@perex.cz> References: <4974503.Y8KB3sNASq@bagend> <61a82214-0de8-816f-ff63-3979b86343bf@perex.cz> 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 I have just prepended "LE-" and appended ".bak" to those files and rebooted and that resulted in only "output:stereo-fallback" profiles. Just like in what I considered 'failures' that I tracked down to this commit. So it appears that LE's card definitions *gave* me multichannel output, whereas I wouldn't have had it otherwise. It also explains why the sound issue occurs with LE too. Note that I took/used LE's work as 'inspiration' to improve things on Debian. Their work seems very good to me and one of their card definitions was also referenced from (kernel) commit 25572fb5aa986bdbb35d06c0fb52a9b9d9b3b2c9 titled "arm64: dts: rockchip: enable HDMI sound nodes for rk3328-rock64" > if a PA profile or an UCM configuration is used (in the PA debug log). While I don't consider myself clueless wrt Linux (running Sid for 10+ years), I am clueless wrt how ALSA/PA/audio-in-general works (on Linux). When I do 'journalctl -b -u pulseaudio --since="2021-10-10 12:00:00"' I get a lot of output and also several 'errors', but I have no clue how to interpret that. I also get that when AFAIC (from a user standpoint) everything 'works'. So I'd need some help with that. I could attach output of (several runs of) "journalctl" and f.e. the output of 'alsa-info', but I haven't yet as it may not be appropriate and may also no longer be considered a kernel problem (and the 'To:' list is (far) larger then I'm used to). So I'd need some guidance with that too. Regards, Diederik --nextPart9604810.WXvppzzZfE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQT1sUPBYsyGmi4usy/XblvOeH7bbgUCYWLDAAAKCRDXblvOeH7b bhY0AQCQonSziFIkdstiX3euzGfJ/VA3DGwfPowhsWaKGS3xXwEA1GuxWxCPsYrj fxWSnqQiikaZvAB1joo64fn0IKyH5Qw= =blow -----END PGP SIGNATURE----- --nextPart9604810.WXvppzzZfE--