Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to import acp5x use case configuration -2 #184

Closed
DocMAX opened this issue Jul 4, 2022 · 3 comments
Closed

failed to import acp5x use case configuration -2 #184

DocMAX opened this issue Jul 4, 2022 · 3 comments

Comments

@DocMAX
Copy link

DocMAX commented Jul 4, 2022

docmax@steamdeck: ~ $ ALSA_CONFIG_UCM=/usr/share/alsa/ucm2/ alsaucm -c acp5x set _verb HiFi
ALSA lib main.c:1541:(snd_use_case_mgr_open) error: failed to import acp5x use case configuration -2
alsaucm: error failed to open sound card acp5x: No such file or directory

Why does it fail? I have the following directory set up:

/usr/share/alsa/ucm2/conf.d/acp5x/HiFi.conf
/usr/share/alsa/ucm2/conf.d/acp5x/acp5x.conf

@perexg
Copy link
Member

perexg commented Jul 4, 2022

Try alsaucm -c hw:acp5x (you may check the card string identifier using aplay -l - it's the string right after card <no>: prefix).

@DocMAX
Copy link
Author

DocMAX commented Jul 4, 2022

Thanks, its the same:


docmax@steamdeck: ~ $ alsaucm -c hw:acp5x set _verb HiFi
ALSA lib main.c:1541:(snd_use_case_mgr_open) error: failed to import hw:acp5x use case configuration -2
alsaucm: error failed to open sound card hw:acp5x: No such file or directory

docmax@steamdeck: ~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: acp5x [acp5x], device 0: Playback/Capture nau8821-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: acp5x [acp5x], device 1: CS35L41 Stereo Playback multicodec-1 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

@DocMAX
Copy link
Author

DocMAX commented Jul 4, 2022

Nevermind. I fixed this creating a symlink to the UCM2 root.
-> /usr/share/alsa/ucm2/Cirrus/CS35L41

@DocMAX DocMAX closed this as completed Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants