docs(kaisa): make UCM HiFi the only supported path

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
This commit is contained in:
2026-04-08 15:22:45 +08:00
parent 17f0a4521f
commit bda6b60c15
33 changed files with 384 additions and 1780 deletions

View File

@@ -2,7 +2,13 @@
-- WirePlumber 0.4.x: appended after stock alsa rules.
--
-- 若仅启用 use-ucm 而不固定 profile栈常会默认选 stereo-fallback界面只剩模拟/耳机HDMI 消失。
-- 固定为 UCM 中 SectionUseCase 名 "HiFi";并关闭 auto-profile避免抢回 stereo-fallback。
--
-- 重要policy-device-profile.lua / findBestProfile若下面 KAISA_WP_DEVICE_PROFILE 设为 "HiFi"
-- 但 PipeWire 的 EnumProfile 里还没有名为 HiFi 的条目pactl「配置文件」仅有 off / pro-audio
-- WirePlumber 无法匹配 device.profile最终会把活动配置留在 off且 pactl set-card-profile HiFi
-- 报「无此实体」。此时请保持 "pro-audio" 先恢复输出;待 install-kaisa-ucm-overlay + 重启后 pactl 已出现
-- HiFi: 时,再把本变量改为 "HiFi" 并重启用户 pipewire 栈。
local KAISA_WP_DEVICE_PROFILE = "pro-audio" -- 或 "HiFi"
table.insert(alsa_monitor.rules, {
matches = {
@@ -15,6 +21,6 @@ table.insert(alsa_monitor.rules, {
["api.alsa.use-ucm"] = true,
["api.acp.auto-profile"] = false,
["api.acp.auto-port"] = true,
["device.profile"] = "HiFi",
["device.profile"] = KAISA_WP_DEVICE_PROFILE,
},
})