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 69AD2CD3447 for ; Fri, 8 May 2026 12:54:40 +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 C643D60220; Fri, 8 May 2026 14:54:25 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C643D60220 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1778244875; bh=i1sxqt+MS37WoQKSXAYgZ/I8z0H9smU0Nix30Nxv6Yk=; 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=YpA6ksJyudDiyvdBWKdq7hyA7SeXjiWilr5NKYNZ/nbthBnz0A1jw0VjOzsV2qgGI XpuMFeXyzBTg6VsG35R4h9h/kPUs5t4UYjnYg+joQrmXN6bOEWjMf2cWCkoFNKYydv q8/wQTGyyoVznhc95SEfScPYs59vZJ495N2iv+a8= Received: by alsa1.perex.cz (Postfix, from userid 50401) id BABE3F805E6; Fri, 8 May 2026 14:53:58 +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 7EDD6F805F1; Fri, 8 May 2026 14:53:58 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 5186CF804F3; Fri, 8 May 2026 14:53:53 +0200 (CEST) Received: from webhooks-bot.alsa-project.org (vmi2259423.contaboserver.net [45.14.194.44]) by alsa1.perex.cz (Postfix) with ESMTP id B28DDF80075 for ; Fri, 8 May 2026 14:53:51 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz B28DDF80075 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: GitHub issues - edited To: alsa-devel@alsa-project.org Message-Id: <18ad9840aa926f00-webhooks-bot@alsa-project.org> In-Reply-To: <18ad9840aa8c2100-webhooks-bot@alsa-project.org> References: <18ad9840aa8c2100-webhooks-bot@alsa-project.org> Subject: =?utf-8?q?HP_OmniBook_Ultra_Flip_=28Lunar_Lake=2C_103C=3A8CDE=29_=E2=80=94_ALSA_headphone_jack_state_changes_but_audio_does_not_route_to_headphones?= Date: Fri, 8 May 2026 14:53:53 +0200 (CEST) Message-ID-Hash: SK2CKX4HXCKS3HKAKS5WWQDBUA3Z3CVT X-Message-ID-Hash: SK2CKX4HXCKS3HKAKS5WWQDBUA3Z3CVT X-MailFrom: github@alsa-project.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 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 #758 was edited from pavlo0909: ### Description On the HP OmniBook Ultra Flip (Intel Lunar Lake), headphone plug/unplug is correctly detected by ALSA, but audio does not route to the headphone output automatically. When headphones are inserted, the `Headphone Jack` control changes state correctly. However, the active output does not switch to headphones in KDE / PipeWire, and audio continues through the internal speakers. The internal speakers and internal DMIC both work normally. ### Environment - **Manufacturer / Model:** HP OmniBook Ultra Flip Laptop 14-fh0xxx - **Platform:** Intel Lunar Lake (LNL) - **Codec:** Realtek ALC245 - **PCI SSID:** 103C:8CDE - **Distribution:** Fedora 44 (KDE Plasma Desktop Edition) - **Kernel:** 6.19.14-300.fc44.x86_64 - **Audio stack:** SOF + PipeWire + WirePlumber ### Diagnostic Results I verified headphone jack detection at the ALSA level using: `watch "amixer -c0 contents | grep -A2 Jack"` The control `numid=19,iface=CARD,name='Headphone Jack'` changes state correctly: - **Unplugged:** `values=off` - **Plugged:** `values=on` ### Observed Behavior - ALSA detects headphone insertion correctly, but the desktop environment (PipeWire/WirePlumber) does not automatically switch the routing or expose the port correctly. - Audio continues through internal speakers. - **Key Observation:** Manual routing is successful when performing the following sequence: 1. `amixer -c0 set 'Headphone' on` 2. `amixer -c0 set 'Speaker' off` 3. `amixer -c0 set 'Auto-Mute Mode' Enabled` 4. wpctl set-mute @DEFAULT_AUDIO_SINK@ 0 ### Technical Details (from alsa-info) - **Headphone node:** `Node 0x21 [Pin Complex]` - **Pin default:** `0x03211020: [Jack] HP Out at Ext Left` - **Topology:** `intel/sof-ipc4-tplg/sof-hda-generic-2ch.tplg` --- **Note to Maintainers:** I have attached the full `alsa-info.txt` to this issue. This hardware was previously discussed in the SOF project [(](https://github.com/thesofproject/linux/issues/5757) where it was confirmed that HDA jack detection is functional at the driver level. [alsa-info.txt](https://github.com/user-attachments/files/27514810/alsa-info.txt) **Output of alsaucm dump text and spa-acp-tool lv for both the legacy and SOF case** [sof_spa_acp.txt](https://github.com/user-attachments/files/27518858/sof_spa_acp.txt) [sof_ucm_dump.txt](https://github.com/user-attachments/files/27518859/sof_ucm_dump.txt) [legacy_spa_acp.txt](https://github.com/user-attachments/files/27518860/legacy_spa_acp.txt) alsaucm dump text is only available for the SOF case; for the Legacy driver, it returns 'UCM is not supported' ``` alsaucm dump text > legacy_ucm_dump.txt ALSA lib parser.c:305:(error_node) [error.ucm] UCM is not supported for this HDA model (HDA Intel PCH at 0x3013200000 irq 218) ALSA lib main.c:1804:(snd_use_case_mgr_open) [error.ucm] failed to import hw:0 use case configuration -6 alsaucm: error failed to open sound card hw:0: No such device or address ``` Issue URL : https://github.com/alsa-project/alsa-ucm-conf/issues/758 Repository URL: https://github.com/alsa-project/alsa-ucm-conf