web-dev-qa-db-fra.com

Qualcomm Atheros Bluetooth 4.0 ne fonctionne pas sur Ubuntu 16.04

Ordinateur portable Acer Aspire E15 (numéro de modèle E5-573-54ZV ) avec adaptateur Windows 10 et Bluetooth 4.0 prêt à l'emploi. Sous Windows, je peux utiliser l'adaptateur Bluetooth.

J'ai installé Ubuntu 16.04 en dual boot. Lors de l'utilisation d'Ubuntu, l'adaptateur Bluetooth est le seul élément matériel qui ne fonctionne pas.

J'ai déjà essayé d'autres questions et réponses ici chez Ask Ubuntu, mais toutes font référence à différentes versions d'Ubuntu et/ou à différents adaptateurs Bluetooth. Pour moi, il semble que Linux ne voie même pas l'adaptateur Bluetooth de mon ordinateur portable.

Un rapport créé à l'aide de AIDA64 pour Windows indique:

04CA 3014   Qualcomm Atheros Bluetooth 4.0

Est-il possible de faire fonctionner cet adaptateur Bluetooth sur Ubuntu 16.04?

Je ne sais pas si cela aidera, mais mon ordinateur portable dispose également d'un adaptateur Wi-Fi Atheros, que le rapport AIDA affiche sous la forme Atheros AR9565 802.11b/g/n Wireless Network Adapter, un périphérique PCI avec l'ID 168C-0036.

EDIT: Comme demandé dans les commentaires, voici quelques informations supplémentaires:

$ lspci -knn | grep Net -A2; lsusb
03:00.0 Network controller [0280]: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter [168c:0036] (rev 01)
    Subsystem: Lite-On Communications Inc QCA9565 / AR9565 Wireless Network Adapter [11ad:0803]
    Kernel driver in use: ath9k
    Kernel modules: ath9k
Bus 001 Device 002: ID 8087:8001 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 002 Device 004: ID 1bcf:2c81 Sunplus Innovation Technology Inc. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

$ uname -a
Linux viny-notebook 4.4.0-24-generic #43-Ubuntu SMP Wed Jun 8 19:27:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
vinicius@viny-notebook:~$

EDIT: un de mes amis m'a suggéré de courir:

$ dmesg | grep -i bluetooth
[   20.905534] Bluetooth: Core ver 2.21
[   20.905548] Bluetooth: HCI device and connection manager initialized
[   20.905551] Bluetooth: HCI socket layer initialized
[   20.905553] Bluetooth: L2CAP socket layer initialized
[   20.905557] Bluetooth: SCO socket layer initialized
[   21.477624] Bluetooth: Can't change to loading configuration err
[   21.477654] Bluetooth: Loading patch file failed
[  124.347977] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[  124.347980] Bluetooth: BNEP filters: protocol multicast
[  124.347985] Bluetooth: BNEP socket layer initialized

Après avoir résolu ce problème pendant un certain temps, j'ai trouvé cette solution:

J'ai installé linux-generic-hwe-16.04 pour obtenir un noyau plus récent, car 04ca:3014 a été ajouté dans la version 4.6.

Ensuite, j'ai remarqué que ID 04ca:3014 Lite-On Technology Corp. était en cours de déconnexion après le chargement de Acer_wmi, alors je l'ai mis sur liste noire:

/etc/modprobe.d/btconfig.conf:

blacklist Acer_wmi

(De plus, j’ai jugé préférable d’ajouter btcoex_enable=1 et bt_ant_diversity=1 à ath9k dans le même fichier: options ath9k btcoex_enable=1 bt_ant_diversity=1.) ¹⁾

Ensuite, j'ai lancé update-initramfs -c -k all, j'ai redémarré le système et voi-là , l'adaptateur est opérationnel.

⁽¹⁾ https://wireless.wiki.kernel.org/en/users/Drivers/ath9k

1
André von Kugland

Compte tenu du temps (en heures de travail) que j'ai passé à essayer de faire fonctionner mon adaptateur Bluetooth intégré sous Linux, j'ai décidé qu'il serait moins cher et plus rapide d'acheter un adaptateur USB qui fonctionne réellement sous Linux. Je suis donc rentré chez moi avec mon ordinateur portable, j'ai testé un adaptateur USB et je l'ai acheté. C'est vraiment petit et pas cher, il m'a coûté R $ 30,00 (quelque chose entre 9 $ et 10 $, selon les taux de change d'aujourd'hui). Il est capable de transférer des fichiers et de jouer de la musique. Son emballage dit Babbage Bluetooth version 3.0 BM-BT01, il a été fabriqué en Chine. Sur lsusb, il s’agit de Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode):

# lsusb

Bus 003 Device 002: ID 8087:8001 Intel Corp. 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 003: ID 1bcf:2c81 Sunplus Innovation Technology Inc. 
Bus 001 Device 011: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

# usb-devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh=11
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev=04.11
S:  Manufacturer=Linux 4.11.4-1.gcba98ee-default xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=0000:00:14.0
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 11 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=16 #Cfgs=  1
P:  Vendor=0a12 ProdID=0001 Rev=01.34
C:  #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
I:  If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb

T:  Bus=01 Lev=01 Prnt=01 Port=06 Cnt=02 Dev#=  3 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1bcf ProdID=2c81 Rev=00.05
S:  Manufacturer=NC2141103M50708908LM05
S:  Product=HD WebCam
C:  #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=0e(video) Sub=01 Prot=00 Driver=uvcvideo
I:  If#= 1 Alt= 0 #EPs= 0 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo

T:  Bus=01 Lev=01 Prnt=01 Port=07 Cnt=03 Dev#=  4 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs=  1
P:  Vendor=0bda ProdID=0129 Rev=39.60
S:  Manufacturer=Generic
S:  Product=USB2.0-CRW
S:  SerialNumber=20100201396000000
C:  #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=06 Prot=50 Driver=rtsx_usb

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=5000 MxCh= 4
D:  Ver= 3.00 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=1d6b ProdID=0003 Rev=04.11
S:  Manufacturer=Linux 4.11.4-1.gcba98ee-default xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=0000:00:14.0
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 2
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev=04.11
S:  Manufacturer=Linux 4.11.4-1.gcba98ee-default ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=0000:00:1d.0
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480 MxCh= 8
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=8087 ProdID=8001 Rev=00.03
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

Cela ne fonctionne pas parfaitement comme je le pense. Le couplage fonctionne par essais et erreurs, mais une fois les périphériques associés, ils fonctionnent comme prévu. Au moins, j’ai maintenant un adaptateur Bluetooth qui fonctionne sous Linux.

En tout cas, je suis reconnaissant pour le temps que vous avez passé à essayer de m'aider et à me donner des directives. Je vous remercie!