alsa-project / alsa-ucm-conf

ALSA Use Case Manager configuration
BSD 3-Clause "New" or "Revised" License
72 stars 212 forks source link

alsaucm: error failed to get list _devices after updating ALSA lib #277

Open faerics opened 1 year ago

faerics commented 1 year ago

Hello everyone, I'm in the middle of solving problem with sound on my Infinix Inbook X2 laptop.

Original issue is here, we managed to expose my soundcard to userspace, Second step was to update UCM, because of Incompatible syntax 6 in sof-essx8336.conf. The problem is described in this issue, being unsolved and closed. Thus I realised I need to update alsa-lib.

Alsa UCM conf version I use is 1.2.8 so I downloaded from github and installed the following with dpkg -i

No errors on install, but when I try to inspect UCM I get

alsaucm list _devices
alsaucm: error failed to get list _devices: No such file or directory

I'll appreciate any help.


System info:

Distro: Linux Mint 21 Cinnamon Kernel: https://github.com/thesofproject/linux/tree/es8336-v6.0 Alsa-info before updating alsa-lib: alsa-info-v6+tplg.txt Alsa-info after updating alsa-lib: alsa-info-v6_updated-labasuond.txt

perexg commented 1 year ago

https://github.com/alsa-project/alsa-ucm-conf/blob/master/ucm2/DEBUG.md

https://github.com/alsa-project/alsa-ucm-conf/pull/258

faerics commented 1 year ago

@perexg Well. kinda stuck here, but still very interested to get sound working.

Here is the output of alsaucm -c hw:0 dump text alsaucm.txt

When I try to change any control via amixer. I get no effect. When I change volume via keyboard. I don't see any changes in mixer, too.

What could be the next steps?

Kind regards.

perexg commented 1 year ago

Try change in #258 at first. I don't know any hardware details, so if you cannot get things to work with the native (direct) ALSA tools like amixer/alsamixer/aplay/arecord, then you may ask the driver author for a help. UCM just describes things on top of the ALSA subsystem.