LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   alsa 1.2.5 upgrade errors (https://www.linuxquestions.org/questions/slackware-14/alsa-1-2-5-upgrade-errors-4175695921/)

rdsherman 06-02-2021 12:38 PM

alsa 1.2.5 upgrade errors
 
Executing (v 1.2.5 upgrades)

alsactl restore


yields this message:


alsa-lib parser.c:2372:(load_toplevel_config) Unable to find the top-level configuration file '/usr/share/alsa/ucm2/ucm.conf'.
alsa-lib main.c:1402:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2

But, sound on my system functions, nevertheless.

Harmless?

Or needs attention?

claustrofiel 06-02-2021 04:09 PM

Does your microphone work? My laptop's built-in microphone stopped working when I upgraded alsa-utils to 1.2.5.

I get the same errors.

Downgrading the alsa-utils package to the previous version (but not alsa-lib and alsa-plugins packages) "solved" my problem with the microphone.

EDIT: Apparently, I am even newer to Linux audio than I already thought. My microphone now also works with the latest alsa-utils version. I had never seen or heard of the "alsactl" command before today, but "alsactl store" and "alsactl restore" seem to have solved my problem (despite the errors).

dr.s 06-04-2021 04:08 PM

Thread with alsa 1.2.5 issues, staying with 1.2.4 for now.
https://www.linuxquestions.org/quest...io-4175695880/

USUARIONUEVO 06-04-2021 04:26 PM

ALSA upstream ,releases patches to fix 1.2.5

https://github.com/alsa-project/alsa-lib/issues/143
1.2.5-load_all_cards.patch
1 --> https://github.com/alsa-project/alsa...97013090.patch


https://github.com/alsa-project/alsa-lib/issues/142
1.2.5-private_device_prefix1.patch
2 --> https://github.com/alsa-project/alsa...9b1278e6.patch

1.2.5-private_device_prefix2.patch
3 --> https://github.com/alsa-project/alsa...2914ec14.patch

rdsherman 06-07-2021 04:41 PM

Latest alsa 1.2.5 rebuild shows this. Seems that github patches not yet applied for SW?

alsa-lib ucm_subs.c:252:(rval_lookup_main) Lookups are supported in v4+ syntax
alsa-lib parser.c:242:(error_node) UCM is not supported for this HDA model (HDA Intel PCH at 0x6041118000 irq 183)
alsa-lib main.c:1402:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -6

Daedra 06-07-2021 09:34 PM

Quote:

Originally Posted by rdsherman (Post 6257134)
Latest alsa 1.2.5 rebuild shows this. Seems that github patches not yet applied for SW?

alsa-lib ucm_subs.c:252:(rval_lookup_main) Lookups are supported in v4+ syntax
alsa-lib parser.c:242:(error_node) UCM is not supported for this HDA model (HDA Intel PCH at 0x6041118000 irq 183)
alsa-lib main.c:1402:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -6

Same error here on latest alsa-lib-1.2.5 from today's changelog. I even downloaded the source and recompiled with USUARIONUEVO's patches and it still has this error. Hopefully it will be fixed upstream soon.

KeithE 06-07-2021 10:11 PM

Quote:

Originally Posted by Daedra (Post 6257172)
Same error here on latest alsa-lib-1.2.5 from today's changelog. I even downloaded the source and recompiled with USUARIONUEVO's patches and it still has this error. Hopefully it will be fixed upstream soon.

Hopefully it's already been fixed. It's part of tonight's system update.

Daedra 06-07-2021 10:18 PM

Quote:

Originally Posted by KeithE (Post 6257180)
Hopefully it's already been fixed. It's part of tonight's system update.

That's what I am talking about, I already upgraded to tonight's changelog. That didn't fix it, so I downloaded the SlackBuild source from tonights update and recompiled it with the above patches and I am still getting the error. However everything seems to be working fine other than that message during boot.

rdsherman 06-09-2021 06:10 PM

Latest rebuild 1.2.5-3 with upstream patches. alsactl restore =>

alsa-lib ucm_subs.c:252:(rval_lookup_main) Lookups are supported in v4+ syntax
alsa-lib parser.c:242:(error_node) UCM is not supported for this HDA model (HDA Intel PCH at 0x6041118000 irq 183)
alsa-lib main.c:1402:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -6

Needs more work.

fourtysixandtwo 06-09-2021 08:15 PM

Quote:

Originally Posted by Daedra (Post 6257182)
That's what I am talking about, I already upgraded to tonight's changelog. That didn't fix it, so I downloaded the SlackBuild source from tonights update and recompiled it with the above patches and I am still getting the error. However everything seems to be working fine other than that message during boot.

The -3 version from today fixed it for me.

tramtrist 06-09-2021 08:25 PM

-3 did not fix the missing mic for me. Moving back to 1.2.4 did...

Daedra 06-10-2021 01:06 AM

Same here, todays -3 did not fix it for me. Everything works correctly, I just get that above error when I run "alsactl restore". removing it from my rc.local gets the error to go away but then my sound starts muted on each reboot. Not a big deal, hopefully this will get fully sorted about soon. For me this is more of an annoyance than a real problem.

rdsherman 06-10-2021 09:22 AM

Quote:

Originally Posted by Daedra (Post 6257843)
For me this is more of an annoyance than a real problem.

Agree.

chrisretusn 06-10-2021 10:54 AM

After the Wed Jun 9 18:59:30 UTC 2021 to slackware64-current this is what I still get after booting.

Code:

Loading ALSA mixer settings:  /usr/sbin/alsactl restore
alsa-lib ucm_subs.c:252:(rval_lookup_main) Lookups are supported in v4+ syntax
alsa-lib parser.c:242:(error_node) UCM is not supported for this HDA model (HDA NVidia at 0xfe024000 irq 22)
alsa-lib main.c:1402:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -6
alsa-lib ucm_subs.c:252:(rval_lookup_main) Lookups are supported in v4+ syntax
alsa-lib parser.c:242:(error_node) UCM is not supported for this HDA model (HDA NVidia at 0xfcffc000 irq 16)
alsa-lib main.c:1402:(snd_use_case_mgr_open) error: failed to import hw:1 use case configuration -6


fourtysixandtwo 06-10-2021 09:34 PM

Quote:

Originally Posted by Daedra (Post 6257843)
Same here, todays -3 did not fix it for me. Everything works correctly, I just get that above error when I run "alsactl restore". removing it from my rc.local gets the error to go away but then my sound starts muted on each reboot. Not a big deal, hopefully this will get fully sorted about soon. For me this is more of an annoyance than a real problem.

More precisely, I had no sound (without downgrading) until -3 so it was a more than an annoyance in my case.


All times are GMT -5. The time now is 09:14 PM.