From aab54b958352bffc100ea0fd89075c8bc9b674a8 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Sun, 11 Jan 2026 21:47:46 +0100 Subject: [PATCH] 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 --- ucm2/HDA/HiFi-analog.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 "" } -- 2.47.3