From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3E0B6C83F3A for ; Thu, 17 Jul 2025 02:55:52 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [45.14.194.44]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id AFB84601F6; Thu, 17 Jul 2025 04:55:39 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz AFB84601F6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1752720949; bh=jFcsl5filmQ3Vox0fgCL2gTPKHlqrWDg+y70ay3/r5w=; h=From:To:In-Reply-To:References:Subject:Date:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From; b=YEdnW8y3fDG1CZzD3hb9Zfv2GpJGEtcWc2KoBfMQ6LEmMDd8tv3ALVTOVDVbvo11e P7X2kmoZekf0Tn2Bqiu2XefOv/gkhpExLVaiIoTBFdzDFmJCcGL1UcjMq6mH/xddUn HuBaku6YDBmou4GjzCvb2fbvQizB3iIHuq9T13ag= Received: by alsa1.perex.cz (Postfix, from userid 50401) id AEE93F805C5; Thu, 17 Jul 2025 04:55:15 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 862BDF805CA; Thu, 17 Jul 2025 04:55:15 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 1E1F1F80217; Thu, 17 Jul 2025 04:54:47 +0200 (CEST) Received: from webhooks-bot.alsa-project.org (vmi2259423.contaboserver.net [45.14.194.44]) by alsa1.perex.cz (Postfix) with ESMTP id 467E2F800F3 for ; Thu, 17 Jul 2025 04:54:43 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 467E2F800F3 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: GitHub issues - opened To: alsa-devel@alsa-project.org Message-Id: <1852ea5b3e986500-webhooks-bot@alsa-project.org> In-Reply-To: <1852ea5b3e41fa00-webhooks-bot@alsa-project.org> References: <1852ea5b3e41fa00-webhooks-bot@alsa-project.org> Subject: qcom-lpass: RX HPH Mode is set to a ULP mode which causes distortion Date: Thu, 17 Jul 2025 04:54:47 +0200 (CEST) Message-ID-Hash: IYO4BMBS3GHBS4LLKC5TLPFQDXEWKTSG X-Message-ID-Hash: IYO4BMBS3GHBS4LLKC5TLPFQDXEWKTSG X-MailFrom: github@alsa-project.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: alsa-project/alsa-ucm-conf issue #595 was opened from valpackett: The headphone enable sequence for all Qualcomm devices sets `CLS_H_ULP` mode: https://github.com/alsa-project/alsa-ucm-conf/blob/1b69ade9b6d7ee37a87c08b12d7955d0b68fa69d/ucm2/codecs/qcom-lpass/rx-macro/HeadphoneEnableSeq.conf#L1-L3 I was trying to figure out why I was getting horrendous distortion on the headphone jack of my Dell Latitude 7455 laptop above a certain relatively-quiet volume level. After lots of fiddling and searching (thanks, [XDA forum audio modders](https://xdaforums.com/t/mod-audio-biquads-utilizing-qualcomms-audio-codec-for-headphone-compensation.3093000/post-72175274) from several years ago!) I figured it out. Changing that to `CLS_AB_HIFI` has completely fixed the distortion! Should the default be changed to a HIFI mode for everyone, i.e. right in that file? ping: @Srinivas-Kandagatla Issue URL : https://github.com/alsa-project/alsa-ucm-conf/issues/595 Repository URL: https://github.com/alsa-project/alsa-ucm-conf