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 CEA5ECD3436 for ; Fri, 8 May 2026 12:55:45 +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 1193160220; Fri, 8 May 2026 14:55:34 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 1193160220 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1778244944; bh=jKUSU6oN9lE2lcHtxKNCpobgf1HNEToMno34hrw5pw0=; 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=MDgKp52lTJbXx54/n424tkqgUV4v4fAUywhrA4Sr+4aHjRA+MzzmtW85Bh0hiJMGT 0clNZMo9IYCo/faYb+8Zs+c9kFFpZvLhfqgXZxxBQ/+INqJopKTU6zaP10Soc1q7O9 CVx73xTiEg6u+xYhDOLcff3tW30Sp1UO2iDJMwPc= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 387C4F805EF; Fri, 8 May 2026 14:55:10 +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 16402F805F0; Fri, 8 May 2026 14:55:10 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id DD29DF804F3; Fri, 8 May 2026 14:55:04 +0200 (CEST) Received: from webhooks-bot.alsa-project.org (vmi2259423.contaboserver.net [45.14.194.44]) by alsa1.perex.cz (Postfix) with ESMTP id 33A14F800FE for ; Fri, 8 May 2026 14:55:02 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 33A14F800FE 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: <18ad985148d8a700-webhooks-bot@alsa-project.org> In-Reply-To: <18ad985148d44c00-webhooks-bot@alsa-project.org> References: <18ad985148d44c00-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:55:04 +0200 (CEST) Message-ID-Hash: YOSYH6YCQN5HLXDKGGQTBROGTAIWXYQ5 X-Message-ID-Hash: YOSYH6YCQN5HLXDKGGQTBROGTAIWXYQ5 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/5757where 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