update e_player and bt

This commit is contained in:
hyx 2026-04-27 15:54:34 +08:00
parent 54fe12b755
commit 6976680043
5 changed files with 7 additions and 8 deletions

View File

@ -29,9 +29,7 @@ bring_hci_up()
start_bt()
{
echo "[BT] Waiting 10 seconds before init..."
sleep 10
echo "[BT] Init AIC8800..."
echo "[BT] Init AIC8800..."
insmod /lib/modules/5.10.44/kernel/drivers/net/wireless/aic8800/aic8800_btlpm/aic8800_btlpm.ko 2>/dev/null
sleep 1
@ -57,11 +55,12 @@ start_bt()
hciconfig ${HCI_DEV} leadv 0
sleep 1
# 动 bluetoothd
# <EFBFBD><EFBFBD><EFBFBD>动 bluetoothd
"${BLUETOOTHD_BIN}" &
echo $! > "${BLUETOOTHD_PIDFILE}"
# 启动 btgatt-server设置广播数据包含名称
echo "[BT] Waiting 10 seconds before init..."
sleep 10
# 启动 btgatt-server
"${BTGATT_BIN}" ${BTGATT_ARGS} >/dev/null 2>&1 &
echo $! > "${BTGATT_PIDFILE}"
@ -96,7 +95,7 @@ stop_bt()
case "$1" in
start)
start_bt
start_bt >/dev/null 2>&1 &
;;
stop)
stop_bt
@ -112,4 +111,4 @@ case "$1" in
;;
esac
exit $?
exit $?