logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 14-06-2023 13:11:38

Grégory1899
Membre
Lieu : Lille
Distrib. : Debian GNU/Linux 12.5 (bookworm)
Noyau : Linux 6.1.0-18-amd64
(G)UI : GNOME 43.9
Inscription : 20-10-2019

Bluetooth - firmwares manquants ?

Je vous explique.
Je suis passé à Bookworm hier mais je pense que le problème existait bien avant, sur Bullseye.
En effet, je viens de constater qu'il m'est impossible de me mettre en bluetooth sur mon PC.
Dans les paramètres, même si j'active l’icône, rien ne se passe.
Même chose avec les commandes en haut à droite (je suis sur Gnome).
Bref.

root@debian:~# service bluetooth status
● bluetooth.service - Bluetooth service
     Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; preset: en>
     Active: active (running) since Wed 2023-06-14 11:34:33 CEST; 2h 25min ago
       Docs: man:bluetoothd(8)
   Main PID: 681 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 6950)
     Memory: 2.5M
        CPU: 48ms
     CGroup: /system.slice/bluetooth.service
             └─681 /usr/libexec/bluetooth/bluetoothd

juin 14 11:34:29 debian bluetoothd[681]: Bluetooth daemon 5.66
juin 14 11:34:33 debian systemd[1]: Started bluetooth.service - Bluetooth servi>
juin 14 11:34:33 debian bluetoothd[681]: Starting SDP server
juin 14 11:34:33 debian bluetoothd[681]: profiles/audio/vcp.c:vcp_init() D-Bus >
juin 14 11:34:33 debian bluetoothd[681]: src/plugin.c:plugin_init() Failed to i>
juin 14 11:34:33 debian bluetoothd[681]: profiles/audio/mcp.c:mcp_init() D-Bus >
juin 14 11:34:33 debian bluetoothd[681]: src/plugin.c:plugin_init() Failed to i>
juin 14 11:34:33 debian bluetoothd[681]: profiles/audio/bap.c:bap_init() D-Bus >
juin 14 11:34:33 debian bluetoothd[681]: src/plugin.c:plugin_init() Failed to i>
juin 14 11:34:33 debian bluetoothd[681]: Bluetooth management interface 1.22 in>
lines 1-22/22 (END)



gregory@debian:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0a5c:216d Broadcom Corp. BCM43142A0 Bluetooth 4.0
Bus 001 Device 003: ID 04f2:b50d Chicony Electronics Co., Ltd HP Truevision HD
Bus 001 Device 002: ID 3938:1031 MOSART Semi. 2.4G Wireless Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub




root@debian:~# dmesg | grep firmware
[    0.075439] DMAR: [Firmware Bug]: No firmware reserved region can cover this RMRR [0x000000009d800000-0x000000009fffffff], contact BIOS vendor for fixes
[    3.905950] [drm:amdgpu_pci_probe [amdgpu]] *ERROR* amdgpu requires firmware installed
[    3.906319] amdgpu: See https://wiki.debian.org/Firmware for information about missing firmware
[   15.955498] platform regulatory.0: firmware: direct-loading firmware regulatory.db
[   16.273630] platform regulatory.0: firmware: direct-loading firmware regulatory.db.p7s
[   17.251090] bluetooth hci0: firmware: failed to load brcm/BCM43142A0-0a5c-216d.hcd (-2)
[   17.251123] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[   17.251155] bluetooth hci0: firmware: failed to load brcm/BCM43142A0-0a5c-216d.hcd (-2)
[   17.251186] bluetooth hci0: firmware: failed to load brcm/BCM-0a5c-216d.hcd (-2)
[   17.251213] bluetooth hci0: firmware: failed to load brcm/BCM-0a5c-216d.hcd (-2)
[   17.251234] Bluetooth: hci0: BCM: firmware Patch file not found, tried:
[   32.081411] r8169 0000:09:00.0: firmware: direct-loading firmware rtl_nic/rtl8107e-2.fw



root@debian:~# lsusb | grep Bluetooth
Bus 001 Device 004: ID 0a5c:216d Broadcom Corp. BCM43142A0 Bluetooth 4.0
root@debian:~# dmesg | grep bluetooth
[   17.251090] bluetooth hci0: firmware: failed to load brcm/BCM43142A0-0a5c-216d.hcd (-2)
[   17.251155] bluetooth hci0: firmware: failed to load brcm/BCM43142A0-0a5c-216d.hcd (-2)
[   17.251186] bluetooth hci0: firmware: failed to load brcm/BCM-0a5c-216d.hcd (-2)
[   17.251213] bluetooth hci0: firmware: failed to load brcm/BCM-0a5c-216d.hcd (-2)



Je me suis basé sur ce topic : https://debian-facile.org/viewtopic.php?id=32285 pour utiliser ces commandes.
Toujours est-il que je ne sais comment faire pour installer les firmwares manquants me permettant d'activer le bluetooth. scratchhead.gif

Hors ligne

#2 14-06-2023 14:21:37

ubub
Membre
Distrib. : Debian
(G)UI : xfce
Inscription : 14-05-2019

Re : Bluetooth - firmwares manquants ?

Bonjour,

Grégory1899 a écrit :

Toujours est-il que je ne sais comment faire pour installer les firmwares manquants me permettant d'activer le bluetooth.


une piste là :
https://wiki.debian.org/BCMHybridBTFirmware

En ligne

#3 14-06-2023 14:49:46

Grégory1899
Membre
Lieu : Lille
Distrib. : Debian GNU/Linux 12.5 (bookworm)
Noyau : Linux 6.1.0-18-amd64
(G)UI : GNOME 43.9
Inscription : 20-10-2019

Re : Bluetooth - firmwares manquants ?

Merci beaucoup.
Je viens d'y jeter un œil. Mais je ne parviens pas à trouver le firmware manquant adapté à mon ordinateur. sad

Hors ligne

#4 14-06-2023 15:36:07

--gilles--
Membre
Lieu : Orléans - La Source
Distrib. : Debian 12
Noyau : Linux 6.1.0-18-amd64
(G)UI : Gnome - mutter 43.8-0+deb12u1
Inscription : 15-02-2016

Re : Bluetooth - firmwares manquants ?

Rebonjour !

Je ne retrouve plus le tuto qui explique comment installer les firmwares de manière traditionnelle.


En fait, le tuto a été supprimé :
https://debian-facile.org/doc:materiel: … ?do=recent




Mais ce n'est pas grave, il existe maintenant une méthode automatisée :

apt install isenkram-cli





isenkram-autoinstall-firmware


Si tout le monde pense pareil, c'est qu'aucune personne ne pense beaucoup.
 Intel® Core™2 Duo E8500  × 2
4,0 Gio DDR3 - 1333 MHz
Et si vous cherchiez votre solution dans le wiki => https://debian-facile.org/accueil palestine.png

En ligne

#5 14-06-2023 16:00:42

èfpé
Membre
Inscription : 10-07-2016

Re : Bluetooth - firmwares manquants ?

Grégory1899 a écrit :

Toujours est-il que je ne sais comment faire pour installer les firmwares manquants me permettant d'activer le bluetooth.


Le premier doit suffire, tu le trouveras sur le dépôt GitHub d'Azamat H. Hackimov (en .hcd ou .deb).
https://github.com/winterheart/broadcom … are#readme
Le fichier est à copier dans le répertoire : /lib/firmware/brcm/ (ou bien /usr/local/lib/firmware/brcm/).

Dernière modification par èfpé (14-06-2023 20:00:42)

Hors ligne

#6 14-06-2023 16:39:05

Grégory1899
Membre
Lieu : Lille
Distrib. : Debian GNU/Linux 12.5 (bookworm)
Noyau : Linux 6.1.0-18-amd64
(G)UI : GNOME 43.9
Inscription : 20-10-2019

Re : Bluetooth - firmwares manquants ?

--gilles-- a écrit :

Rebonjour !

Je ne retrouve plus le tuto qui explique comment installer les firmwares de manière traditionnelle.


En fait, le tuto a été supprimé :
https://debian-facile.org/doc:materiel: … ?do=recent




Mais ce n'est pas grave, il existe maintenant une méthode automatisée :

apt install isenkram-cli





isenkram-autoinstall-firmware


Merci.
J'ai bien effectué ces 2 opérations. Mais toujours rien.


èfpé a écrit :

Grégory1899 a écrit :

Toujours est-il que je ne sais comment faire pour installer les firmwares manquants me permettant d'activer le bluetooth.


Le premier doit suffire, tu le trouveras sur le dépôt GitHub d'Azamat H. Hackimov (en .hcd ou .deb).

https://github.com/winterheart/broadcom-bt-firmware

Le fichier est à copier dans le répertoire : /lib/firmware/brcm/ (ou bien /usr/local/lib/firmware/brcm/).



Merci.

root@debian:~# dmesg | grep -i bluetooth # Shows all Bluetooth driver info
dmesg | grep -i bluetooth | grep -i firmware # Shows Bluetooth firmware issues
[   17.611491] Bluetooth: Core ver 2.22
[   17.611521] NET: Registered PF_BLUETOOTH protocol family
[   17.611524] Bluetooth: HCI device and connection manager initialized
[   17.611531] Bluetooth: HCI socket layer initialized
[   17.611535] Bluetooth: L2CAP socket layer initialized
[   17.611541] Bluetooth: SCO socket layer initialized
[   18.015142] Bluetooth: hci0: unexpected event for opcode 0x1003
[   18.126190] Bluetooth: hci0: BCM: chip id 70
[   18.127187] Bluetooth: hci0: BCM: features 0x06
[   18.143200] Bluetooth: hci0: BCM43142A
[   18.143207] Bluetooth: hci0: BCM43142A0 (001.001.011) build 0000
[   18.190989] bluetooth hci0: firmware: failed to load brcm/BCM43142A0-0a5c-216d.hcd (-2)
[   18.191157] bluetooth hci0: firmware: failed to load brcm/BCM43142A0-0a5c-216d.hcd (-2)
[   18.191239] bluetooth hci0: firmware: failed to load brcm/BCM-0a5c-216d.hcd (-2)
[   18.191302] bluetooth hci0: firmware: failed to load brcm/BCM-0a5c-216d.hcd (-2)
[   18.191347] Bluetooth: hci0: BCM: firmware Patch file not found, tried:
[   18.191386] Bluetooth: hci0: BCM: 'brcm/BCM43142A0-0a5c-216d.hcd'
[   18.191422] Bluetooth: hci0: BCM: 'brcm/BCM-0a5c-216d.hcd'
[   20.200109] Bluetooth: hci0: Opcode 0x1003 failed: -110
[   28.259812] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   28.259820] Bluetooth: BNEP filters: protocol multicast
[   28.259827] Bluetooth: BNEP socket layer initialized
[   18.190989] bluetooth hci0: firmware: failed to load brcm/BCM43142A0-0a5c-216d.hcd (-2)
[   18.191157] bluetooth hci0: firmware: failed to load brcm/BCM43142A0-0a5c-216d.hcd (-2)
[   18.191239] bluetooth hci0: firmware: failed to load brcm/BCM-0a5c-216d.hcd (-2)
[   18.191302] bluetooth hci0: firmware: failed to load brcm/BCM-0a5c-216d.hcd (-2)
[   18.191347] Bluetooth: hci0: BCM: firmware Patch file not found, tried:



Je dois donc placer brcm/BCM43142A0-0a5c-216d.hcd dans le répertoire /lib/firmware/brcm/ si j'ai bien compris puis faire redémarrer.
Mais comment place-t'on ce fichier dans ce répertoire ?
(désolé si c'est une évidence, elle ne l'est pas pour moi)

Hors ligne

#7 14-06-2023 19:46:42

èfpé
Membre
Inscription : 10-07-2016

Re : Bluetooth - firmwares manquants ?

Grégory1899 a écrit :

Je dois donc placer [le fichier] BCM43142A0-0a5c-216d.hcd dans le répertoire /lib/firmware/brcm/ [...] puis [...] redémarrer.
Mais comment place-t-on ce fichier dans ce répertoire ?


Je te propose de le faire en deux étapes et en ligne de commande. Ce qui est beaucoup plus simple.

# on récupère le fichier depuis github.com
wget -P /tmp https://raw.githubusercontent.com/winterheart/broadcom-bt-firmware/master/brcm/BCM43142A0-0a5c-216d.hcd


# on copie le fichier à un endroit attendu
cp -v /tmp/BCM43142A0-0a5c-216d.hcd /lib/firmware/brcm/


Un puriste copierait ledit fichier dans le répertoire /usr/local/lib/firmware/brcm/ (conformité au FHS).

Hors ligne

#8 15-06-2023 08:22:28

Grégory1899
Membre
Lieu : Lille
Distrib. : Debian GNU/Linux 12.5 (bookworm)
Noyau : Linux 6.1.0-18-amd64
(G)UI : GNOME 43.9
Inscription : 20-10-2019

Re : Bluetooth - firmwares manquants ?

Merci.
J'ai bien effectué en 2 temps tes recommandations. Et en effet, l'icône "bluetooth s'active".
Il y a donc une recherche des périphériques mais impossible de s'y connecter. "Non configuré" est indiqué à côté du périphérique une fois trouvé.

A présent cette commande me donne :

root@debian:~# dmesg | grep -i bluetooth # Shows all Bluetooth driver info
dmesg | grep -i bluetooth | grep -i firmware # Shows Bluetooth firmware issues
[   17.412755] Bluetooth: Core ver 2.22
[   17.412787] NET: Registered PF_BLUETOOTH protocol family
[   17.412789] Bluetooth: HCI device and connection manager initialized
[   17.412793] Bluetooth: HCI socket layer initialized
[   17.412796] Bluetooth: L2CAP socket layer initialized
[   17.412801] Bluetooth: SCO socket layer initialized
[   17.771241] Bluetooth: hci0: unexpected event for opcode 0x1003
[   17.882055] Bluetooth: hci0: BCM: chip id 70
[   17.883045] Bluetooth: hci0: BCM: features 0x06
[   17.899080] Bluetooth: hci0: BCM43142A
[   17.899086] Bluetooth: hci0: BCM43142A0 (001.001.011) build 0000
[   17.963321] bluetooth hci0: firmware: direct-loading firmware brcm/BCM43142A0-0a5c-216d.hcd
[   17.963331] Bluetooth: hci0: BCM43142A0 'brcm/BCM43142A0-0a5c-216d.hcd' Patch
[   18.682052] Bluetooth: hci0: BCM: features 0x06
[   18.698078] Bluetooth: hci0: BCM43142A0 Generic USB Class 2 NonUHE @ 20 MHz
[   18.698086] Bluetooth: hci0: BCM43142A0 (001.001.011) build 0329
[   25.237293] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   25.237300] Bluetooth: BNEP filters: protocol multicast
[   25.237307] Bluetooth: BNEP socket layer initialized
[   25.240887] Bluetooth: MGMT ver 1.22
[   49.788946] Bluetooth: RFCOMM TTY layer initialized
[   49.788964] Bluetooth: RFCOMM socket layer initialized
[   49.788976] Bluetooth: RFCOMM ver 1.11
[  309.352364] Modules linked in: rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device qrtr cmac algif_hash algif_skcipher af_alg bnep binfmt_misc nls_ascii nls_cp437 vfat fat btusb btrtl btbcm uvcvideo btintel btmtk bluetooth videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev x86_pkg_temp_thermal jitterentropy_rng snd_ctl_led intel_powerclamp drbg ansi_cprng coretemp mc snd_hda_codec_realtek ecdh_generic ecc wl(POE) ghash_clmulni_intel snd_hda_codec_generic sha512_ssse3 ledtrig_audio snd_hda_codec_hdmi sha512_generic snd_hda_intel aesni_intel snd_intel_dspcfg snd_intel_sdw_acpi crypto_simd snd_hda_codec snd_hda_core cryptd iTCO_wdt cfg80211 snd_hwdep rapl hp_wmi intel_pmc_bxt platform_profile snd_pcm mei_hdcp intel_cstate sparse_keymap iTCO_vendor_support intel_rapl_msr watchdog snd_timer intel_uncore rfkill processor_thermal_device_pci_legacy processor_thermal_device processor_thermal_rfim hp_accel wmi_bmof snd pcspkr processor_thermal_mbox at24
[   17.963321] bluetooth hci0: firmware: direct-loading firmware brcm/BCM43142A0-0a5c-216d.hcd


Il doit encore manquer quelque chose... scratchhead.gif

root@debian:~# service bluetooth status
● bluetooth.service - Bluetooth service
     Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; preset: en>
     Active: active (running) since Thu 2023-06-15 09:03:15 CEST; 22min ago
       Docs: man:bluetoothd(8)
   Main PID: 695 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 6928)
     Memory: 2.5M
        CPU: 213ms
     CGroup: /system.slice/bluetooth.service
             └─695 /usr/libexec/bluetooth/bluetoothd

juin 15 09:04:17 debian bluetoothd[695]: Endpoint registered: sender=:1.66 path>
juin 15 09:04:17 debian bluetoothd[695]: Endpoint registered: sender=:1.66 path>
juin 15 09:04:17 debian bluetoothd[695]: Endpoint registered: sender=:1.66 path>
juin 15 09:04:17 debian bluetoothd[695]: Endpoint registered: sender=:1.66 path>
juin 15 09:04:17 debian bluetoothd[695]: Endpoint registered: sender=:1.66 path>
juin 15 09:04:17 debian bluetoothd[695]: Endpoint registered: sender=:1.66 path>
juin 15 09:04:17 debian bluetoothd[695]: Endpoint registered: sender=:1.66 path>
juin 15 09:04:17 debian bluetoothd[695]: Endpoint registered: sender=:1.66 path>
juin 15 09:05:59 debian bluetoothd[695]: Failed to set mode: Failed (0x03)
juin 15 09:18:37 debian bluetoothd[695]: Failed to set mode:



root@debian:~# dmesg | grep firmware
[    0.075766] DMAR: [Firmware Bug]: No firmware reserved region can cover this RMRR [0x000000009d800000-0x000000009fffffff], contact BIOS vendor for fixes
[    4.041397] amdgpu 0000:0a:00.0: firmware: direct-loading firmware amdgpu/topaz_mc.bin
[    4.042321] amdgpu 0000:0a:00.0: firmware: direct-loading firmware amdgpu/topaz_pfp.bin
[    4.042343] amdgpu 0000:0a:00.0: firmware: direct-loading firmware amdgpu/topaz_me.bin
[    4.042363] amdgpu 0000:0a:00.0: firmware: direct-loading firmware amdgpu/topaz_ce.bin
[    4.042382] amdgpu 0000:0a:00.0: firmware: direct-loading firmware amdgpu/topaz_rlc.bin
[    4.042480] amdgpu 0000:0a:00.0: firmware: direct-loading firmware amdgpu/topaz_mec.bin
[    4.043091] amdgpu 0000:0a:00.0: firmware: direct-loading firmware amdgpu/topaz_sdma.bin
[    4.043109] amdgpu 0000:0a:00.0: firmware: direct-loading firmware amdgpu/topaz_sdma1.bin
[    4.043945] amdgpu 0000:0a:00.0: firmware: direct-loading firmware amdgpu/topaz_k_smc.bin
[   16.531650] platform regulatory.0: firmware: direct-loading firmware regulatory.db
[   16.942902] platform regulatory.0: firmware: direct-loading firmware regulatory.db.p7s
[   17.963321] bluetooth hci0: firmware: direct-loading firmware brcm/BCM43142A0-0a5c-216d.hcd
[   34.339623] r8169 0000:09:00.0: firmware: direct-loading firmware rtl_nic/rtl8107e-2.fw



lsusb | grep Bluetooth
Bus 001 Device 004: ID 0a5c:216d Broadcom Corp. BCM43142A0 Bluetooth 4.0

Dernière modification par Grégory1899 (15-06-2023 08:33:29)

Hors ligne

#9 15-06-2023 10:04:42

èfpé
Membre
Inscription : 10-07-2016

Re : Bluetooth - firmwares manquants ?

Grégory1899 a écrit :

dmesg | grep -i bluetooth # Shows all Bluetooth driver info

[   17.412755] Bluetooth: Core ver 2.22
[   17.412787] ...
[   49.788976] Bluetooth: RFCOMM ver 1.11
[  309.352364] Modules linked in: rfcomm snd_seq_dummy snd_hrtimer snd_seq
snd_seq_device qrtr cmac algif_hash algif_skcipher af_alg bnep binfmt_misc nls_ascii
nls_cp437 vfat fat btusb btrtl btbcm uvcvideo btintel btmtk bluetooth
videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev
x86_pkg_temp_thermal jitterentropy_rng snd_ctl_led intel_powerclamp drbg ansi_cprng
coretemp mc snd_hda_codec_realtek ecdh_generic ecc wl(POE) ghash_clmulni_intel
snd_hda_codec_generic sha512_ssse3 ledtrig_audio snd_hda_codec_hdmi sha512_generic
snd_hda_intel aesni_intel snd_intel_dspcfg snd_intel_sdw_acpi crypto_simd
snd_hda_codec snd_hda_core cryptd iTCO_wdt cfg80211 snd_hwdep rapl hp_wmi
intel_pmc_bxt platform_profile snd_pcm mei_hdcp intel_cstate sparse_keymap
iTCO_vendor_support intel_rapl_msr watchdog snd_timer intel_uncore rfkill
processor_thermal_device_pci_legacy processor_thermal_device processor_thermal_rfim
hp_accel wmi_bmof snd pcspkr processor_thermal_mbox at24


Le Bluetooth est activé, mais est impliqué dans (ou à l'origine d') un problème, qu'il faut investiguer.
Pourrais-tu poster l'intégralité des messages du noyau (dmesg) via paste.debian.net ou pastebinit ?

Hors ligne

#10 15-06-2023 10:25:38

Grégory1899
Membre
Lieu : Lille
Distrib. : Debian GNU/Linux 12.5 (bookworm)
Noyau : Linux 6.1.0-18-amd64
(G)UI : GNOME 43.9
Inscription : 20-10-2019

Re : Bluetooth - firmwares manquants ?

root@debian:~# dmesg | grep -i bluetooth # Shows all Bluetooth driver info
dmesg | grep -i bluetooth | grep -i firmware # Shows Bluetooth firmware issues
[   17.701776] Bluetooth: Core ver 2.22
[   17.701807] NET: Registered PF_BLUETOOTH protocol family
[   17.701808] Bluetooth: HCI device and connection manager initialized
[   17.701813] Bluetooth: HCI socket layer initialized
[   17.701815] Bluetooth: L2CAP socket layer initialized
[   17.701820] Bluetooth: SCO socket layer initialized
[   18.033203] Bluetooth: hci0: BCM: chip id 70
[   18.034201] Bluetooth: hci0: BCM: features 0x06
[   18.050235] Bluetooth: hci0: BCM43142A
[   18.050241] Bluetooth: hci0: BCM43142A0 (001.001.011) build 0000
[   18.152460] bluetooth hci0: firmware: direct-loading firmware brcm/BCM43142A0-0a5c-216d.hcd
[   18.152470] Bluetooth: hci0: BCM43142A0 'brcm/BCM43142A0-0a5c-216d.hcd' Patch
[   18.869349] Bluetooth: hci0: BCM: features 0x06
[   18.885279] Bluetooth: hci0: BCM43142A0 Generic USB Class 2 NonUHE @ 20 MHz
[   18.885293] Bluetooth: hci0: BCM43142A0 (001.001.011) build 0329
[   28.758948] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   28.758954] Bluetooth: BNEP filters: protocol multicast
[   28.758961] Bluetooth: BNEP socket layer initialized
[   28.761790] Bluetooth: MGMT ver 1.22
[   51.442616] Bluetooth: RFCOMM TTY layer initialized
[   51.442627] Bluetooth: RFCOMM socket layer initialized
[   51.442636] Bluetooth: RFCOMM ver 1.11
[   18.152460] bluetooth hci0: firmware: direct-loading firmware brcm/BCM43142A0-0a5c-216d.hcd



Je ne sais pas utiliser correctement les deux sites dont tu me parles, désolé. sad
(je vais y jeter un œil dès que possible)

EDIT : A présent la connexion Wifi saute lorsque j'active le bluetooth...

Dernière modification par Grégory1899 (15-06-2023 10:39:55)

Hors ligne

#11 15-06-2023 10:38:46

--gilles--
Membre
Lieu : Orléans - La Source
Distrib. : Debian 12
Noyau : Linux 6.1.0-18-amd64
(G)UI : Gnome - mutter 43.8-0+deb12u1
Inscription : 15-02-2016

Re : Bluetooth - firmwares manquants ?

Je me pose une question :

Est-ce que la commande sous une session utilisateur :

# on récupère le fichier depuis github.com
wget -P /tmp https://raw.githubusercontent.com/winterheart/broadcom-bt-firmware/master/brcm/BCM43142A0-0a5c-216d.hcd



ne devrait pas plutôt être sous une session root :

# on récupère le fichier depuis github.com
wget -P /tmp https://raw.githubusercontent.com/winterheart/broadcom-bt-firmware/master/brcm/BCM43142A0-0a5c-216d.hcd




pour donner directement les droits root à BCM43142A0-0a5c-216d.hcd ?


Si tout le monde pense pareil, c'est qu'aucune personne ne pense beaucoup.
 Intel® Core™2 Duo E8500  × 2
4,0 Gio DDR3 - 1333 MHz
Et si vous cherchiez votre solution dans le wiki => https://debian-facile.org/accueil palestine.png

En ligne

#12 15-06-2023 10:40:42

èfpé
Membre
Inscription : 10-07-2016

Re : Bluetooth - firmwares manquants ?

Grégory1899 a écrit :

dmesg | grep -i bluetooth # Shows all Bluetooth driver info

[   17.701776] Bluetooth: Core ver 2.22
[   17.701807] ...
[   18.033203] Bluetooth: hci0: BCM: chip id 70
[   18.034201] Bluetooth: hci0: BCM: features 0x06
[   18.050235] Bluetooth: hci0: BCM43142A
[   18.050241] Bluetooth: hci0: BCM43142A0 (001.001.011) build 0000
[   18.152460] bluetooth hci0: firmware: direct-loading firmware brcm/BCM43142A0-0a5c-216d.hcd
[   18.152470] Bluetooth: hci0: BCM43142A0 'brcm/BCM43142A0-0a5c-216d.hcd' Patch
[   18.869349] Bluetooth: hci0: BCM: features 0x06
[   18.885279] Bluetooth: hci0: BCM43142A0 Generic USB Class 2 NonUHE @ 20 MHz
[   18.885293] Bluetooth: hci0: BCM43142A0 (001.001.011) build 0329
[   28.758948] ...
[   51.442616] Bluetooth: RFCOMM TTY layer initialized
[   51.442627] Bluetooth: RFCOMM socket layer initialized
[   51.442636] Bluetooth: RFCOMM ver 1.11


Apparemment tu as redémarré et le problème n'est plus présent. As-tu tenté un nouvel appairage ?

--gilles-- a écrit :

pour donner directement les droits root à BCM43142A0-0a5c-216d.hcd ?


Non, exécuter wget en root est une très mauvaise idée. Or la commande cp en root le fait très bien.

ls -lh /lib/firmware/brcm/BCM43142A0-0a5c-216d.hcd


Mais si ce firmware est effectivement foireux (cf. EDIT en #10), Grégory1899 va devoir le supprimer.

Dernière modification par èfpé (15-06-2023 10:54:42)

Hors ligne

#13 15-06-2023 11:10:25

Grégory1899
Membre
Lieu : Lille
Distrib. : Debian GNU/Linux 12.5 (bookworm)
Noyau : Linux 6.1.0-18-amd64
(G)UI : GNOME 43.9
Inscription : 20-10-2019

Re : Bluetooth - firmwares manquants ?

èfpé a écrit :


Apparemment tu as redémarré et le problème n'est plus présent. As-tu tenté un nouvel appairage ?

--gilles-- a écrit :

pour donner directement les droits root à BCM43142A0-0a5c-216d.hcd ?


Non, exécuter wget en root est une très mauvaise idée. Or la commande cp en root le fait très bien.

ls -lh /lib/firmware/brcm/BCM43142A0-0a5c-216d.hcd


Mais si ce firmware est effectivement foireux (cf. EDIT en #10), Grégory1899 va devoir le supprimer.


Oups, je me suis un peu précipité et ai refait la commande en root. Comment y remédier ?

L'appairage n'est toujours pas possible avec une enceinte par exemple (Non configuré)
Et la Wifi saute...

Hors ligne

#14 15-06-2023 11:36:42

èfpé
Membre
Inscription : 10-07-2016

Re : Bluetooth - firmwares manquants ?

Grégory1899 a écrit :

Oups, je me suis un peu précipité et ai refait la commande en root. Comment y remédier ?


Tu ne peux pas y remédier, c'est trop tard. Mais bon, tu n'as rien cassé. C'était surtout inapproprié.

# pour afficher les références du PC
dmesg | grep DMI:


# pour supprimer le firmware foireux
rm -v /lib/firmware/brcm/BCM43142A0-0a5c-216d.hcd


Les références de ta machine ont pour intérêt de permettre des recherches un peu plus sérieuses...

Dernière modification par èfpé (15-06-2023 12:26:42)

Hors ligne

#15 15-06-2023 12:31:18

Grégory1899
Membre
Lieu : Lille
Distrib. : Debian GNU/Linux 12.5 (bookworm)
Noyau : Linux 6.1.0-18-amd64
(G)UI : GNOME 43.9
Inscription : 20-10-2019

Re : Bluetooth - firmwares manquants ?

gregory@debian:~$ ls -lh /lib/firmware/brcm/BCM43142A0-0a5c-216d.hcd
-rw-r--r-- 1 root root 29K 15 juin  13:16 /lib/firmware/brcm/BCM43142A0-0a5c-216d.hcd



root@debian:~# dmesg | grep DMI:
[    0.000000] DMI: Hewlett-Packard HP Pavilion Notebook /809A, BIOS F.03 03/31/2015

Hors ligne

#16 15-06-2023 13:54:42

èfpé
Membre
Inscription : 10-07-2016

Re : Bluetooth - firmwares manquants ?

En #10, Grégory1899 a écrit :

EDIT : A présent la connexion wifi saute lorsque j'active le bluetooth...


Et je suppose que l'adaptateur Wi-Fi fonctionne grâce au pilote propriétaire ? au fait, que retourne :

lspci -nnkd ::0280


La solution a été fonctionnelle (exemple), mais rien n'était dit à propos de la cohabitation Wi-Fi/BT...

En #15, Grégory1899 a écrit :

dmesg | grep DMI:

[    0.000000] DMI: Hewlett-Packard HP Pavilion Notebook /809A, BIOS F.03 03/31/2015


Le Product Name 'HP Pavilion Notebook' est beaucoup trop générique ; que retourne la commande :

cat /sys/devices/virtual/dmi/id/product_sku


En principe les numéros de modèle et de produit devraient figurer sur la partie inférieure du châssis.

Dernière modification par èfpé (16-06-2023 22:14:42)

Hors ligne

#17 16-06-2023 08:34:00

Grégory1899
Membre
Lieu : Lille
Distrib. : Debian GNU/Linux 12.5 (bookworm)
Noyau : Linux 6.1.0-18-amd64
(G)UI : GNOME 43.9
Inscription : 20-10-2019

Re : Bluetooth - firmwares manquants ?

gregory@debian:~$ lspci -nnkd ::0280
08:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n [14e4:4365] (rev 01)
  DeviceName: Broadcom BCM43142 802.11 b/g/n 1x1Wi-Fi + BT4.0 M.2 Combo Adapter
  Subsystem: Hewlett-Packard Company BCM43142 802.11b/g/n [103c:804a]
  Kernel driver in use: wl
  Kernel modules: bcma, wl



gregory@debian:~$ cat /sys/devices/virtual/dmi/id/product_sku
N6C42EA#ABF

Hors ligne

#18 16-06-2023 13:14:42

èfpé
Membre
Inscription : 10-07-2016

Re : Bluetooth - firmwares manquants ?

Grégory1899 a écrit :

cat /sys/devices/virtual/dmi/id/product_sku

N6C42EA#ABF


HP Pavilion 17-g021nf, selon HP PartSurfer ; je n'ai pas trouvé de discussion spécifique à ce modèle.

La conversion du firmware fourni par Broadcom (2016), du format .hex vers le format .hcd, donne :

hex2hcd BCM43142A0_001.001.011.0311.0329.hex

Converting BCM43142A0_001.001.011.0311.0329.hex to BCM43142A0_001.001.011.0311.0329.hcd


md5sum BCM43142A0*.hcd

77666fbfa599aa153406b2201ce4feba  BCM43142A0_001.001.011.0311.0329.hcd
77666fbfa599aa153406b2201ce4feba  BCM43142A0-0a5c-216d.hcd


Le firmware obtenu est identique à celui provenant de GitHub ; il n'y a donc rien de mieux à espérer.

Dernière modification par èfpé (16-06-2023 21:14:42)

Hors ligne

Pied de page des forums