Skip to contentSkip to conversation

ucm2: HDA: ignore phantom Line Out when internal Speaker exists

DISCUSSION GitHub pull_request - opened 1 participant 1 message Nov 23 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

alsa-project/alsa-ucm-conf pull request #922 was opened from ridhoassuryadi:

Some laptops (e.g. Acer Aspire AG14-72P with Conexant CX11970, Subsystem ID 1025:1935) expose an unconnected Line Out pin in BIOS (NID 0x26) without jack detection capability, causing the kernel HDA driver to create Line Out Playback Switch and Line Out Phantom Jack (instead of Line Out Jack) alongside the internal Speaker Playback Switch.

Because ucm2/HDA/HiFi-analog.conf unconditionally defines the Line device with PlaybackPriority 300 and JackControl "Line Out Jack" (which does not exist when only a phantom jack is present), PipeWire ACP splits the HiFi profile into separate Line, Headphones, and Speaker profiles and reports the Line route as availability: unknown with the highest priority (10400 > 10300 Headphones > 10200 Speaker). This causes WirePlumber to default to the non-existent Line Output and prevents automatic profile switching between Speaker and Headphones.

When both Line Out Phantom Jack and Speaker Playback Switch exist, do not define the Line Out device. Desktop systems without internal speakers or systems with real Line Out Jack detection are unaffected.

Request URL : https://github.com/alsa-project/alsa-ucm-conf/pull/922
Patch URL : https://github.com/alsa-project/alsa-ucm-conf/pull/922.patch
Repository URL: https://github.com/alsa-project/alsa-ucm-conf