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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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>
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>
Obsoleted by 4cfceb1 . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.