# Bluetooth qui ne fonctionnne plus depuis passage à Debian 12

**URL:** <https://www.debian-fr.org/t/bluetooth-qui-ne-fonctionnne-plus-depuis-passage-a-debian-12/89769>\
**Category:** Support Debian\
**Tags:** bluetooth\
**Created:** [Mars 31, 2024, 11:49 UTC](https://www.debian-fr.org/t/bluetooth-qui-ne-fonctionnne-plus-depuis-passage-a-debian-12/89769 "2024-03-31T23:49:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![laguespa](https://www.debian-fr.org/user_avatar/www.debian-fr.org/laguespa/32/4570_2.png) [@laguespa](https://www.debian-fr.org/u/laguespa)\
**Post date:** [Mars 31, 2024, 11:49 UTC](https://www.debian-fr.org/t/bluetooth-qui-ne-fonctionnne-plus-depuis-passage-a-debian-12/89769/1 "2024-03-31T23:49:30Z")

</div>

Bonjour depuis mon passage à Debian 12 (réinstallation complète) le bluetooth ne fonctionne plus. Voici ce que j’obtiens :

```auto
root@dell:~# systemctl status bluetooth
● bluetooth.service - Bluetooth service
     Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; preset: enabled)
     Active: active (running) since Mon 2024-04-01 01:35:16 CEST; 6min ago
       Docs: man:bluetoothd(8)
   Main PID: 625 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 9299)
     Memory: 2.9M
        CPU: 91ms
     CGroup: /system.slice/bluetooth.service
             └─625 /usr/libexec/bluetooth/bluetoothd

avril 01 01:35:16 dell bluetoothd[625]: profiles/audio/mcp.c:mcp_init() D-Bus experimental not enabled
avril 01 01:35:16 dell bluetoothd[625]: src/plugin.c:plugin_init() Failed to init mcp plugin
avril 01 01:35:16 dell bluetoothd[625]: profiles/audio/bap.c:bap_init() D-Bus experimental not enabled
avril 01 01:35:16 dell bluetoothd[625]: src/plugin.c:plugin_init() Failed to init bap plugin
avril 01 01:35:16 dell bluetoothd[625]: Bluetooth management interface 1.22 initialized
avril 01 01:35:16 dell bluetoothd[625]: profiles/sap/server.c:sap_server_register() Sap driver initialization failed.
avril 01 01:35:16 dell bluetoothd[625]: sap-server: Operation not permitted (1)
avril 01 01:35:38 dell bluetoothd[625]: src/service.c:btd_service_connect() a2dp-sink profile connect failed for 24:15:10:30:D9:53: P>
avril 01 01:36:17 dell bluetoothd[625]: src/service.c:btd_service_connect() a2dp-sink profile connect failed for 24:15:10:30:D9:53: P>
avril 01 01:36:39 dell bluetoothd[625]: src/service.c:btd_service_connect() a2dp-sink profile connect failed for 24:15:10:30:D9:53: P>
root@dell:~# bluetoothctl list
Controller 20:16:D8:9A:CD:90 dell [default]
```

---

<div class="post-metadata">

**Author:** ![Clochette](https://www.debian-fr.org/user_avatar/www.debian-fr.org/clochette/32/8757_2.png) [@Clochette](https://www.debian-fr.org/u/Clochette)\
**Post date:** [Avril 1, 2024, 12:15 UTC](https://www.debian-fr.org/t/bluetooth-qui-ne-fonctionnne-plus-depuis-passage-a-debian-12/89769/2 "2024-04-01T00:15:47Z")

</div>

Je dirait au hasard :

```auto
a2dp-sink profile connect failed [...]: Protocol not available
This error can appear when using PipeWire as your audio server and attempting to pair a device via Bluetooth, without first uninstalling the pulseaudio-module-bluetooth package.

If you're using PulseAudio, PulseAudio may not be properly connecting to the device. It might be because it was already playing. Stopping anything playing on PulseAudio, restarting PulseAudio, and reconnecting to the device may fix the problem.

In addition, you need the following settings in /etc/pulse/default.pa or /etc/pulse/default.pa.d/bluez5.pa:

load-module module-bluez5-device
load-module module-bluez5-discover
Then restart pulseaudio.

```

[https://wiki.debian.org/BluetoothUser/a2dp#a2dp-sink\_profile\_connect\_failed\_.5B....5D:\_Protocol\_not\_available](https://wiki.debian.org/BluetoothUser/a2dp#a2dp-sink_profile_connect_failed_.5B....5D:_Protocol_not_available)

---

<div class="post-metadata">

**Author:** ![dindoun](https://www.debian-fr.org/user_avatar/www.debian-fr.org/dindoun/32/4281_2.png) [@dindoun](https://www.debian-fr.org/u/dindoun)\
**Post date:** [Avril 3, 2024, 1:17 UTC](https://www.debian-fr.org/t/bluetooth-qui-ne-fonctionnne-plus-depuis-passage-a-debian-12/89769/3 "2024-04-03T13:17:07Z")

</div>

> **[bluetooth installation](https://dindoun.lautre.net/spip.php?article223)**
>
> programmes à installer sur bookworm : 
> 
> sudo apt-get install bluetooth blueman bluez bluez-obexd bluez-firmware pulseaudio-module-bluetooth (...)

que donne `lsusb |grep -i blu ; lspci |grep -i blu`  
essaies  
`sudo apt-get install bluetooth blueman bluez bluez-obexd bluez-firmware pulseaudio-module-bluetooth gnome-bluetooth-3-common gnome-bluetooth-sendto ubertooth`

et  
sudo modprobe btusb ; sudo systemctl enable bluetooth.service ; sudo systemctl start bluetooth.service

Eventuellement `sudo systemctl -f start bluetooth.service`

---

<div class="post-metadata">

**Author:** ![Herve5](https://www.debian-fr.org/user_avatar/www.debian-fr.org/herve5/32/7751_2.png) [@Herve5](https://www.debian-fr.org/u/Herve5)\
**Post date:** [Avril 4, 2024, 10:53 UTC](https://www.debian-fr.org/t/bluetooth-qui-ne-fonctionnne-plus-depuis-passage-a-debian-12/89769/4 "2024-04-04T10:53:25Z")

</div>

J’ai eu le même ennui, ça correspond au changement de manière de gérer Bluetooth entre les versions 11 et 12, qui passe de _pulse-audio_ à _pipewire-audio_ et qui n’est pas bien mis à jour lorsqu’on upgrade visiblement.  
En suivant la discussion [ici](https://debian-facile.org/viewtopic.php?id=34340), j’ai **réinstallé** pipewire-audio.  
Je cite, «&nbsp;Celui-ci va désinstaller les paquets pulse-audio et installer les paquets qui vont bien.&nbsp;»  
Et effectivement, ça a bien marché pour moi…
