Initial commit

This commit is contained in:
jack
2026-04-06 21:59:41 +08:00
commit 760bdf2c9b
28 changed files with 2310 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
Package: kaisa-hdmi-pipewire-fix
Version: 0.3.0
Architecture: all
Maintainer: chromebox_10th_audio_driver <maintainers@local>
Installed-Size: 56
Depends: wireplumber, alsa-utils, alsa-ucm-conf, init-system-helpers (>= 1.52)
Recommends: pipewire-pulse | pipewire-pulseaudio
Section: sound
Priority: optional
Description: Google Kaisa HDMI audio fix (PipeWire / sof-rt5682, UCM2)
Installs UCM2 overlay under /usr/share/alsa/ucm2/ (conf.d/sof-rt5682,
GoogleKaisa/sof-rt5682) for Jack-driven HDMI routes plus IEC958 sequences,
and a system-wide WirePlumber drop-in (pro-audio profile, HDMI sink
priorities). Does not ship helper binaries or user systemd units yet —
use manual pactl/amixer steps in OPERATION until automated restore is ready.
UCM-first and pro-audio WirePlumber are mutually exclusive — see
/usr/share/doc/kaisa-hdmi-pipewire-fix/README.md and OPERATION.
.
PCI path in the WirePlumber fragment targets BDF 0000:00:1f.3; edit under
/etc/wireplumber/ if needed. See OPERATION_PipeWire_Kaisa_HDMI.md.gz in
/usr/share/doc/.

View File

@@ -0,0 +1,17 @@
#!/bin/sh
set -e
case "$1" in
configure)
echo "kaisa-hdmi-pipewire-fix: UCM2 已安装至 /usr/share/alsa/ucm2/sof-rt5682 + GoogleKaisa"
echo "kaisa-hdmi-pipewire-fix: WirePlumber 片段: /etc/wireplumber/wireplumber.conf.d/"
echo " 重要UCM产品目标无 Jack 不误导)与强制 pro-audio 片段二选一。"
echo " 若优先 UCM请移走 50-kaisa-sof-rt5682-hdmi.conf 后执行:"
echo " systemctl --user restart wireplumber pipewire pipewire-pulse"
echo " 注意: apt upgrade 本包后若该文件曾被删/改名, 可能被再次装入; UCM 用户请再移走。"
echo " 否则保留 pro-audio 过渡时,可暂叠 UCM 但行为以 OPERATION 互斥说明为准。"
echo " 详见: /usr/share/doc/kaisa-hdmi-pipewire-fix/README.md.gz"
echo " 本包当前仅含 UCM2 + WirePlumber 片段;自动 restore / IEC958 / Jack 轮询工具尚未随 deb 提供,见 OPERATION 手顺。"
;;
esac
#DEBHELPER#
exit 0

View File

@@ -0,0 +1,4 @@
#!/bin/sh
set -e
#DEBHELPER#
exit 0