Ubuntu 15.04 - Bluetooth - Nenhum adaptador encontrado - Dell Precision M4800

1

Após a atualização do Ubuntu 15.04, descobri que o bluetooth estava desativado na minha máquina. Eu fui em frente e permiti o mesmo e, desde então, meu Blueman Bluetooth Manager não me ajuda a configurar meus dispositivos.

Detalhes da minha configuração:

sudo service bluetooth status :

● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2015-04-26 18:53:35 IST; 4s ago
 Main PID: 5106 (bluetoothd)
   CGroup: /system.slice/bluetooth.service
           └─5106 /usr/sbin/bluetoothd -n

Apr 26 18:53:35 UBUGROUND bluetoothd[5106]: Failed to init time plugin
Apr 26 18:53:35 UBUGROUND bluetoothd[5106]: Failed to init alert plugin
Apr 26 18:53:35 UBUGROUND bluetoothd[5106]: Failed to init thermometer plugin
Apr 26 18:53:35 UBUGROUND bluetoothd[5106]: bluetoothd[5106]: Failed to init time plugin
Apr 26 18:53:35 UBUGROUND bluetoothd[5106]: bluetoothd[5106]: Failed to init alert plugin
Apr 26 18:53:35 UBUGROUND bluetoothd[5106]: bluetoothd[5106]: Failed to init thermometer plugin
Apr 26 18:53:35 UBUGROUND bluetoothd[5106]: Failed to init gatt_example plugin
Apr 26 18:53:35 UBUGROUND bluetoothd[5106]: Bluetooth Management interface initialized
Apr 26 18:53:35 UBUGROUND bluetoothd[5106]: bluetoothd[5106]: Failed to init gatt_example plugin
Apr 26 18:53:35 UBUGROUND bluetoothd[5106]: bluetoothd[5106]: Bluetooth Management interface initialized

dmesg | grep -i bluetooth :

[ 7583.148359] Bluetooth: Core ver 2.20
[ 7583.148372] Bluetooth: HCI device and connection manager initialized
[ 7583.148376] Bluetooth: HCI socket layer initialized
[ 7583.148377] Bluetooth: L2CAP socket layer initialized
[ 7583.148381] Bluetooth: SCO socket layer initialized
[ 7583.176193] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 7583.176195] Bluetooth: BNEP filters: protocol multicast
[ 7583.176198] Bluetooth: BNEP socket layer initialized

sudo lshw -class network :

  *-network               
       description: Ethernet interface
       product: Ethernet Connection I217-LM
       vendor: Intel Corporation
       physical id: 19
       bus info: pci@0000:00:19.0
       logical name: eth0
       version: 04
       serial: f0:1f:af:62:48:8f
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=2.3.2-k firmware=0.13-3 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:28 memory:f7400000-f741ffff memory:f7439000-f7439fff ioport:f040(size=32)
  *-network
       description: Wireless interface
       product: BCM4352 802.11ac Wireless Network Adapter
       vendor: Broadcom Corporation
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlan0
       version: 03
       serial: 40:f0:2f:7e:8a:71
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=wl0 driverversion=6.30.223.248 (r487574) ip=10.179.108.111 latency=0 multicast=yes wireless=IEEE 802.11abg
       resources: irq:18 memory:f5400000-f5407fff memory:f5200000-f53fffff

sudo rfkill list all

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

sudo lsusb; uname -a; lsmod | grep bluetooth; dmesg | grep -i firmware :

Bus 004 Device 004: ID 0a5c:5801 Broadcom Corp. BCM5880 Secure Applications Processor with fingerprint swipe sensor
Bus 004 Device 006: ID 413c:8143 Dell Computer Corp. 
Bus 004 Device 002: ID 8087:8000 Intel Corp. 
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 003: ID 0c45:649d Microdia 
Bus 003 Device 002: ID 8087:8008 Intel Corp. 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 413c:5534 Dell Computer Corp. 
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 04fc:0c25 Sunplus Technology Co., Ltd SATALink SPIF225A
Bus 001 Device 002: ID 413c:2134 Dell Computer Corp. 
Bus 001 Device 005: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 003: ID 413c:2513 Dell Computer Corp. internal USB Hub of E-Port Replicator
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Linux UBUGROUND 3.19.0-15-generic #15-Ubuntu SMP Thu Apr 16 23:32:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
bluetooth             491520  10 bnep,rfcomm
[    0.194851] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored

Além das contribuições de Jerry, o problema foi resolvido com o seguinte dmesg | dump de cauda para verificação

[ 9134.675919] cfg80211:  DFS Master region: unset
[ 9134.675922] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 9134.675928] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 9134.675933] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 9134.675937] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 9134.675941] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 9134.675944] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[14583.328619] usbcore: registered new interface driver btusb
[14583.373507] Bluetooth: hci0: BCM: patching hci_ver=06 hci_rev=1000 lmp_ver=06 lmp_subver=220e
[14584.111182] Bluetooth: hci0: BCM: firmware hci_ver=06 hci_rev=15a9 lmp_ver=06 lmp_subver=220e
    
por vsrikarunyan 26.04.2015 / 16:21

1 resposta

2

Deve ser fácil

sudo apt-get install linux-headers-generic build-essential
wget https://www.dropbox.com/s/3jqigkapf383tod/bluetooth-15.04.tar.gz
wget https://www.dropbox.com/s/qgcu075lvvzq690/BCM20702A0-413c-8143.hcd
sudo cp BCM20702A0-413c-8143.hcd /lib/firmware/brcm/
tar -zxf bluetooth-15.04.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 cp btusb.ko /lib/modules/$(uname -r)/kernel/drivers/bluetooth/
sudo modprobe btusb

Em seguida, verifique se o firmware carregou dmesg | tail , poste-o em um comentário ou edite sua pergunta para incluir

echo btusb | sudo tee -a /etc/modules

Quando o seu kernel é atualizado, o bluetooth irá falhar até você

cd bluetooth
make -C /lib/modules/$(uname -r)/build M=$PWD clean
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 cp btusb.ko /lib/modules/$(uname -r)/kernel/drivers/bluetooth/
sudo modprobe -r btusb
sudo modprobe btusb
    
por Jeremy31 26.04.2015 / 16:53