#1 Le 09/03/2021, à 13:04
- Saturnin51
[ Résolu] Le Bluetooth ne fonctionne pas en 20.04
Bonjour,
J'ai 2 matériels d'astronomie qui fonctionnent en Bluetooth, avec un module Bluetooth Arduino HC-05.
Je n'avais aucun problème d'utilisation en version 18.04.
En 20.04, l'appairage s'effectue mais pas la connexion.
Tout ce que j'ai trouvé sur le net comme solution concerne du matériel audio et n'est donc d'aucun secours.
J'ai tenté la connexion par un bind, qui a fonctionné un temps, mais ayant essayé ce week-end, cela n'a pas fonctionné. Je suppose que l'on exécute le bind après l'appairage.
Une idée SVP ?
Dernière modification par Saturnin51 (Le 11/03/2021, à 20:50)
Hors ligne
#2 Le 09/03/2021, à 13:30
- xubu1957
Re : [ Résolu] Le Bluetooth ne fonctionne pas en 20.04
Bonjour,
C'est une suite d'[ABANDONNE] Un problème de connexion par Bluetooth ?
Il faudrait fournir, en te servant du Retour utilisable de commande :
uname -a; lspci -nnk | grep -iA3 net; lsusb; dmesg | grep -i bluetooth; dmesg | grep -i firmware; lsmod | grep bluetooth
dpkg -l | grep blue
rfkill list all
et avec un terminal dont au préalable la fenêtre est élargie, afin de ne pas tronquer les lignes :
sudo service bluetooth status
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
En ligne
#3 Le 09/03/2021, à 18:07
- Saturnin51
Re : [ Résolu] Le Bluetooth ne fonctionne pas en 20.04
robert@robert-M11AD:~$ uname -a; lspci -nnk | grep -iA3 net; lsusb; dmesg | grep -i bluetooth; dmesg | grep -i firmware; lsmod | grep bluetooth
Linux robert-M11AD 5.4.0-66-generic #74-Ubuntu SMP Wed Jan 27 22:54:38 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
libkmod: ERROR ../libkmod/libkmod-config.c:656 kmod_config_parse: /etc/modprobe.d/alsa-base.conf line 35: ignoring bad line starting with '"options'
03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821AE 802.11ac PCIe Wireless Network Adapter [10ec:8821]
Subsystem: AzureWave RTL8821AE 802.11ac PCIe Wireless Network Adapter [1a3b:2161]
Kernel driver in use: rtl8821ae
Kernel modules: rtl8821ae
04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0c)
Subsystem: ASUSTeK Computer Inc. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1043:8554]
Kernel driver in use: r8169
Kernel modules: r8169
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 007: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader
Bus 003 Device 005: ID 13d3:3414 IMC Networks Bluetooth Radio
Bus 003 Device 009: ID 04ca:0020 Lite-On Technology Corp. USB2.0 Hub
Bus 003 Device 008: ID 046d:c016 Logitech, Inc. Optical Wheel Mouse
Bus 003 Device 006: ID 1908:2310 GEMBIRD External HDD
Bus 003 Device 004: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub
Bus 003 Device 003: ID 1058:0910 Western Digital Technologies, Inc. My Book Essential Edition (Green Ring) (WDG1U)
Bus 003 Device 002: ID 2013:0245 PCTV Systems PCTV 73ESE
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[ 1.753552] usb 3-5: Product: Bluetooth Radio
[ 5.554770] Bluetooth: Core ver 2.22
[ 5.554784] Bluetooth: HCI device and connection manager initialized
[ 5.554787] Bluetooth: HCI socket layer initialized
[ 5.554788] Bluetooth: L2CAP socket layer initialized
[ 5.554790] Bluetooth: SCO socket layer initialized
[ 5.653103] Bluetooth: hci0: RTL: examining hci_ver=06 hci_rev=000a lmp_ver=06 lmp_subver=8821
[ 5.656249] Bluetooth: hci0: RTL: rom_version status=0 version=1
[ 5.656251] Bluetooth: hci0: RTL: loading rtl_bt/rtl8821a_fw.bin
[ 5.656813] Bluetooth: hci0: RTL: loading rtl_bt/rtl8821a_config.bin
[ 5.656829] bluetooth hci0: Direct firmware load for rtl_bt/rtl8821a_config.bin failed with error -2
[ 5.656835] Bluetooth: hci0: RTL: cfg_sz -2, total sz 17428
[ 6.011765] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 6.011766] Bluetooth: BNEP filters: protocol multicast
[ 6.011769] Bluetooth: BNEP socket layer initialized
[ 6.450452] Bluetooth: hci0: RTL: fw version 0x0e2fa041
[ 9.480240] Bluetooth: RFCOMM TTY layer initialized
[ 9.480247] Bluetooth: RFCOMM socket layer initialized
[ 9.480251] Bluetooth: RFCOMM ver 1.11
[ 0.100500] Spectre V2 : Enabling Restricted Speculation for firmware calls
[ 0.123296] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[ 4.703875] rtl8821ae: Using firmware rtlwifi/rtl8821aefw_29.bin
[ 4.703879] rtl8821ae: Using firmware rtlwifi/rtl8821aefw_wowlan.bin
[ 5.656829] bluetooth hci0: Direct firmware load for rtl_bt/rtl8821a_config.bin failed with error -2
[ 5.733040] dvb-usb: found a 'Pinnacle PCTV 73e SE' in cold state, will try to load a firmware
[ 5.734532] dvb-usb: downloading firmware from file 'dvb-usb-dib0700-1.20.fw'
[ 6.102863] dib0700: firmware started successfully.
bluetooth 548864 41 btrtl,btintel,btbcm,bnep,btusb,rfcomm
ecdh_generic 16384 2 bluetooth
robert@robert-M11AD:~$
robert@robert-M11AD:~$ dpkg -l | grep blue
ii blueman 2.1.2-1ubuntu0.2 amd64 Graphical bluetooth manager
ii bluetooth 5.53-0ubuntu3 all Bluetooth support
ii bluez 5.53-0ubuntu3 amd64 Bluetooth tools and daemons
ii bluez-btsco 1:0.50-0ubuntu7 amd64 Bluez Bluetooth SCO tool
ii bluez-cups 5.53-0ubuntu3 amd64 Bluetooth printer driver for CUPS
ii bluez-dbg 5.53-0ubuntu3 amd64 Bluetooth tools and daemons (with debugging symbols)
ii bluez-hcidump 5.53-0ubuntu3 amd64 Analyses Bluetooth HCI packets
ii bluez-obexd 5.53-0ubuntu3 amd64 bluez obex daemon
ii bluez-tests 5.53-0ubuntu3 amd64 BlueZ test tools and scripts
ii bluez-tools 2.0~20170911.0.7cb788c-2build1 amd64 Set of tools to manage Bluetooth devices for linux
ii gir1.2-gnomebluetooth-1.0:amd64 3.34.3-0ubuntu1 amd64 Introspection data for GnomeBluetooth
ii gnome-bluetooth 3.34.3-0ubuntu1 amd64 GNOME Bluetooth tools
ii gnome-shell-extension-bluetooth-quick-connect 10-3 all GNOME Shell extension to connect paired Bluetooth devices
ii indicator-bluetooth 0.0.6+17.10.20170605-0ubuntu3 amd64 System bluetooth indicator.
ii libbluetooth3:amd64 5.53-0ubuntu3 amd64 Library to use the BlueZ Linux Bluetooth stack
ii libbluetooth3-dbg 5.53-0ubuntu3 amd64 Library to use the BlueZ Linux Bluetooth stack with debugging symbols
ii libgnome-bluetooth13:amd64 3.34.3-0ubuntu1 amd64 GNOME Bluetooth tools - support library
ii libkf5bluezqt-data 5.68.0-0ubuntu1 all data files for bluez-qt
ii libkf5bluezqt6:amd64 5.68.0-0ubuntu1 amd64 Qt wrapper for bluez
ii pulseaudio-module-bluetooth 1:13.99.1-1ubuntu3.10 amd64 Bluetooth module for PulseAudio sound server
ii qml-module-org-kde-bluezqt:amd64 5.68.0-0ubuntu1 amd64 QML wrapper for bluez
robert@robert-M11AD:~$
robert@robert-M11AD:~$ rfkill list all
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
robert@robert-M11AD:~$
robert@robert-M11AD:~$ sudo service bluetooth status
[sudo] Mot de passe de robert :
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2021-03-09 17:27:46 CET; 38min ago
Docs: man:bluetoothd(8)
Main PID: 1234 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 9366)
Memory: 2.4M
CGroup: /system.slice/bluetooth.service
└─1234 /usr/lib/bluetooth/bluetoothd
mars 09 17:27:45 robert-M11AD systemd[1]: Starting Bluetooth service...
mars 09 17:27:45 robert-M11AD bluetoothd[1234]: Bluetooth daemon 5.53
mars 09 17:27:46 robert-M11AD systemd[1]: Started Bluetooth service.
mars 09 17:27:46 robert-M11AD bluetoothd[1234]: Starting SDP server
mars 09 17:27:46 robert-M11AD bluetoothd[1234]: Bluetooth management interface 1.14 initialized
mars 09 17:27:49 robert-M11AD bluetoothd[1234]: Endpoint registered: sender=:1.45 path=/MediaEndpoint/A2DPSink/sbc
mars 09 17:27:49 robert-M11AD bluetoothd[1234]: Endpoint registered: sender=:1.45 path=/MediaEndpoint/A2DPSource/sbc
robert@robert-M11AD:~$
Hors ligne
#4 Le 09/03/2021, à 18:19
- xubu1957
Re : [ Résolu] Le Bluetooth ne fonctionne pas en 20.04
Je lis dans >
unix.stackexchange.com/questions/449212/bluetooth-firmware-rtl8821a-fw-bin-fails-to-load-in-debian
Realtek ne fournit pas la configuration pour "rtl8821a_config", vous pouvez faire un lien symbolique avec rtl8723d_config.
Il faudrait d'autres intervenants.
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
En ligne
#5 Le 11/03/2021, à 12:06
- Saturnin51
Re : [ Résolu] Le Bluetooth ne fonctionne pas en 20.04
En fait aucun matériel Bluetooth ne fonctionne en 20.04 ! Personne d'autre n'a ce problème ?
Hors ligne
#6 Le 11/03/2021, à 20:50
- Saturnin51
Re : [ Résolu] Le Bluetooth ne fonctionne pas en 20.04
Après avoir relu les différents posts, il s'avère qu'il faut simplement désactiver le Secure Boot du Bios du PC pour que le Bluetooth soit fonctionnel !!!!!
Hors ligne