Bluetooth (Atheros AR3012 0CF3: 3004) não funciona no Ubuntu 16.04

1

Edit: Esta é uma nova instalação do sistema operacional.

Detalhes do hardware

Laptop

Lenovo Ideapad Z510

Kernel

Linux ip-z510 4.4.0-59-generic #80-Ubuntu SMP Fri Jan 6 17:47:47 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Bluetooth

Atheros Communications, Inc. AR3012 Bluetooth 4.0 (0cf3: 3004) (rev 00.02) [1]
Módulos de kernel em uso: bnep, btbcm, btrtl, btusb, rfcomm, bintintel [2]
Módulo do kernel esperado para uso: ath3k [3]

WLAN [4]

Adaptador de rede sem fio Qualcomm Atheros AR9485 [168c: 0032] (rev 01)
Subsistema: Adaptador de rede sem fio Lenovo AR9485 [17aa: 3218]
Driver de kernel em uso: ath9k
Módulos do kernel: ath9k, wl

Fontes

[1] usb-devices | awk '/3004/' RS= :

T:  Bus=03 Lev=01 Prnt=01 Port=06 Cnt=03 Dev#=  5 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0cf3 ProdID=3004 Rev=00.02
S:  Manufacturer=Atheros Communications
S:  Product=Bluetooth USB Host Controller
S:  SerialNumber=Alaska Day 2006
C:  #Ifs= 2 Cfg#= 1 Atr=e0 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

[2] Não sei como verificar qual driver está em uso. No entanto, lsmod | grep -i bluetooth produz:

bluetooth             520192  29 bnep,btbcm,btrtl,btusb,rfcomm,btintel

[3]

  • De acordo com o link , uma combinação desses arquivos deve ser usado, embora eu não esteja certo de qual deles se aplicaria ao meu caso:

    For AR3012, you can find the "AthrBT_0x01020200.dfu" and "ramps_0x01020200_26.dfu" or "ramps_0x01020200_40.dfu" on the linux-firmware git tree:
    git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/ar3k/
    
  • modinfo ath3k e modinfo ath3k | grep 3004 confirmam minha expectativa:

    filename:       /lib/modules/4.4.0-59-generic/kernel/drivers/bluetooth/ath3k.ko
    firmware:       ath3k-1.fw
    license:        GPL
    version:        1.0
    description:    Atheros AR30xx firmware driver
    author:         Atheros Communications
    alias:          usb:v0CF3p3004d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v04CAp3004d*dc*dsc*dp*ic*isc*ip*in*
    

[4] lspci -knn | grep Net -A2 :

09:00.0 Network controller [0280]: Qualcomm Atheros AR9485 Wireless Network Adapter [168c:0032] (rev 01)
    Subsystem: Lenovo AR9485 Wireless Network Adapter [17aa:3218]
    Kernel driver in use: ath9k
    Kernel modules: ath9k, wl

Notas / detalhes adicionais:

  • Carregando ath3k na inicialização via /etc/modules OU via sudo modprobe ath3k não faz a BT funcionar. dmesg | tail apenas relatórios:

    [   17.178240] usbcore: registered new interface driver ath3k
    
  • dmesg | grep -i blue :

    [    1.621634] usb 3-7: Product: Bluetooth USB Host Controller
    [   16.828268] Bluetooth: Core ver 2.21
    [   16.828279] Bluetooth: HCI device and connection manager initialized
    [   16.828282] Bluetooth: HCI socket layer initialized
    [   16.828284] Bluetooth: L2CAP socket layer initialized
    [   16.828288] Bluetooth: SCO socket layer initialized
    [   27.793692] usb 3-7: Product: Bluetooth USB Host Controller
    [   36.501132] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [   36.501134] Bluetooth: BNEP filters: protocol multicast
    [   36.501138] Bluetooth: BNEP socket layer initialized
    [   46.280055] Bluetooth: hci0 command 0x0c38 tx timeout
    [   48.284048] Bluetooth: hci0 command 0x0c39 tx timeout
    [   50.288051] Bluetooth: hci0 command 0x0c05 tx timeout
    [   50.739075] Bluetooth: RFCOMM TTY layer initialized
    [   50.739086] Bluetooth: RFCOMM socket layer initialized
    [   50.739090] Bluetooth: RFCOMM ver 1.11
    [   52.292034] Bluetooth: hci0 command 0x0c16 tx timeout
    
  • rfkill list; hciconfig hci0; systemctl status bluetooth.service

    0: ideapad_wlan: Wireless LAN
        Soft blocked: no
        Hard blocked: no
    1: ideapad_bluetooth: Bluetooth
        Soft blocked: no
        Hard blocked: no
    2: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
    3: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
    hci0:   Type: BR/EDR  Bus: USB
        BD Address: A4:DB:30:D1:E5:52  ACL MTU: 1022:8  SCO MTU: 183:5
        DOWN 
        RX bytes:904 acl:0 sco:0 events:38 errors:0
        TX bytes:392 acl:0 sco:0 commands:47 errors:9
    
    ● bluetooth.service - Bluetooth service
       Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
       Active: active (running) since Sat 2017-01-21 13:37:47 IST; 39min ago
         Docs: man:bluetoothd(8)
     Main PID: 896 (bluetoothd)
       Status: "Running"
       CGroup: /system.slice/bluetooth.service
               └─896 /usr/lib/bluetooth/bluetoothd
    
    Jan 21 13:38:01 ip-z510 bluetoothd[896]: Endpoint registered: sender=:1.53 path=/MediaEndpoint/A2DPSink
    Jan 21 13:38:04 ip-z510 bluetoothd[896]: Failed to set mode: Failed (0x03)
    Jan 21 13:38:14 ip-z510 bluetoothd[896]: Failed to set mode: Failed (0x03)
    Jan 21 13:42:55 ip-z510 bluetoothd[896]: Endpoint unregistered: sender=:1.53 path=/MediaEndpoint/A2DPSource
    Jan 21 13:42:55 ip-z510 bluetoothd[896]: Endpoint unregistered: sender=:1.53 path=/MediaEndpoint/A2DPSink
    Jan 21 13:43:08 ip-z510 bluetoothd[896]: Failed to set mode: Failed (0x03)
    Jan 21 13:43:10 ip-z510 bluetoothd[896]: Endpoint registered: sender=:1.100 path=/MediaEndpoint/A2DPSource
    Jan 21 13:43:10 ip-z510 bluetoothd[896]: Endpoint registered: sender=:1.100 path=/MediaEndpoint/A2DPSink
    Jan 21 13:43:21 ip-z510 bluetoothd[896]: Failed to set mode: Failed (0x03)
    Jan 21 13:46:32 ip-z510 bluetoothd[896]: Failed to set mode: Failed (0x03)
    

Comportamento

  • O ícone do bluetooth pode ou não ser carregado na bandeja no login.
  • O botão Bluetooth pode ou não funcionar.
  • Quando a alternância de bluetooth funciona, nada é encontrado em uma pesquisa. Tentei meu telefone e áudio bluetooth.

Perguntas similares

Bluetooth (Atheros AR3012) não funciona no Ubuntu 16.04 - sem resposta

Bluetooth não funciona no Ubuntu 16.04 com [0cf3: 3004] Adaptador Atheros - A solução do Pilot6 não funciona (tentei antes do sistema operacional limpo reinstalar ontem).

    
por RuppalSingh 21.01.2017 / 09:51

0 respostas