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

Extend use case search paths to use kernel driver name #78

Closed
wants to merge 2 commits into from

Conversation

lumag
Copy link
Contributor

@lumag lumag commented Feb 3, 2021

This is a companion (or replacement) for #76 . This adds lookup for the use case search path using the in-kernel driver name. This allows easy lookup both for the setups which have the sound card/platform driver built as a module or builtin into the kernel.

Use kernel driver name to lookup the card configuration files in
addition to module-name based lookup and CardDriver-based lookup. This
allows alsa to locate config files if the sound card driver is built
into the kernel rather than as a module.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Add the symlink for the qcom-apq8016-sbc driver allowing card config
lookup if the corresponding driver is built into the kernel rather than
as a module.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
perexg added a commit to perexg/alsa-ucm-conf that referenced this pull request Feb 3, 2021
…ation tree

Introduce ucm2/conf.d/ tree with symlinks to the real hardware configurations.
In this way, we do not rely to create the configuration paths based on
simple driver / device identification, but we can store the configurations
more logically to make the maintenance (code reuse, multiple changes)
more easy.

BugLink: alsa-project#70
BugLink: alsa-project#76
BugLink: alsa-project#78
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
@perexg
Copy link
Member

perexg commented Feb 3, 2021

I would prefer the solution in #79 . Any comments are welcome. Thank you for your ideas.

perexg added a commit to perexg/alsa-ucm-conf that referenced this pull request Feb 3, 2021
…ation tree

Introduce ucm2/conf.d/ tree with symlinks to the real hardware configurations.
In this way, we do not rely to create the configuration paths based on
simple driver / device identification, but we can store the configurations
more logically to make the maintenance (code reuse, multiple changes)
more easy.

BugLink: alsa-project#70
BugLink: alsa-project#76
BugLink: alsa-project#78
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
perexg added a commit to perexg/alsa-ucm-conf that referenced this pull request Feb 3, 2021
…ation tree

Introduce ucm2/conf.d/ tree with symlinks to the real hardware configurations.
In this way, we do not rely to create the configuration paths based on
simple driver / device identification, but we can store the configurations
more logically to make the maintenance (code reuse, multiple changes)
more easy.

BugLink: alsa-project#70
BugLink: alsa-project#76
BugLink: alsa-project#78
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
perexg added a commit to perexg/alsa-ucm-conf that referenced this pull request Feb 3, 2021
…ation tree

Introduce ucm2/conf.d/ tree with symlinks to the real hardware configurations.
In this way, we do not rely to create the configuration paths based on
simple driver / device identification, but we can store the configurations
more logically to make the maintenance (code reuse, multiple changes)
more easy.

BugLink: alsa-project#70
BugLink: alsa-project#76
BugLink: alsa-project#78
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
perexg added a commit that referenced this pull request Feb 11, 2021
…ation tree

Introduce ucm2/conf.d/ tree with symlinks to the real hardware configurations.
In this way, we do not rely to create the configuration paths based on
simple driver / device identification, but we can store the configurations
more logically to make the maintenance (code reuse, multiple changes)
more easy.

This commit keeps the older lookup paths active, but they will be
turned off in the next release.

BugLink: #70
BugLink: #76
BugLink: #78
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
@perexg
Copy link
Member

perexg commented Feb 11, 2021

Obsoleted by 4cfceb1 .

@perexg perexg closed this Feb 11, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants