Promote UCM2/HiFi (Jack-driven) as the primary delivery, add HISTORY.md, remove ProAudio/REPRO docs and non-UCM scripts, and fix repo-wide references. Made-with: Cursor
95 lines
2.2 KiB
Plaintext
95 lines
2.2 KiB
Plaintext
# Google Kaisa — sof-rt5682 / Intel Kabylake HDMI
|
||
# 本文件由 conf.d/sof-rt5682/sof-rt5682.conf 中 SectionUseCase."HiFi" 引用。
|
||
# 须有 SectionVerb + Value.TQ(与上游 ucm2 中 Intel/*/HiFi.conf 一致),PipeWire/ACP 才会把
|
||
# 「HiFi」注册为 pactl 可见的 card profile;仅有顶层 SectionDevice 时 alsaucm 可能仍列出
|
||
# HiFi,但活动配置会卡在 off、配置列表只剩 off + pro-audio。
|
||
# HDMI:device 2/3/4;JackControl + IEC958 numid 与本机 amixer 对齐。
|
||
|
||
# SectionVerb 内勿使用 disdevall:部分 SOF 卡会导致 PipeWire 不把 HiFi 注册进 EnumProfile。
|
||
SectionVerb {
|
||
Value {
|
||
TQ "HiFi"
|
||
}
|
||
}
|
||
|
||
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"
|
||
}
|
||
}
|