wireplumber: Add config file to fix BT A2DP/HFP cannot work [YOCIMX-8495]

Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
This commit is contained in:
Zelan Zou 2024-11-07 08:01:46 +01:00 committed by Jun Zhu
parent 8edeb5e45d
commit ce1824a2aa
2 changed files with 11 additions and 3 deletions

View File

@ -0,0 +1,6 @@
# Disabling seat monitoring via logind in the BlueZ monitor
wireplumber.profiles = {
main = {
monitor.bluez.seat-monitoring = disabled
}
}

View File

@ -1,16 +1,18 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/imx-nxp-bsp:"
SRC_URI:append:imx-nxp-bsp = " file://51-bluez-imx.conf \
file://80-disable-logind.conf \
file://0001-wpctl-fix-set-default-Segmentation-fault-on-32bit-pl.patch \
"
do_install:append() {
do_install:append:imx-nxp-bsp () {
install -d ${D}${datadir}
# Install 51-bluez-imx.conf to /usr/share/wireplumber/wireplumber.conf.d
# Install nxp configure file to /usr/share/wireplumber/wireplumber.conf.d
install -d ${D}${datadir}/wireplumber/wireplumber.conf.d
install -m 0755 ${UNPACKDIR}/51-bluez-imx.conf ${D}${datadir}/wireplumber/wireplumber.conf.d
install -m 0644 ${UNPACKDIR}/51-bluez-imx.conf ${D}${datadir}/wireplumber/wireplumber.conf.d
install -m 0644 ${UNPACKDIR}/80-disable-logind.conf ${D}${datadir}/wireplumber/wireplumber.conf.d
}
FILES:${PN}:append = " ${datadir}/wireplumber/wireplumber.conf.d"