bluetoothd sap-server: Operation not permitted (1)

Dans le log system on trouve cette erreur

bluetoothd[6881]: profiles/sap/server.c:sap_server_register() Sap driver initialization failed.
bluetoothd[6881]: sap-server: Operation not permitted (1)

Modification du service bluetooth

On ajoute l’option –noplugin=sap au démarrage du daemon

sudo systemctl edit bluetooth.service

Dans la zone de caractères libres ( sans dièse #) , on ajoute les lignes suivantes

[Service]
ExecStart=
ExecStart=/usr/libexec/bluetooth/bluetoothd --noplugin=sap

Prise en compte

sudo systemctl daemon-reload
sudo systemctl stop bluetooth.service
sudo systemctl start bluetooth.service

Vérification

sudo systemctl status bluetooth.service
● bluetooth.service - Bluetooth service
     Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
    Drop-In: /etc/systemd/system/bluetooth.service.d
             └─override.conf
     Active: active (running) since Thu 2021-01-21 15:18:10 CET; 4s ago
       Docs: man:bluetoothd(8)
   Main PID: 7136 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 4290)
     Memory: 796.0K
        CPU: 30ms
     CGroup: /system.slice/bluetooth.service
             └─7136 /usr/libexec/bluetooth/bluetoothd --noplugin=sap

janv. 21 15:18:10 debian bluetoothd[7136]: src/main.c:parse_controller_config() Key file does not have group “Controller”
janv. 21 15:18:10 debian bluetoothd[7136]: src/main.c:parse_controller_config() Key file does not have group “Controller”
janv. 21 15:18:10 debian bluetoothd[7136]: src/main.c:parse_controller_config() Key file does not have group “Controller”
janv. 21 15:18:10 debian bluetoothd[7136]: src/main.c:parse_controller_config() Key file does not have group “Controller”
janv. 21 15:18:10 debian systemd[1]: Started Bluetooth service.
janv. 21 15:18:10 debian bluetoothd[7136]: Starting SDP server
janv. 21 15:18:10 debian bluetoothd[7136]: Excluding (cli) sap
janv. 21 15:18:10 debian bluetoothd[7136]: Bluetooth management interface 1.18 initialized
janv. 21 15:18:11 debian bluetoothd[7136]: Endpoint registered: sender=:1.66 path=/MediaEndpoint/A2DPSink/sbc
janv. 21 15:18:11 debian bluetoothd[7136]: Endpoint registered: sender=:1.66 path=/MediaEndpoint/A2DPSource/sbc

Par Bidouille De Bian

Bidouilleur sur Linux Debian 10 (Buster). Débutant dans le blog sur Wordpress.