Re: [PATCH] ASoC: simple-card: Fill in driver name

From: Jaroslav Kysela
Date: Mon Oct 11 2021 - 13:16:54 EST


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 <perex@xxxxxxxx>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.