Skip to content

Commit

Permalink
fix the ucm2/codecs/hda/hdmi.conf use
Browse files Browse the repository at this point in the history
The mentioned commit (dcef48f) removed the index for the IEC958 on/off
control which made the HDMI 2+ outputs silent.

Fixes: dcef48f ("HDA-Intel: add support for AMD acp microphone devices")
BugLink: alsa-project/alsa-lib#95
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
  • Loading branch information
perexg committed Nov 2, 2020
1 parent 8264072 commit 33be660
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
8 changes: 7 additions & 1 deletion ucm2/HDA-Intel/Hdmi.conf
Expand Up @@ -6,6 +6,7 @@ If.hdmi1 {
Define {
HdmiNum 1
HdmiPCM 3
HdmiCtlIndex 0
HdmiPrio 1100
}
Include.hdmi1.File "/codecs/hda/hdmi.conf"
Expand All @@ -18,6 +19,7 @@ If.hdmi2 {
Define {
HdmiNum 2
HdmiPCM 7
HdmiCtlIndex 1
HdmiPrio 1200
}
Include.hdmi2.File "/codecs/hda/hdmi.conf"
Expand All @@ -30,6 +32,7 @@ If.hdmi3 {
Define {
HdmiNum 3
HdmiPCM 8
HdmiCtlIndex 2
HdmiPrio 1300
}
Include.hdmi3.File "/codecs/hda/hdmi.conf"
Expand All @@ -42,6 +45,7 @@ If.hdmi4 {
Define {
HdmiNum 4
HdmiPCM 9
HdmiCtlIndex 3
HdmiPrio 1400
}
Include.hdmi4.File "/codecs/hda/hdmi.conf"
Expand All @@ -54,6 +58,7 @@ If.hdmi5 {
Define {
HdmiNum 5
HdmiPCM 10
HdmiCtlIndex 4
HdmiPrio 1500
}
Include.hdmi5.File "/codecs/hda/hdmi.conf"
Expand All @@ -66,8 +71,9 @@ If.hdmi6 {
Define {
HdmiNum 6
HdmiPCM 11
HdmiCtlIndex 5
HdmiPrio 1600
}
Include.hdmi5.File "/codecs/hda/hdmi.conf"
Include.hdmi6.File "/codecs/hda/hdmi.conf"
}
}
4 changes: 2 additions & 2 deletions ucm2/codecs/hda/hdmi.conf
Expand Up @@ -8,11 +8,11 @@ If.hdmi {
Comment "HDMI${var:HdmiNum} Output"

EnableSequence [
cset "name='IEC958 Playback Switch' on"
cset "name='IEC958 Playback Switch',index=${var:HdmiCtlIndex} on"
]

DisableSequence [
cset "name='IEC958 Playback Switch' off"
cset "name='IEC958 Playback Switch',index=${var:HdmiCtlIndex} off"
]

Value {
Expand Down
3 changes: 3 additions & 0 deletions ucm2/sof-hda-dsp/Hdmi.conf
Expand Up @@ -6,6 +6,7 @@ If.hdmi1 {
Define {
HdmiNum 1
HdmiPCM 3
HdmiCtlIndex 0
HdmiPrio 500
}
Include.hdmi1.File "/codecs/hda/hdmi.conf"
Expand All @@ -18,6 +19,7 @@ If.hdmi2 {
Define {
HdmiNum 2
HdmiPCM 4
HdmiCtlIndex 1
HdmiPrio 600
}
Include.hdmi2.File "/codecs/hda/hdmi.conf"
Expand All @@ -30,6 +32,7 @@ If.hdmi3 {
Define {
HdmiNum 3
HdmiPCM 5
HdmiCtlIndex 2
HdmiPrio 700
}
Include.hdmi3.File "/codecs/hda/hdmi.conf"
Expand Down

0 comments on commit 33be660

Please sign in to comment.