Files
chromebox_10th_audio_driver/wireplumber/main.lua.d/60-kaisa-ucm.lua
jack 3c7860c96f fix(wp): force HiFi profile for Kaisa UCM so HDMI routes appear
WirePlumber often kept stereo-fallback when only enabling use-ucm, hiding HDMI.
Set device.profile to HiFi, disable api.acp.auto-profile, and document recovery.

Made-with: Cursor
2026-04-08 00:19:58 +08:00

21 lines
699 B
Lua
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
-- Kaisa (sof-rt5682): enable UCM + ACP so HiFi profile / Jack-driven ports work.
-- WirePlumber 0.4.x: appended after stock alsa rules.
--
-- 若仅启用 use-ucm 而不固定 profile栈常会默认选 stereo-fallback界面只剩模拟/耳机HDMI 消失。
-- 固定为 UCM 中 SectionUseCase 名 "HiFi";并关闭 auto-profile避免抢回 stereo-fallback。
table.insert(alsa_monitor.rules, {
matches = {
{
{ "api.alsa.card.name", "equals", "sof-rt5682" },
},
},
apply_properties = {
["api.alsa.use-acp"] = true,
["api.alsa.use-ucm"] = true,
["api.acp.auto-profile"] = false,
["api.acp.auto-port"] = true,
["device.profile"] = "HiFi",
},
})