#1 Le 03/02/2019, à 19:12
- radikal_loulou
Bluetooth atheros capricieux sur ubuntu 18.04[Résolu]
Bonjour,
voilà plusieurs jours que je me bats avec la configuration bluetooth. Un coup ça marche, un coup pas, ou alors il se déconnecte en cours d'utilisation
J'ai lu que mon matériel ( atheros qqc ) pouvait poser problème avec ma version de kernel, du coup je suis passé à la version 4.16.9
J'ai aussi ajouté "blacklist ath3k" dans un fichier /etc/modprobe.d/ath3k.conf pour que le ath3k ne soit pas chargé tout de suite, mais plus tard, dans le fichier /etc/rc.local/
Je suis obligé d'éteindre les drivers ath3k et btusb pour les relancer afin que mon adaptateur bluetooth interne soit détecté.
Mais même une fois activé, il n'est appariable q'une fois sur deux, et coupe la connexion avec l'enceinte bluetooth au bout de quelques minutes.
J'utilise bluedevil ET blueman, car il n'y a qu'en bricolant entre les deux que j'arrive à quelque chose, mais je ne sais pas si cela provoque un conflit.
Bref, sos aux experts, je n'y arriverai pas tout seul
Merci d'avance pour vos conseils judicieux
Dernière modification par radikal_loulou (Le 14/02/2019, à 15:49)
Hors ligne
#2 Le 03/02/2019, à 19:20
- xubu1957
Re : Bluetooth atheros capricieux sur ubuntu 18.04[Résolu]
Bonjour,
Il faut 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
sudo service bluetooth status
dpkg -l | grep blue
et :
rfkill list all
Astuce pour copier / coller sans erreur :
triple clic gauche pour sélectionner et copier une ligne entière
clic molette pour coller dans le terminal
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
Hors ligne
#3 Le 03/02/2019, à 19:27
- radikal_loulou
Re : Bluetooth atheros capricieux sur ubuntu 18.04[Résolu]
radikal_loulou@radikal-loulou:~$ uname -a; lspci -nnk | grep -iA3 net; lsusb; dmesg | grep -i bluetooth; dmesg | grep -i firmware; lsmod | grep bluetooth
Linux radikal-loulou 4.16.9-041609-generic #201806041905 SMP Mon Jun 4 23:08:14 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 09)
Subsystem: Samsung Electronics Co Ltd RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [144d:c0d8]
Kernel driver in use: r8169
Kernel modules: r8169
03:00.0 Network controller [0280]: Qualcomm Atheros AR9485 Wireless Network Adapter [168c:0032] (rev 01)
Subsystem: Samsung Electronics Co Ltd AR9485 Wireless Network Adapter [144d:4105]
Kernel driver in use: ath9k
Kernel modules: ath9k
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 0c45:c35a Microdia
Bus 001 Device 006: ID 0cf3:3004 Atheros Communications, Inc. AR3012 Bluetooth 4.0
Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
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 002: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[ 3.686320] usb 1-1.2: Product: Bluetooth USB Host Controller
[ 27.766013] Bluetooth: Core ver 2.22
[ 27.766033] Bluetooth: HCI device and connection manager initialized
[ 27.766037] Bluetooth: HCI socket layer initialized
[ 27.766039] Bluetooth: L2CAP socket layer initialized
[ 27.766043] Bluetooth: SCO socket layer initialized
[ 43.388590] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 43.388597] Bluetooth: BNEP filters: protocol multicast
[ 43.388607] Bluetooth: BNEP socket layer initialized
[ 285.944039] Bluetooth: hci0: command 0x0c52 tx timeout
[ 287.959503] Bluetooth: hci0: command 0x0c45 tx timeout
[ 289.975053] Bluetooth: hci0: command 0x0c58 tx timeout
[ 291.990679] Bluetooth: hci0: command 0x1004 tx timeout
[ 325.491430] Bluetooth: hci0: command 0x0c52 tx timeout
[ 327.507299] Bluetooth: hci0: command 0x0c45 tx timeout
[ 329.523174] Bluetooth: hci0: command 0x0c58 tx timeout
[ 331.539079] Bluetooth: hci0: command 0x1004 tx timeout
[ 512.694629] Bluetooth: RFCOMM TTY layer initialized
[ 512.694634] Bluetooth: RFCOMM socket layer initialized
[ 512.694641] Bluetooth: RFCOMM ver 1.11
[ 514.822211] Bluetooth: hci0: command 0x0c1a tx timeout
[ 516.838115] Bluetooth: hci0: command 0x0c52 tx timeout
[ 518.854116] Bluetooth: hci0: command 0x0c24 tx timeout
[ 520.869999] Bluetooth: hci0: command 0x0c52 tx timeout
[ 610.825323] bluetoothd[1212]: segfault at 0 ip 00005572cc254576 sp 00007ffe1ce71470 error 4 in bluetoothd[5572cc1eb000+f3000]
[ 636.651290] Bluetooth: hci0: urb 00000000ff162a71 failed to resubmit (2)
[ 657.088695] Bluetooth: hci0: command 0x2002 tx timeout
[ 659.104594] Bluetooth: hci0: command 0x2003 tx timeout
[ 661.120444] Bluetooth: hci0: command 0x201c tx timeout
[ 663.136344] Bluetooth: hci0: command 0x1002 tx timeout
[ 665.152267] Bluetooth: hci0: command tx timeout
[ 701.278567] Bluetooth: hci0: command 0x0c52 tx timeout
[ 898.767210] bluetoothd[5473]: segfault at 0 ip 0000556a667fb576 sp 00007ffdca081530 error 4 in bluetoothd[556a66792000+f3000]
[ 915.283595] usb 1-1.2: Product: Bluetooth USB Host Controller
[ 928.264570] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 3169.308274] Bluetooth: hci0: command 0x0c25 tx timeout
[ 3171.324218] Bluetooth: hci0: command 0x0c38 tx timeout
[ 3173.340131] Bluetooth: hci0: command 0x0c39 tx timeout
[ 3175.356087] Bluetooth: hci0: command 0x0c05 tx timeout
[ 3177.372029] Bluetooth: hci0: command 0x0c16 tx timeout
[ 6819.153264] Bluetooth: hci0: urb 000000001a5f8ad9 failed to resubmit (113)
[ 0.029009] Spectre V2 : Enabling Restricted Speculation for firmware calls
[ 2.588146] [Firmware Bug]: battery: (dis)charge rate invalid.
[ 3.818124] [Firmware Bug]: ACPI(PEGP) defines _DOD but not _DOS
bluetooth 544768 44 btrtl,btintel,bnep,btbcm,rfcomm,ath3k,btusb
ecdh_generic 24576 1 bluetooth
radikal_loulou@radikal-loulou:~$
radikal_loulou@radikal-loulou:~$ sudo service bluetooth status
[sudo] Mot de passe de radikal_loulou :
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2019-02-03 17:19:31 CET; 2h 6min ago
Docs: man:bluetoothd(8)
Main PID: 5641 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 4915)
CGroup: /system.slice/bluetooth.service
└─5641 /usr/lib/bluetooth/bluetoothd
févr. 03 17:57:18 radikal-loulou bluetoothd[5641]: Unable to get Headset Voice gateway SDP record: Software caused connection abort
févr. 03 17:57:30 radikal-loulou bluetoothd[5641]: Failed to set mode: Failed (0x03)
févr. 03 17:57:40 radikal-loulou bluetoothd[5641]: Failed to set mode: Failed (0x03)
févr. 03 17:57:50 radikal-loulou bluetoothd[5641]: Failed to set mode: Failed (0x03)
févr. 03 17:58:00 radikal-loulou bluetoothd[5641]: Failed to set mode: Failed (0x03)
févr. 03 17:58:10 radikal-loulou bluetoothd[5641]: Failed to set mode: Failed (0x03)
févr. 03 17:58:21 radikal-loulou bluetoothd[5641]: Failed to set mode: Failed (0x03)
févr. 03 17:58:31 radikal-loulou bluetoothd[5641]: Failed to set mode: Failed (0x03)
févr. 03 17:58:41 radikal-loulou bluetoothd[5641]: Failed to set mode: Failed (0x03)
févr. 03 18:58:19 radikal-loulou bluetoothd[5641]: Failed to set mode: Failed (0x03)
radikal_loulou@radikal-loulou:~$
radikal_loulou@radikal-loulou:~$ dpkg -l | grep blue
ii bluedevil 4:5.12.7-0ubuntu0.1 amd64 KDE Bluetooth stack
rc blueman 2.0.5-1ubuntu1 amd64 Graphical bluetooth manager
ii bluetooth 5.48-0ubuntu3.1 all Bluetooth support
ii bluez 5.48-0ubuntu3.1 amd64 Bluetooth tools and daemons
ii bluez-cups 5.48-0ubuntu3.1 amd64 Bluetooth printer driver for CUPS
ii bluez-obexd 5.48-0ubuntu3.1 amd64 bluez obex daemon
ii bluez-tools 0.2.0~20140808-5build1 amd64 Set of tools to manage Bluetooth devices for linux
ii libbluetooth3:amd64 5.48-0ubuntu3.1 amd64 Library to use the BlueZ Linux Bluetooth stack
ii libkf5bluezqt-data 5.44.0-0ubuntu1 all data files for bluez-qt
ii libkf5bluezqt6:amd64 5.44.0-0ubuntu1 amd64 Qt wrapper for bluez
ii pulseaudio-module-bluetooth 1:11.1-1ubuntu7.1 amd64 Bluetooth module for PulseAudio sound server
ii qml-module-org-kde-bluezqt:amd64 5.44.0-0ubuntu1 amd64 QML wrapper for bluez
radikal_loulou@radikal-loulou:~$
radikal_loulou@radikal-loulou:~$ rfkill list all
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: samsung-wlan: Wireless LAN
Soft blocked: no
Hard blocked: no
2: samsung-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
9: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
radikal_loulou@radikal-loulou:~$
Hors ligne
#4 Le 03/02/2019, à 19:44
- xubu1957
Re : Bluetooth atheros capricieux sur ubuntu 18.04[Résolu]
657.088695] Bluetooth: hci0: command 0x2002 tx timeout
[ 659.104594] Bluetooth: hci0: command 0x2003 tx timeout
[ 661.120444] Bluetooth: hci0: command 0x201c tx timeout
[ 663.136344] Bluetooth: hci0: command 0x1002 tx timeout
[ 665.152267] Bluetooth: hci0: command tx timeout
[ 701.278567] Bluetooth: hci0: command 0x0c52 tx timeout
[ 3169.308274] Bluetooth: hci0: command 0x0c25 tx timeout
[ 3171.324218] Bluetooth: hci0: command 0x0c38 tx timeout
[ 3173.340131] Bluetooth: hci0: command 0x0c39 tx timeout
[ 3175.356087] Bluetooth: hci0: command 0x0c05 tx timeout
[ 3177.372029] Bluetooth: hci0: command 0x0c16 tx timeout
Je vois avec des retours similaires, ce bug > bugs.launchpad.net/ubuntu/+source/linux/+bug/1617619 pour une carte Qualcomm Atheros AR9485 Wireless
[ 928.264570] Bluetooth: hci0: last event is not cmd complete (0x0f)
Bugs remontés :
> bugs.launchpad.net/ubuntu/+source/linux/+bug/1788383
> bugs.launchpad.net/ubuntu/+source/linux/+bug/1748565
Il faut attendre des corrections dans les futurs noyaux.
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
Hors ligne
#5 Le 03/02/2019, à 19:55
- radikal_loulou
Re : Bluetooth atheros capricieux sur ubuntu 18.04[Résolu]
Oui je soupçonnait une embrouille pareille.
Du coup, est-ce que ça vaut le coup de tenter d'upgrader le kernel avec UKUU ( je vois le plus récent v4.20.6 ) ?
Ou alors acheter un adaptateur bluetooth externe sur port usb ??
Hors ligne
#6 Le 03/02/2019, à 20:00
- xubu1957
Re : Bluetooth atheros capricieux sur ubuntu 18.04[Résolu]
Il semble que le "correctif" pour arrêter le message d'erreur apparaissant se trouve dans le noyau principal 5.0 (AKA version 4.21).
Il faudrait passer sur un noyau 5 !
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
Hors ligne
#7 Le 14/02/2019, à 15:47
- radikal_loulou
Re : Bluetooth atheros capricieux sur ubuntu 18.04[Résolu]
Oui ça fonctionne, après un passage sur noyau 5, et nettoyage des fichiers de config susmentionnés.
Merci beaucoup
Hors ligne
#8 Le 14/02/2019, à 15:49
- xubu1957
Re : Bluetooth atheros capricieux sur ubuntu 18.04[Résolu]
Bonjour,
Pour éditer ta discussion et rajouter [Résolu] au début du titre, il faut utiliser le bouton Modifier au bas de ton premier message.
Merci
Dernière modification par xubu1957 (Le 14/02/2019, à 15:50)
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
Hors ligne