# Testing : bluetooth est actif mais ne fonctionne pas

**URL:** <https://www.debian-fr.org/t/testing-bluetooth-est-actif-mais-ne-fonctionne-pas/88047>\
**Category:** Support Debian\
**Created:** [Mars 26, 2023, 12:17 UTC](https://www.debian-fr.org/t/testing-bluetooth-est-actif-mais-ne-fonctionne-pas/88047 "2023-03-26T12:17:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zao](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/z/ce7236/32.png) [@zao](https://www.debian-fr.org/u/zao)\
**Post date:** [Mars 26, 2023, 12:17 UTC](https://www.debian-fr.org/t/testing-bluetooth-est-actif-mais-ne-fonctionne-pas/88047/1 "2023-03-26T12:17:40Z")

</div>

système : testing + Xfce

me préparant au passage à debian 12 je teste les différentes applications dont j’aurai besoin . Toutes fonctionnent sauf _bluetooth_.

Lorsque j’active bluetooth dans _Applications/paramètres_ l’icône _gestionnaire bluetooth_ apparaît un bref instant et très rapidement disparaît de la barre des tâches ne me permettant pas d’appairer ou de détecter ma barre de son ( aucun problème avec debian 11 ) . Ci-dessous divers renseignements sur l’état de bluetooth/testing :

```nohighlight
mi@s125:~$ sudo rfkill
ID TYPE DEVICE SOFT HARD
 0 wlan phy0 débloqué débloqué
 1 bluetooth hci0 débloqué débloqué

mi@s125:~$ systemctl status bluetooth 
● bluetooth.service - Bluetooth service
     Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; preset: enabled)
     Active: active (running) since Sun 2023-03-26 12:33:00 CEST; 13min ago
       Docs: man:bluetoothd(8)
   Main PID: 699 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 4516)
     Memory: 3.2M
        CPU: 75ms
     CGroup: /system.slice/bluetooth.service
             └─699 /usr/libexec/bluetooth/bluetoothd ----> apparaît en grisé

mi@s125:~$ ps aux | grep blue   
root 699 0.0 0.1 12800 6076 ? Ss 12:33 0:00 /usr/libexec/bluetooth/bluetoothd ---> ps 699 est bien là
mi 1093 0.0 1.3 445700 54440 ? Sl 12:33 0:00 /usr/bin/python3 /usr/bin/blueman-applet
mi 1247 0.0 0.1 48484 7372 ? Ss 12:33 0:00 /usr/libexec/bluetooth/obexd
mi 1249 0.1 1.0 281576 39412 ? Sl 12:33 0:06 /usr/bin/python3 /usr/bin/blueman-tray
mi 1802 0.0 0.0 6352 2244 pts/0 S+ 13:54 0:00 grep --color blue

```

Dans la dernière liste ci-dessus il manque **blueman-manager** ( cf debian 11 ) et pourtant

```nohighlight
mi@s125:~$ cd /usr/bin/ ; ls -a | grep blueman-manager
blueman-manager

```

Une autre anomalie :

```nohighlight
mi@s125:~$ bluetoothctl
Agent registered
[bluetooth]# show
No default controller available

```

mais sans icône bluetooth-manager pour contrôler ce défaut je ne sais pas comment procéder .

Edit 1:  
au cas où ça puisse être nécessaire je rajoute ceci :

```nohighlight
mi@s125:~$ sudo dmesg | grep bluetooth
[sudo] Mot de passe de mi : 
[7.268233] bluetooth hci0: firmware: failed to load brcm/BCM43142A0-04ca-2006.hcd (-2)
[7.268348] bluetooth hci0: firmware: failed to load brcm/BCM43142A0-04ca-2006.hcd (-2)
[7.268409] bluetooth hci0: firmware: failed to load brcm/BCM-04ca-2006.hcd (-2)
[7.268457] bluetooth hci0: firmware: failed to load brcm/BCM-04ca-2006.hcd (-2)

```

mais comme _bluetooth_ est activé je suppose que ces erreurs n’interviennent pas . Je suppose . Et comme Debian 11 présente les 2 mêmes erreurs avec BCM43142 et qu’il marche très bien …

Edit 2 :  
probable problème de détection de ma barre de son

```nohighlight
mi@s125:~$ bluetoothctl list
mi@s125:~$ 

```

Edit 3 :

```nohighlight
mi@s125:~$ sudo journalctl -f -u bluetooth
mars 26 19:23:37 s125 bluetoothd[681]: Bluetooth daemon 5.66
mars 26 19:23:37 s125 bluetoothd[681]: Starting SDP server
mars 26 19:23:37 s125 bluetoothd[681]: profiles/audio/vcp.c:vcp_init() D-Bus experimental not enabled
mars 26 19:23:37 s125 bluetoothd[681]: src/plugin.c:plugin_init() Failed to init vcp plugin
mars 26 19:23:37 s125 bluetoothd[681]: profiles/audio/mcp.c:mcp_init() D-Bus experimental not enabled
mars 26 19:23:37 s125 bluetoothd[681]: src/plugin.c:plugin_init() Failed to init mcp plugin
mars 26 19:23:37 s125 bluetoothd[681]: profiles/audio/bap.c:bap_init() D-Bus experimental not enabled
mars 26 19:23:37 s125 bluetoothd[681]: src/plugin.c:plugin_init() Failed to init bap plugin
mars 26 19:23:37 s125 bluetoothd[681]: Bluetooth management interface 1.22 initialized
mars 26 19:23:37 s125 systemd[1]: Started bluetooth.service - Bluetooth service.

```

---

<div class="post-metadata">

**Author:** ![zao](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/z/ce7236/32.png) [@zao](https://www.debian-fr.org/u/zao)\
**Post date:** [Mars 27, 2023, 6:19 UTC](https://www.debian-fr.org/t/testing-bluetooth-est-actif-mais-ne-fonctionne-pas/88047/2 "2023-03-27T06:19:34Z")

</div>

en fait je teste _bookworm_ à partir d’un ssd branché sur un portable comportant une carte Broadcom qui jusqu’à présent a toujours bien fonctionné . Mais _testing_ n’a pas l’air de savoir gérer la partie _bluetooth_ de cette carte , la partie _wifi_ est OK . Je viens de passer ce ssd sur mon portable habituel , celui qui recevra debian 12 , et tout marche correctement . Comme le support final est OK pour _testing_ je passe en _résolu_ .
