alsa-lib icon indicating copy to clipboard operation
alsa-lib copied to clipboard

Alsa lib is not able to find the UCM .conf files

Open 3bitbrain opened this issue 1 year ago • 5 comments

Note : the sound card is a Xonar DX ( AV200 ) The alsa UCM files are installed at PATH=/usr/share/alsa When I try to start alsasound, I get this error == alsa-lib-1.2.11/src/umc/main.c:1554: (snd_use_case_mgr_open) error : failed to import hw:1 use case configuration -2 The CMD alsaucm listcards gets this response : list is empty.

alsa-info.txt aplay-info.txt

3bitbrain avatar May 27 '24 11:05 3bitbrain

Your card is handled in legacy mode (no UCM configuration is defined yet).

perexg avatar May 27 '24 11:05 perexg

Thanks for the info. Did a build with ucm/topology disabled ... and no error now.

3bitbrain avatar May 29 '24 18:05 3bitbrain

It should not be required. Which service produced this log? It may be ignored.

perexg avatar May 31 '24 11:05 perexg

The service is ' /etc/init.d/alsasound ', using the ' start ' or ' restart ' CMD ( OpenRC init ).

Bad news == pipewire / pulseaudio both have dependencies on ucm / topology.

Is there a way to specify ucm conf syntax version 1 usage? That version did have a config showing for the AV200.

3bitbrain avatar Jun 07 '24 15:06 3bitbrain

Well this error is a bit like warning. If you see "initialized by generic method" on the command line after this error, then the initialization behaviour does not change. Unfortunately, we miss a better message classification in alsa-lib (we have only errors).

perexg avatar Jun 10 '24 07:06 perexg