Add UCM for PinePhone Pro#375
Open
Daniel-Abrecht wants to merge 9 commits intoalsa-project:masterfrom
Open
Conversation
This is tested with, ALSA version 1.2.4 and pulseaudio 14.0 This also licenses them to BSD-3-Clause license which is what is used by alsa-ucm-conf upstream to eventually move it there. This UCM are copied from the postmarketOS pmaports as ultimately most distributions have forked configs from them and this is currently most up-to-date source.
This allows to mute microphone with setting microphone volume to 0
For now it is not useful as none of pulseaudio or pipewire support this, but for future, let's add this control here already.
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
…branch master Also, add conf.d/simple-card/PinePhonePro.conf symlink, and remove some stray spaces that got mixed in with the tabs. Signed-off-by: Daniel Abrecht <public@danielabrecht.ch>
90b4ed1 to
67998e1
Compare
This file contains hidden or 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
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.
Merge PinePhonePro from https://gitlab.com/pine64-org/pine64-alsa-ucm branch master
Also, add conf.d/simple-card/PinePhonePro.conf symlink, and remove some stray spaces that got mixed in with the tabs.
Ideally, #374 should be merged first. This should work already on systems started without UEFI, as then there is no DMI, and the CardLongName should be set to CardName. However, for most installations, this probably won't be the case, and #374 will be needed for those. Fixes #125
Since I didn't write the UCM myself, I tried to preserve the history & authorship of the original work using a merge commit. Rebasing this properly without breaking the reference is a bit tricky, so I intend to do that myself after #374 is merged. Also I hope that's going to survive this pull request, but I haven't tried this before.