[Pkg-alsa-devel] Bug#1053869: alsa-ucm-conf: Devices profiles using ucm2/common/pcm/split.conf won't load (undefined var)
Clément Hermann
nodens at debian.org
Fri Oct 13 11:22:48 BST 2023
Package: alsa-ucm-conf
Version: 1.2.10-1
Severity: normal
Tags: upstream
Dear Alsa team,
Since 1.2.10, profiles using ucm2/common/pcm/split.conf won't load (at
least on Arturia Minifuse 1 and 2, and Motu M4). As a result, for cards
with more than 2 outputs, the default surround profile is loaded instead.
```
~$ alsaucm listcards
ALSA lib ucm_subs.c:807:(uc_mgr_get_substituted_value) variable '${var:__Device}' is not defined in this context!
ALSA lib parser.c:2024:(parse_verb_file) error: /USB-Audio/Arturia/Minifuse-12-HiFi.conf failed to parse device
ALSA lib main.c:1554:(snd_use_case_mgr_open) error: failed to import hw:1 use case configuration -22
ALSA lib parser.c:2965:(uc_mgr_scan_master_configs) Unable to open '-hw:1': Invalid argument
alsaucm: error failed to get card list: Invalid argument
```
Issue is known upstream
(https://github.com/alsa-project/alsa-ucm-conf/issues/346) and fixed by https://github.com/alsa-project/alsa-ucm-conf/commit/b68aa52acdd2763fedad5eec0f435fbf43e5ccc6
Applying the change directly in
`/usr/share/alsa/ucm2/common/pcm/split.conf` fixes the issue (hence the
local modification reported by reportbug). I guess the next release of
alsa-ucm-conf will include it, but in the meantime, I suggest applying
it as a patch in Debian.
I can provide a MR on salsa if it helps.
Cheers,
nodens
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.4.0-4-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages alsa-ucm-conf depends on:
ii libasound2 1.2.10-1
alsa-ucm-conf recommends no packages.
alsa-ucm-conf suggests no packages.
-- no debconf information
-- debsums errors found:
debsums: changed file /usr/share/alsa/ucm2/common/pcm/split.conf (from alsa-ucm-conf package)
More information about the Pkg-alsa-devel
mailing list