From 6a2acf4697391988b4e1f19173ade4f7f1ae2b85 Mon Sep 17 00:00:00 2001 From: Krzysztof Kozlowski Date: Fri, 16 Feb 2024 11:25:42 +0100 Subject: [PATCH 1/2] ucm2: Qualcomm: x1e80100: add number of channels Describe number of playback channels for speakers (where it is not obvious: 4 channels) and headphones. Signed-off-by: Krzysztof Kozlowski --- ucm2/Qualcomm/x1e80100/HiFi.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ucm2/Qualcomm/x1e80100/HiFi.conf b/ucm2/Qualcomm/x1e80100/HiFi.conf index dcecacf3..0f7735e7 100644 --- a/ucm2/Qualcomm/x1e80100/HiFi.conf +++ b/ucm2/Qualcomm/x1e80100/HiFi.conf @@ -28,6 +28,7 @@ SectionDevice."Speaker" { Include.wsaspk.File "/codecs/wsa884x/four-speakers/SpeakerSeq.conf" Value { + PlaybackChannels 4 PlaybackPriority 100 PlaybackPCM "hw:${CardId},1" PlaybackMixer "default:${CardId}" @@ -44,6 +45,7 @@ SectionDevice."Headphones" { Include.rxmhpd.File "/codecs/qcom-lpass/rx-macro/HeadphoneDisableSeq.conf" Value { + PlaybackChannels 2 PlaybackPriority 200 PlaybackPCM "hw:${CardId},0" PlaybackMixer "default:${CardId}" From 4bd34555db278d21aa4afae5aaec198b0836af41 Mon Sep 17 00:00:00 2001 From: Krzysztof Kozlowski Date: Fri, 16 Feb 2024 11:29:26 +0100 Subject: [PATCH 2/2] ucm2: Qualcomm: x1e80100: correct headphones PlaybackMixerElem Fix wireplumber warnings: Path HP Digital is not a volume or mute control Signed-off-by: Krzysztof Kozlowski --- ucm2/Qualcomm/x1e80100/HiFi.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ucm2/Qualcomm/x1e80100/HiFi.conf b/ucm2/Qualcomm/x1e80100/HiFi.conf index 0f7735e7..99c0d52c 100644 --- a/ucm2/Qualcomm/x1e80100/HiFi.conf +++ b/ucm2/Qualcomm/x1e80100/HiFi.conf @@ -49,7 +49,7 @@ SectionDevice."Headphones" { PlaybackPriority 200 PlaybackPCM "hw:${CardId},0" PlaybackMixer "default:${CardId}" - PlaybackMixerElem "HP Digital" + PlaybackMixerElem "HP" JackControl "Headphone Jack" JackHWMute "Speaker" }