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

From: didi . debian
Date: Mon Oct 11 2021 - 17:48:54 EST


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