alsa-ucm-conf 1.2.5 breaks audio
E: [pulseaudio] main.c: Sink alsa_output.platform-sound.HiFi__hw_L5_0__sink does not exist.
E: [pulseaudio] main.c: Source alsa_input.platform-sound.HiFi__hw_L5_0__source does not exist.
E: [pulseaudio] main.c: No source found by this name or index.
E: [pulseaudio] main.c: Failed to initialize daemon due to errors while executing startup commands. Source of commands: /etc/pulse/librem5.pa
I bisected to this commit in alsa-ucm-conf: https://github.com/alsa-project/alsa-ucm-conf/commit/1e6297b650114cb2e043be4c677118f971e31eb7
This patch works around it:
diff --git a/ucm2/ucm.conf b/ucm2/ucm.conf
index a9bdd0d..157742e 100644
--- a/ucm2/ucm.conf
+++ b/ucm2/ucm.conf
@@ -18,7 +18,7 @@ Define.V2ConfD yes # empty string to disable
Define.V2Module yes # non-empty string to enable module name lookups (obsolete)
Define.V2Name yes # non-empty string to enable driver & card name lookups (obsolete)
-Include.libgen.File "/lib/generic.conf" # private alsa-lib configuration
+# Include.libgen.File "/lib/generic.conf" # private alsa-lib configuration
If.driver {
Condition {
generic.conf
looks simple enough, but I don't really understand what ucm2 is doing by including it from ucm2/ucm.conf
...