Skip to contentSkip to conversation

how to manage the ucm and ucm2 for different kernels

question GitHub issues - opened 1 participant 1 message Apr 7, 2023 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

alsa-project/alsa-lib issue #312 was opened from leif1992:

I got a problem which confused me for a long time. Wish I can get a good answer from here.

I write the ucm and ucm2 files for my sound card which can work well with my driver. And I need to support both 4.19 kernel (which use the ucm) and the 5.4 kernel (which use the ucm2). They are all deployed in the /usr/share/alsa. However, I need to install to audio driver for both 4.19 and 5.4 (DKMS). The ucm and ucm2 were both deployed at the same time. When I switch the kernel to 5.4, my ubuntu can't load my UCM files normally, and if I removed the files in the usr/share/alsa/ucm and then reboot the OS. My ucm files in the usr/share/alsa/ucm2 can be loaded normally.

Would you please help me figure out this incompatibility problem?

Issue URL : https://github.com/alsa-project/alsa-lib/issues/312
Repository URL: https://github.com/alsa-project/alsa-lib