HP OmniBook Ultra Flip (Lunar Lake, 103C:8CDE) — ALSA headphone jack state changes but audio does not route to headphones
A message that is not in the archive (sent off-list or not yet received): [email protected]
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:** Enabling ALSA Auto-Mute Mode manually via amixer -c0 set 'Auto-Mute Mode' Enabled resolves the issue immediately (internal speakers mute and audio routes to the headphones). This suggests the UCM configuration is missing the proper jack/verb mapping for this specific hardware SSID.
### 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
### Request
Could you check whether this hardware requires a dedicated UCM configuration or specific JackControl/mapping for PCI SSID 103C:8CDE to allow PipeWire to manage the switching without relying on the hardware Auto-Mute control?
---
**Note to Maintainers:** I have attached the full alsa-info.txt to this issue. This hardware was previously discussed in the SOF project (issue #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** [legacy_spa_acp.txt](https://github.com/user-attachments/files/27518860/legacy_spa_acp.txt) [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)
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