From: Jaroslav Kysela Date: Sun, 11 Jan 2026 20:47:46 +0000 (+0100) Subject: ucm2: HDA: Fix headphone detection X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=aab54b958352bffc100ea0fd89075c8bc9b674a8;p=alsa-ucm-conf.git ucm2: HDA: Fix headphone detection It appears that there are devices with just switches (no volume controls). Test presence of 'Headphone Playback Switch' control. BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=2428561 Fixes: c8b5541 ("ucm2: HDA: Headphone output may be optional") Signed-off-by: Jaroslav Kysela --- diff --git a/ucm2/HDA/HiFi-analog.conf b/ucm2/HDA/HiFi-analog.conf index 4628f5a..8bf3e21 100644 --- a/ucm2/HDA/HiFi-analog.conf +++ b/ucm2/HDA/HiFi-analog.conf @@ -45,7 +45,7 @@ If.linefront { If.hpvol { Condition { Type ControlExists - Control "name='Headphone Playback Volume'" + Control "name='Headphone Playback Switch'" } False.Define.hpvol "" }