[Share Experiences] 蓝牙进程存在错误
Tofloor
poster avatar
datacl
deepin
2024-06-21 15:26
Author

的蓝牙连接存在问题,查看服务发现:

service bluetooth status

存在Sap driver initialization failed 错误提示字样;网络上查找解决方案后,最终添加参数解决。具体修改为:

yangjk@yangjk-PC:~$ systemctl status bluetooth.service 
● bluetooth.service - Bluetooth service
     Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2024-06-21 08:55:31 CST; 6h ago
       Docs: man:bluetoothd(8)
   Main PID: 2522 (bluetoothd.sh)
      Tasks: 2 (limit: 14125)
     Memory: 3.2M
     CGroup: /system.slice/bluetooth.service
             ├─2522 /bin/sh /usr/lib/bluetooth/bluetoothd.sh --noplugin=sap
             └─2565 /usr/lib/bluetooth/bluetoothd --noplugin=sap

yangjk@yangjk-PC:~$ cat /usr/lib/bluetooth/bluetoothd.sh
#! /bin/sh

if [ -d /usr/share/bluetooth ];then
        tmp=$(cat /usr/share/bluetooth/bluetoothd.conf |grep -wi OParameter)
        param=${tmp#*=}
        echo $param
fi
/usr/lib/bluetooth/bluetoothd --noplugin=sap $param

修改/usr/lib/bluetooth/bluetoothd.sh ,添加--noplugin=sap参数。

Reply Favorite View the author
All Replies
131******66
deepin
2024-06-21 16:17
#1

学到了agree

Reply View the author