]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
ucm2: HDA: Fix headphone detection master
authorJaroslav Kysela <perex@perex.cz>
Sun, 11 Jan 2026 20:47:46 +0000 (21:47 +0100)
committerJaroslav Kysela <perex@perex.cz>
Sun, 11 Jan 2026 21:01:20 +0000 (22:01 +0100)
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 <perex@perex.cz>
ucm2/HDA/HiFi-analog.conf

index 4628f5ae5303159518c1f1007cd91eb0bddb9665..8bf3e2103bdab957721290a2cebf28c20cb70dd2 100644 (file)
@@ -45,7 +45,7 @@ If.linefront {
 If.hpvol {
        Condition {
                Type ControlExists
-               Control "name='Headphone Playback Volume'"
+               Control "name='Headphone Playback Switch'"
        }
        False.Define.hpvol ""
 }