This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-AM62B-P1: alsactl restore does not work

Part Number: SK-AM62B-P1

Tool/software:

Dear TI

I'm using ti-processor-sdk-linux-am62xx-evm-09.02.01.09.

When I execute "alsactl store -f config", it worked correctly.

But when I tried to restore it, it report below error.

root@am62xx-evm:~# sudo alsactl restore -f config
alsa-lib ../../../alsa-lib-1.2.6.1/src/ucm/main.c:1412:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2

If I did not use alsactl command to restore alsa config, could you let me know how to verify "alsactl restore" command with sample configuration file ?

BR

Jace

  • Hi Jace,

    Could you refer to the below link and see if it helps:

    askubuntu.com/.../how-to-save-alsamixer-settings

    Best Regards,

    Suren

  • Hi Suren.

    Above link explains how to save / restore alsa config and my test command is exactly same how to save / restore via specific file.

    Is it possible to test it with SK-62B-P1 ?

    I think that it's your EVM issue.

    During boot-up, it reports same error message like below

    root@am62xx-evm:~# journalctl | grep hw
    Apr 28 17:42:26 am62xx-evm kernel: hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    Apr 28 17:42:26 am62xx-evm kernel: hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    Jan 01 00:00:15 am62xx-evm alsactl[706]: alsa-lib ../../../alsa-lib-1.2.6.1/src/ucm/main.c:1412:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2
    Jan 01 00:00:15 am62xx-evm alsactl[706]: alsa-lib ../../../alsa-lib-1.2.6.1/src/ucm/main.c:1412:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2

    BR

    Jace

  • Hi,

    alsactl --no-ucm restore 

    should solve the problem.

    Best Regards,
    Suren