alsa-project / alsa-lib

The Advanced Linux Sound Architecture (ALSA) - library
GNU Lesser General Public License v2.1
366 stars 177 forks source link

alsa-lib errors on boot #159

Closed miquecg closed 3 years ago

miquecg commented 3 years ago
alsactl[769]: alsa-lib parser.c:242:(error_node) UCM is not supported for this HDA model (HD-Audio Generic at 0xfd3c8000 irq 108)
alsactl[769]: alsa-lib main.c:1405:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -6
alsactl[769]: alsa-lib parser.c:242:(error_node) UCM is not supported for this HDA model (HD-Audio Generic at 0xfd3c0000 irq 109)
alsactl[769]: alsa-lib main.c:1405:(snd_use_case_mgr_open) error: failed to import hw:1 use case configuration -6

This is happening on a ThinkPad T14 AMD running Arch Linux and alsa-lib 1.2.5.1. Previous version also had this issue.

perexg commented 3 years ago

You may extend the UCM configuration for your hardware. All legacy hardware is affected including USB cards:

$ alsactl init 0
alsa-lib main.c:1402:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2
Found hardware: "USB-Audio" "USB Mixer" "USB046d:0a44" "" ""
Hardware is initialized using a generic method

I've not found any better solution. The code path is 'try UCM init' and on error 'fallback to legacy init'.

If you don't like those messages, add -U or --no-ucm parameter to the alsactl call in your systemd service.

miquecg commented 3 years ago

Those errors are not worrying me, just wanted to know if they are important or relevant since they didn't happen before AFAIK.

Thanks.