Coder Social home page Coder Social logo

Comments (7)

plbossart avatar plbossart commented on August 22, 2024

@caseorum we typically don't have any audio drivers compiled as built-in due to dependencies on firmware and topology files. Wondering what configuration you used to reach this problem?

from alsa-ucm-conf.

caseorum avatar caseorum commented on August 22, 2024

@plbossart Everything built-in, zero kernel dependencies on userspace. The same I described in thesofproject/sof#2459 (comment). I'm now solving the "UCM weirdness" I alluded to. It looks like NXP cares about this kind of boot too (thesofproject/linux#139), but I don't know if they use UCM.

from alsa-ucm-conf.

perexg avatar perexg commented on August 22, 2024

The bdw-rt5677 configuration is not converted to the modules layout, so the fallback to the LongName / CardDriver should be active. What does say 'alsaucm' command? Do you see an error?

from alsa-ucm-conf.

caseorum avatar caseorum commented on August 22, 2024

@perexg The suggested fallback was never merged. Reverting b353145 fixes for bdw-rt5677 but it's not a general solution. Current master:

[user@localhost alsa-ucm-conf-git]$ alsaucm -c SOF list _verbs
ALSA lib ucm_subs.c:367:(uc_mgr_get_substituted_value) variable '${sys:$KernelModulePath}' is not defined in this context!
ALSA lib main.c:983:(snd_use_case_mgr_open) error: failed to import SOF use case configuration -22
alsaucm: error failed to open sound card SOF: Invalid argument

from alsa-ucm-conf.

perexg avatar perexg commented on August 22, 2024

Could you try this small configuration change ?

diff --git a/ucm2/ucm.conf b/ucm2/ucm.conf
index ed410dd..9e78df1 100644
--- a/ucm2/ucm.conf
+++ b/ucm2/ucm.conf
@@ -52,7 +52,7 @@ If.driver {
                        }
                        False {
                                Define.KernelModulePath "class/sound/card${CardNumber}/device/driver/module"
-                               Define.KernelModule "${sys:$KernelModulePath}"
+                               Define.KernelModule "$${sys:$KernelModulePath}"
                                UseCasePath.module {
                                        Directory "module"
                                        File "${var:KernelModule}.conf"

from alsa-ucm-conf.

caseorum avatar caseorum commented on August 22, 2024

@perexg That's it! Awesome.

from alsa-ucm-conf.

perexg avatar perexg commented on August 22, 2024

Thanks for the bug report. Fixed in 5634055 .

from alsa-ucm-conf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.