Driver Bluetooth não encontrado / funcionando para o driver Bluetooth AR3012

0

Estou executando o Ubuntu 16.04 LTS no meu laptop MSI GS70 2QD com o kernel 4.13.0-32-genérico.

O problema que estou tendo é que meu computador tem recursos de bluetooth, mas o kernel não é capaz de encontrar os drivers bluetooth.

Quando executo rfkill list , a saída é:

0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no

quando executo lsusb , a saída é:

Bus 002 Device 003: ID 1770:ff00  
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 004: ID 5986:055c Acer, Inc 
Bus 001 Device 003: ID 0cf3:3004 Atheros Communications, Inc. AR3012 Bluetooth 4.0
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 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

O lspci de saídas:

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5)
00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d5)
00:1c.4 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #5 (rev d5)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM87 Express LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
01:00.0 3D controller: NVIDIA Corporation GM204M [GeForce GTX 965M] (rev a1)
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5249 PCI Express Card Reader (rev 01)
04:00.0 Ethernet controller: Qualcomm Atheros Killer E220x Gigabit Ethernet Controller (rev 13)
05:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 20)

Eu li muitos artigos diferentes sobre esse problema exato com o driver AR3012, mas não consigo obter nenhuma das maneiras diferentes de trabalhar, então ou eu estou fazendo algo errado, ou eu não estou entendendo completamente o que eu deveria fazer.

Se houver mais alguma informação de que você precise para me ajudar, por favor me avise.

Editar:

Os resultados de dkms status são:

bbswitch, 0.8, 4.13.0-31-generic, x86_64: installed
bbswitch, 0.8, 4.13.0-32-generic, x86_64: installed
bbswitch, 0.8, 4.4.0-112-generic, x86_64: installed
bluetooth-3004, 0.1, 4.13.0-32-generic, x86_64: installed
nvidia-384, 384.111, 4.13.0-31-generic, x86_64: installed
nvidia-384, 384.111, 4.13.0-32-generic, x86_64: installed
nvidia-384, 384.111, 4.4.0-112-generic, x86_64: installed

E os resultados de dmesg | egrep -i 'blue|firm' são:

[    0.073749] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    1.023535] [Firmware Bug]: ACPI(PEGP) defines _DOD but not _DOS
[    1.578877] psmouse serio1: elantech: assuming hardware version 4 (with firmware version 0x361f03)
[    7.833099] Bluetooth: Core ver 2.22
[    7.833110] Bluetooth: HCI device and connection manager initialized
[    7.833112] Bluetooth: HCI socket layer initialized
[    7.833114] Bluetooth: L2CAP socket layer initialized
[    7.833120] Bluetooth: SCO socket layer initialized
[    8.123289] ath10k_pci 0000:05:00.0: firmware ver SW_RM.1.1.1-00157-QCARMSWPZ-1 api 5 features ignore-otp,no-4addr-pad crc32 10bf8e08
[   10.038096] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   10.038097] Bluetooth: BNEP filters: protocol multicast
[   10.038100] Bluetooth: BNEP socket layer initialized

Editar 2:

A saída para echo -e "power on\n scan on\n quit" |bluetoothctl é a seguinte:

[bluetooth]# power on
No default controller available
[bluetooth]#  scan on
No default controller available
[bluetooth]#  quit

Editar 3:

A saída para modinfo btusb | grep file é a seguinte:

filename:       /lib/modules/4.13.0-32-generic/updates/dkms/btusb.ko

Editar 4:

A saída para lsmod | grep blue é a seguinte:

bluetooth             544768  31 btrtl,btintel,bnep,btbcm,rfcomm,btusb
ecdh_generic           24576  1 bluetooth
    
por PsycoWalrus 02.02.2018 / 04:48

1 resposta

1

Esse problema foi causado por Atheros usando o mesmo ID para dois dispositivos Bluetooth diferentes, semelhante ao link Eu atualizei o código fonte do 4.13 para o seu dispositivo bluetooth, no terminal

sudo apt-get install git dkms build-essential
git clone https://github.com/jeremyb31/bluetooth-4.13-ath3004-rome.git
sudo dkms add ./bluetooth-4.13-ath3004-rome
sudo dkms install bluetooth-3004/0.1

Edite também echo "blacklist ath3k" | sudo tee -a /etc/modprobe.d/blacklist.conf Reinicie

    
por Jeremy31 02.02.2018 / 23:43