soc-qcom-msm8953: Add wireplumber config

Add wireplumber config for fix low volume issue.

Signed-off-by: Barnabás Czémán <barnabas.czeman@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7331>
This commit is contained in:
Barnabás Czémán 2025-11-11 19:56:16 +01:00 committed by The Friendly Merge Bot
parent 1df8f3e7ee
commit b4c127fb60
No known key found for this signature in database
2 changed files with 33 additions and 3 deletions

View file

@ -0,0 +1,26 @@
monitor.alsa.rules = [
{
matches = [
{
# Matches all sources
node.name = "~alsa_input.*"
},
{
# Matches all sinks
node.name = "~alsa_output.*"
}
]
actions = {
update-props = {
audio.format = "S16LE"
audio.rate = 48000
api.alsa.period-size = 4096
api.alsa.period-num = 6
api.alsa.headroom = 512,
# session.suspend-timeout-seconds = 0
# dither.method = "wannamaker3", # add dither of desired shape
# dither.noise = 2, # add additional bits of noise
}
}
}
]

View file

@ -2,7 +2,7 @@
# Co-Maintainer: Victor Pavlov (vipaoL) <vipaolmail@gmail.com>
pkgname=soc-qcom-msm8953
pkgdesc="Common package for Qualcomm MSM8953 devices"
pkgver=16
pkgver=17
pkgrel=0
url="https://postmarketos.org"
license="BSD-3-Clause"
@ -19,13 +19,16 @@ subpackages="
_ucm_commit="ed9334bda853fe032794751c34cea03ec0d7d4eb"
source="
$pkgname-$_ucm_commit.tar.gz::https://github.com/msm8953-mainline/alsa-ucm-conf/archive/$_ucm_commit.tar.gz
q6voiced.conf
51-qcom.conf
adreno-a506-quirks.sh
moto-modem-rfs-setup.openrc
q6voiced.conf
"
package() {
mkdir -p "$pkgdir"
install -Dm644 "$srcdir"/51-qcom.conf \
-t "$pkgdir"/usr/share/wireplumber/wireplumber.conf.d
}
ucm() {
@ -71,7 +74,8 @@ gpu() {
sha512sums="
ade2ffb266adf502a7e3d0a9c9927c3bf153377093a903de1961ad6e4fdf04e813fab08c3077990c6ceb4e364809c5551174d19e4029e4374367444275325ca3 soc-qcom-msm8953-ed9334bda853fe032794751c34cea03ec0d7d4eb.tar.gz
3a4a9322839d4b3ef9d79668a37840a9f444954759ae3c512e694051d2f9a2573db42ad6c4c1a5c75eeb861232a27ba1a8cef9b503decd54ead25a96e3dd6f98 q6voiced.conf
28c14f47eaedec577d152001c51753537c98f267ac4a0acf78a304efebe5f6a1b4dc6d501497da9a0a925806a1d9c80b25e001cf9b1eb21efa22cd6a41ff753b 51-qcom.conf
4f9af3c582ae611d42fc058f949f60a96fc7cc884052e4c9f82e0292d57bba3b3cb8ace1d512b5a59535caa633be8558246a7519c2d067b7980f4088f452df6d adreno-a506-quirks.sh
0d2539681c6a8e6f222ab378dc688a2b4a21dc61e393b4fe42420abb7ffd9ad1b8f69b10fbe18995f10b13cb870130f616b0b37a38f253e12041dd36391c613f moto-modem-rfs-setup.openrc
3a4a9322839d4b3ef9d79668a37840a9f444954759ae3c512e694051d2f9a2573db42ad6c4c1a5c75eeb861232a27ba1a8cef9b503decd54ead25a96e3dd6f98 q6voiced.conf
"