bluetooth não está funcionando no 14.04 com BCM43142

2

Eu possuo um Acer Aspire E5-551G. Wi-fi funciona bem, mas o Bluetooth não está funcionando ?. Eu já tentei vários métodos para resolver este problema, mas nada funcionou para mim. Aqui estão alguns resultados que foram exigidos por várias abordagens para resolver o meu problema.

lspci -nnk | grep -i net -A2 output:

02:00.1 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 12)
    Subsystem: Acer Incorporated [ALI] Device [1025:0864]
    Kernel driver in use: r8169
03:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01)
    Subsystem: Lite-On Communications Inc Device [11ad:6645]
    Kernel driver in use: wl

dmesg | grep Bluetooth output:

[    5.715887] Bluetooth: Core ver 2.19
[    5.715922] Bluetooth: HCI device and connection manager initialized
[    5.715939] Bluetooth: HCI socket layer initialized
[    5.715943] Bluetooth: L2CAP socket layer initialized
[    5.715953] Bluetooth: SCO socket layer initialized
[    5.739898] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    5.739905] Bluetooth: BNEP filters: protocol multicast
[    5.739920] Bluetooth: BNEP socket layer initialized
[    5.742818] Bluetooth: RFCOMM TTY layer initialized
[    5.742832] Bluetooth: RFCOMM socket layer initialized
[    5.742839] Bluetooth: RFCOMM ver 1.11

lsusb output:

Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub  
Bus 006 Device 002: ID 06cb:2970 Synaptics, Inc.  
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub  
Bus 003 Device 002: ID 064e:9400 Suyin Corp.  
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub  
Bus 005 Device 002: ID 04ca:2009 Lite-On Technology Corp.  
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub  
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

dmesg | grep -i firmware output:

[    0.027661] [Firmware Bug]: cpu 0, invalid threshold interrupt offset 0 for bank 4, block 1 (MSRC0000408=0xc010000001000000)
[    0.274267] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[    0.311582] [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness
[    0.311761] [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness
[    0.312032] [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness
[    0.347546] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge
[    1.440137] [Firmware Bug]: cpu 1, try to use APIC500 (LVT offset 0) for vector 0x10400, but the register is already in use for vector 0xf9 on another cpu
[    1.440147] [Firmware Bug]: cpu 1, IBS interrupt offset 0 not available (MSRC001103A=0x0000000000000100)
[    4.752496] [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness
[    4.752510] [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness

rfkill list all output:

0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
1: brcmwl-0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
2: acer-wireless: Wireless LAN
    Soft blocked: no
    Hard blocked: no
3: acer-bluetooth: Bluetooth
    Soft blocked: no
    Hard blocked: no

uname -a output:

Linux aw3sem 3.16.1-031601-genérico # 201408140014 SMP qui Aug 14 04:15:26 UTC 2014 x86_64 x86_64 x86_64 GNU / Linux

originalmente eu corri 3,13-um pouco, mas meu touchpad não funcionou com isso

dmesg | tail output:

[   23.457018] ACPI Error: Method parse/execution failed [\_SB_.PCI0.VGA_.ATIF] (Node ffff8802270647d0), AE_AML_INFINITE_LOOP (20140926/psparse-536)
[   24.012169] init: plymouth-upstart-bridge main process ended, respawning
[   24.020719] init: plymouth-upstart-bridge main process (1339) terminated with status 1
[   24.020738] init: plymouth-upstart-bridge main process ended, respawning
[   39.793272] acer_wmi: Unknown function number - 4 - 0
[  172.269389] systemd-hostnamed[2636]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname!
[  602.510658] usbcore: registered new interface driver btusb
[  602.526817] bluetooth hci0: Direct firmware load for brcm/BCM43142A0-04ca-2009.hcd failed with error -2
[  602.526827] bluetooth hci0: Falling back to user helper
[  602.528926] Bluetooth: hci0: BCM: patch brcm/BCM43142A0-04ca-2009.hcd not found

Após a reinicialização, o Bluetooth não funcionou mais. Descobri que precisava adicionar btusb a /etc/modules . Mas quando eu reinicio agora eu tenho um entradas Bluetooth no meu Painel de Controle do Gnome (essa coisa no canto superior direito), que não vai funcionar e só vai me redirecionar para minhas configurações de rede. Depois de ativar o Bluetooth nas minhas configurações, aparece uma segunda entrada Bluetooth que funciona.

    
por Awesem 22.03.2015 / 15:42

1 resposta

1

Você precisa fazer o seguinte para que o bluetooth funcione

wget https://www.dropbox.com/s/ww44vxop2my7ka5/bluetooth-3.18.tar.gz
sudo apt-get install build-essential linux-headers-generic
tar -zxf bluetooth-3.18.tar.gz
cd bluetooth-3.18
cp /boot/config-$(uname -r) .config
cp /usr/src/linux-headers-$(uname -r)/Module.symvers Module.symvers
make -C /lib/modules/$(uname -r)/build M=$PWD modules
sudo modprobe -r btusb
sudo cp btusb.ko /lib/modules/$(uname -r)/kernel/drivers/bluetooth/
sudo modprobe btusb

Em seguida, adicione dmesg | tail à sua pergunta para que eu possa ver o que espera que o firmware seja chamado

Edite para adicionar firmware

wget https://www.dropbox.com/s/b5h77huafgymnp8/fw-04ca_2009.hcd
sudo cp fw-04ca_2009.hcd /lib/firmware/brcm/BCM43142A0-04ca-2009.hcd
sudo modprobe -r btusb
sudo modprobe btusb

E o seu bluetooth deve funcionar

Se você fizer atualizações e perceber que o bluetooth não funciona mais

cd bluetooth-3.18
make -C /lib/modules/$(uname -r)/build M=$PWD clean
cp /usr/src/linux-headers-$(uname -r)/Module.symvers Module.symvers
cp /boot/config-$(uname -r) .config
make -C /lib/modules/$(uname -r)/build M=$PWD modules
sudo modprobe -r btusb
sudo cp btusb.ko /lib/modules/$(uname -r)/kernel/drivers/bluetooth/
sudo modprobe btusb

Eventualmente, você terá uma atualização do kernel que contém a correção

EDIT: Para o kernel 3.16.1 use o seguinte

wget https://www.dropbox.com/s/vth1rjnjsamnqoi/bluetooth-3.16.1.tar.gz
tar -zxf bluetooth-3.16.1.tar.gz
cd bluetooth
cp /boot/config-$(uname -r) .config
cp /usr/src/linux-headers-$(uname -r)/Module.symvers Module.symvers
make -C /lib/modules/$(uname -r)/build M=$PWD modules
sudo modprobe -r btusb
sudo cp btusb.ko /lib/modules/$(uname -r)/kernel/drivers/bluetooth/
sudo modprobe btusb
    
por Jeremy31 23.03.2015 / 22:15