From b3248bfd32cc1d02c916f8920045affa27d1fc42 Mon Sep 17 00:00:00 2001 From: Minecrell Date: Thu, 26 Nov 2020 11:39:55 +0100 Subject: [PATCH] device/community/soc-qcom-msm8916: fix regressions after PA update (MR 1760) New upstream ALSA/PulseAudio release, new UCM regressions - of course! Introduce some new hacks to make the ALSA UCM configurations work again. This fixes weird "Combination of Speaker,Primary Microphone" outputs appearing in the PulseAudio mixer. And while we're at it, some minor improvements/additions: - Default to Speaker/PrimaryMic instead of Headphones/Headset I believe this is just a workaround until headphones detection works properly. - Add UCM configurations for oppo-a51f and lenovo-a6010 --- device/community/soc-qcom-msm8916/APKBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/device/community/soc-qcom-msm8916/APKBUILD b/device/community/soc-qcom-msm8916/APKBUILD index 4b9b41963..f72c748a9 100644 --- a/device/community/soc-qcom-msm8916/APKBUILD +++ b/device/community/soc-qcom-msm8916/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Minecrell pkgname=soc-qcom-msm8916 pkgdesc="Common package for Qualcomm MSM8916 devices" -pkgver=9 +pkgver=10 pkgrel=0 url="https://postmarketos.org" license="BSD-3-Clause" @@ -10,7 +10,7 @@ options="!check !archcheck !tracedeps pmb:cross-native" depends="mesa-dri-gallium $pkgname-ucm" subpackages="$pkgname-ucm $pkgname-modem" -_ucm_commit="c34a73dc0714834d2d2ff5ae304e20b7d93c4c98" +_ucm_commit="174c39580db41f3b895c6262dc747c283a0e5e3c" source="$pkgname-$_ucm_commit.tar.gz::https://github.com/msm8916-mainline/alsa-ucm-conf/archive/$_ucm_commit.tar.gz q6voiced.conf " @@ -41,5 +41,5 @@ modem() { install -Dm644 q6voiced.conf "$subpkgdir"/etc/conf.d/q6voiced } -sha512sums="498a6303dd3b9e2467f8a2935dd49a261334cc87d43c65c87f0b82a4c23db44ec1ff9f5891b93f30942a8077ef2a80638a5095e71af299cc359e857e81829e4c soc-qcom-msm8916-c34a73dc0714834d2d2ff5ae304e20b7d93c4c98.tar.gz +sha512sums="ee92bff4fdab39f5f58a149eff7ad9a06a98fe700cbc6604ec2696ba7794aa9e5753de631d27c2f1f9dcb2ed968dc8f459dbf1daa21e3bde82844930b1995ceb soc-qcom-msm8916-174c39580db41f3b895c6262dc747c283a0e5e3c.tar.gz 3a4a9322839d4b3ef9d79668a37840a9f444954759ae3c512e694051d2f9a2573db42ad6c4c1a5c75eeb861232a27ba1a8cef9b503decd54ead25a96e3dd6f98 q6voiced.conf"