Nested SectionVerb caused alsaucm "no use case device defined", so PipeWire never exposed the HiFi profile. Document alsaucm check and reinstall path. Made-with: Cursor
86 lines
1.8 KiB
Plaintext
86 lines
1.8 KiB
Plaintext
# Google Kaisa — sof-rt5682 / Intel Kabylake HDMI
|
||
# 本文件由 SectionUseCase."HiFi" 引用;须使用顶层 SectionDevice(勿再包一层 SectionVerb),
|
||
# 否则 alsaucm 报「no use case device defined」,PipeWire 不会出现 HiFi profile。
|
||
# HDMI:device 2/3/4;JackControl + IEC958 numid 与本机 amixer 对齐。
|
||
|
||
SectionDevice."Port1" {
|
||
Comment "Analog (Port1)"
|
||
|
||
EnableSequence [
|
||
cset "name='HPOL Playback Switch' 1"
|
||
cset "name='HPOR Playback Switch' 1"
|
||
cset "name='Stereo1 DAC MIXL DAC L1 Switch' 1"
|
||
cset "name='Stereo1 DAC MIXR DAC R1 Switch' 1"
|
||
]
|
||
|
||
DisableSequence [
|
||
cset "name='HPOL Playback Switch' 0"
|
||
cset "name='HPOR Playback Switch' 0"
|
||
cset "name='Stereo1 DAC MIXL DAC L1 Switch' 0"
|
||
cset "name='Stereo1 DAC MIXR DAC R1 Switch' 0"
|
||
]
|
||
|
||
Value {
|
||
PlaybackPriority 100
|
||
PlaybackPCM "hw:${CardId},0"
|
||
PlaybackChannels 2
|
||
}
|
||
}
|
||
|
||
SectionDevice."HDMI1" {
|
||
Comment "HDMI1"
|
||
|
||
EnableSequence [
|
||
cset "numid=14 1"
|
||
]
|
||
|
||
DisableSequence [
|
||
cset "numid=14 0"
|
||
]
|
||
|
||
Value {
|
||
PlaybackPriority 200
|
||
PlaybackPCM "hw:${CardId},2"
|
||
PlaybackChannels 2
|
||
JackControl "HDMI/DP,pcm=2 Jack"
|
||
}
|
||
}
|
||
|
||
SectionDevice."HDMI2" {
|
||
Comment "HDMI2"
|
||
|
||
EnableSequence [
|
||
cset "numid=20 1"
|
||
]
|
||
|
||
DisableSequence [
|
||
cset "numid=20 0"
|
||
]
|
||
|
||
Value {
|
||
PlaybackPriority 200
|
||
PlaybackPCM "hw:${CardId},3"
|
||
PlaybackChannels 2
|
||
JackControl "HDMI/DP,pcm=3 Jack"
|
||
}
|
||
}
|
||
|
||
SectionDevice."HDMI3" {
|
||
Comment "HDMI3"
|
||
|
||
EnableSequence [
|
||
cset "numid=26 1"
|
||
]
|
||
|
||
DisableSequence [
|
||
cset "numid=26 0"
|
||
]
|
||
|
||
Value {
|
||
PlaybackPriority 200
|
||
PlaybackPCM "hw:${CardId},4"
|
||
PlaybackChannels 2
|
||
JackControl "HDMI/DP,pcm=4 Jack"
|
||
}
|
||
}
|