[SID] Bluetooth pulseaudio | pipewire / plus possible de connecter une enceinte avant fonctionnelle

Tags: #<Tag:0x00007f63e419b5a0>

Bonjour

Debian SID à jour, depuis 2/3 jours plus possible de connecter mon enceinte JBL alors que ça fait plus d’un an qu’elle était fonctionnelle

L’hote bluetooth est bien reconnu

$ hcitool dev
Devices:
	hci0	18:1D:EA:6D:03:F2

L’enceinte apparait bien

$ hcitool scan
Scanning ...
	F4:CA:E5:80:DC:84	Freebox Player Mini
	F8:5C:7E:99:67:BE	JBL GO Essential

Mais impossible de la connectée (xfce, blueman-applet). ELle se connecte et se déconnecte immédiatement avec comme seul message

La connexion a échoué : br-connection-profile-unavailable

Si j’essaie en ligne de commande

$ rfcomm connect hci0 F8:5C:7E:99:67:BE
Can't connect RFCOMM socket: Connection refused

Pas mieux

Sur le Net (forum Arch), j’ai bien vu ça mais sans effet

root@valhala:~# hciconfig hci0 down
root@valhala:~# rmmod btusb 
root@valhala:~# modprobe btusb 
root@valhala:~# hciconfig hci0 up

Ne change rien

Enfin niveau service

● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; preset: enabled)
     Active: active (running) since Fri 2024-01-19 17:48:55 CET; 12min ago
       Docs: man:bluetoothd(8)
   Main PID: 718 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 18795)
     Memory: 3.8M (peak: 4.3M)
        CPU: 115ms
     CGroup: /system.slice/bluetooth.service
             └─718 /usr/libexec/bluetooth/bluetoothd

janv. 19 17:48:57 valhala bluetoothd[718]: sap-server: Operation not permitted (1)
janv. 19 17:52:15 valhala bluetoothd[718]: Battery Provider Manager destroyed
janv. 19 17:52:23 valhala bluetoothd[718]: Battery Provider Manager created
janv. 19 17:52:23 valhala bluetoothd[718]: profiles/sap/server.c:sap_server_register() Sap driver initialization failed.
janv. 19 17:52:23 valhala bluetoothd[718]: sap-server: Operation not permitted (1)
janv. 19 17:52:56 valhala bluetoothd[718]: src/service.c:btd_service_connect() a2dp-sink profile connect failed for F8:5C:7E:99:67:BE: Protocol not available
janv. 19 17:59:50 valhala bluetoothd[718]: Battery Provider Manager destroyed
janv. 19 17:59:56 valhala bluetoothd[718]: Battery Provider Manager created
janv. 19 17:59:56 valhala bluetoothd[718]: profiles/sap/server.c:sap_server_register() Sap driver initialization failed.
janv. 19 17:59:56 valhala bluetoothd[718]: sap-server: Operation not permitted (1)

J’ai corrigé l’erreur (enfin je pense) avec

ExecStart=/usr/libexec/bluetooth/bluetoothd --noplugin=sap

Maintenant j’ai

● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; preset: enabled)
     Active: active (running) since Fri 2024-01-19 18:18:54 CET; 2min 19s ago
       Docs: man:bluetoothd(8)
   Main PID: 4278 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 18795)
     Memory: 1.0M (peak: 1.5M)
        CPU: 221ms
     CGroup: /system.slice/bluetooth.service
             └─4278 /usr/libexec/bluetooth/bluetoothd --noplugin=sap

janv. 19 18:18:54 valhala bluetoothd[4278]: src/plugin.c:plugin_init() System does not support bap plugin
janv. 19 18:18:54 valhala bluetoothd[4278]: Bluetooth management interface 1.22 initialized
janv. 19 18:18:54 valhala bluetoothd[4278]: src/adapter.c:reset_adv_monitors_complete() Failed to reset Adv Monitors: Failed (0x03)
janv. 19 18:18:54 valhala bluetoothd[4278]: Battery Provider Manager created
janv. 19 18:18:54 valhala bluetoothd[4278]: Failed to clear UUIDs: Failed (0x03)
janv. 19 18:18:54 valhala bluetoothd[4278]: Failed to add UUID: Failed (0x03)
janv. 19 18:18:54 valhala bluetoothd[4278]: Failed to add UUID: Failed (0x03)
janv. 19 18:18:54 valhala bluetoothd[4278]: Failed to add UUID: Failed (0x03)
janv. 19 18:19:01 valhala bluetoothd[4278]: src/service.c:btd_service_connect() a2dp-sink profile connect failed for F8:5C:7E:99:67:BE: Protocol not available
janv. 19 18:19:50 valhala bluetoothd[4278]: src/service.c:btd_service_connect() a2dp-sink profile connect failed for F8:5C:7E:99:67:BE: Protocol not available

Alors que si je passe par systemctl pour lancer le démon, pas d’erreur …

root@valhala:/etc/systemd/system# systemctl restart bluetooth.service 
root@valhala:/etc/systemd/system# 

Franchement, je tourne en rond. …

Si quelqu’un pouvait m’aiguiller un peu

Merci d’avance :wink:

Je n’y comprends plus rien.
Juste fait un

pulseaudio --start

Et l’enceinte s’est connectée.

Par contre, le son sort du PC et non de l’enceinte…

???

Slt.

Je dis peut-être une bếtise, mais actuellement ce n’est plus pulseaudio mais pipewire le serveur de son sous Sid.

Bonjour merci pour la réponse.

Comment puis procéder pour réinstaller proprement le serveur de son si mic mac et pipewire qui est effectivement bien installé ?

@

PengouinPdt
Merci de m’avoir aiguiller
J’ai vu que j’avais pipewire de bien installé mais en lisant PipeWire - Debian Wiki j’ai vu qu’ils recommandaient Debian -- Package Search Results -- pipewire-audio que je n’avais pas d’installer.

Son installation a du virer et purger des paquets pulseaudio qui trainaient encore

Après reboot, enceinte de nouveau fonctionnelle

Merci !

1 J'aime

Par contre, selon ton DE, tel que si Xfce, garde quand même l’applet Greffon PulseAudio, pour gérer correctement les différentes options de son (entrées, sorties, mixeur de son, …) ; mais ça dépend du DE utilisé :wink:

Re :wink:
Oui j’utilise xfce et j’ai bien garder cet applet :wink:
Merci pour le coup de main !

1 J'aime