Skip to content

Commit

Permalink
hda hdmi: add HDMI4,HDMI5,HDMI6 devices
Browse files Browse the repository at this point in the history
- fix the duplicate index value in the comment section
- change priorities

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
  • Loading branch information
perexg committed Jul 6, 2020
1 parent ffe0cab commit 3e89730
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 4 deletions.
42 changes: 39 additions & 3 deletions ucm2/HDA-Intel/Hdmi.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ If.hdmi1 {
Define {
HdmiNum 1
HdmiPCM 3
HdmiPrio 500
HdmiPrio 1100
}
Include.hdmi1.File "/codecs/hda/hdmi.conf"
}
Expand All @@ -18,7 +18,7 @@ If.hdmi2 {
Define {
HdmiNum 2
HdmiPCM 7
HdmiPrio 600
HdmiPrio 1200
}
Include.hdmi2.File "/codecs/hda/hdmi.conf"
}
Expand All @@ -30,8 +30,44 @@ If.hdmi3 {
Define {
HdmiNum 3
HdmiPCM 8
HdmiPrio 700
HdmiPrio 1300
}
Include.hdmi3.File "/codecs/hda/hdmi.conf"
}
}

If.hdmi4 {
Condition { Type String Empty "" }
True {
Define {
HdmiNum 4
HdmiPCM 9
HdmiPrio 1400
}
Include.hdmi4.File "/codecs/hda/hdmi.conf"
}
}

If.hdmi5 {
Condition { Type String Empty "" }
True {
Define {
HdmiNum 5
HdmiPCM 10
HdmiPrio 1500
}
Include.hdmi5.File "/codecs/hda/hdmi.conf"
}
}

If.hdmi6 {
Condition { Type String Empty "" }
True {
Define {
HdmiNum 6
HdmiPCM 11
HdmiPrio 1600
}
Include.hdmi5.File "/codecs/hda/hdmi.conf"
}
}
2 changes: 1 addition & 1 deletion ucm2/codecs/hda/hdmi.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ If.hdmi {
}
True {
SectionDevice."HDMI${var:HdmiNum}" {
Comment "HDMI${var:HdmiNum}/${var:HdmiNum} Output"
Comment "HDMI${var:HdmiNum} Output"

EnableSequence [
cset "name='IEC958 Playback Switch' on"
Expand Down

0 comments on commit 3e89730

Please sign in to comment.