web-dev-qa-db-fra.com

Bluetooth ne fonctionne pas - Ubuntu 15.04 Qualcomm Atheros AR9485

J'ai le Lenovo G510 avec Ubuntu 15.04, et je ne vois tout simplement pas le bluetooth (ça a marché auparavant)

elichai2@Lenovo-G510:~$ uname -a
Linux Lenovo-G510 3.19.0-30-generic #33-Ubuntu SMP Mon Sep 21 20:58:04 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

elichai2@Lenovo-G510:~$ Sudo rfkill list all
0: ideapad_wlan: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no

elichai2@Lenovo-G510:~$ Sudo lshw -C network
  *-network               
       description: Wireless interface
       product: AR9485 Wireless Network Adapter
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: wlan0
       version: 01
       serial: b8:ee:65:61:57:f6
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless
       configuration: broadcast=yes driver=ath9k driverversion=3.19.0-30-generic firmware=N/A ip=10.0.0.10 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
       resources: irq:17 memory:b0500000-b057ffff memory:b0580000-b058ffff
  *-network
       description: Ethernet interface
       product: QCA8172 Fast Ethernet
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: eth0
       version: 10
       serial: f8:a9:63:25:b4:13
       capacity: 100Mbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi msix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=alx latency=0 link=no multicast=yes port=twisted pair
       resources: irq:30 memory:b0400000-b043ffff ioport:3000(size=128)

elichai2@Lenovo-G510:~$ Sudo service bluetooth status
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
   Active: inactive (dead)

elichai2@Lenovo-G510:~$ Sudo service bluetooth restart

elichai2@Lenovo-G510:~$ Sudo service bluetooth status
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2015-10-01 11:20:28 IDT; 2s ago
 Main PID: 1294 (bluetoothd)
   CGroup: /system.slice/bluetooth.service
           └─1294 /usr/sbin/bluetoothd -n

Oct 01 11:20:28 Lenovo-G510 bluetoothd[1294]: bluetoothd[1294]: DIS cannot start: GATT is disabled
Oct 01 11:20:28 Lenovo-G510 bluetoothd[1294]: bluetoothd[1294]: Failed to init deviceinfo plugin
Oct 01 11:20:28 Lenovo-G510 bluetoothd[1294]: bluetoothd[1294]: Failed to init proximity plugin
Oct 01 11:20:28 Lenovo-G510 bluetoothd[1294]: bluetoothd[1294]: Failed to init time plugin
Oct 01 11:20:28 Lenovo-G510 bluetoothd[1294]: bluetoothd[1294]: Failed to init alert plugin
Oct 01 11:20:28 Lenovo-G510 bluetoothd[1294]: bluetoothd[1294]: Failed to init thermometer plugin
Oct 01 11:20:28 Lenovo-G510 bluetoothd[1294]: Failed to init gatt_example plugin
Oct 01 11:20:28 Lenovo-G510 bluetoothd[1294]: Bluetooth Management interface initialized
Oct 01 11:20:28 Lenovo-G510 bluetoothd[1294]: bluetoothd[1294]: Failed to init gatt_example plugin
Oct 01 11:20:28 Lenovo-G510 bluetoothd[1294]: bluetoothd[1294]: Bluetooth Management interface initialized

elichai2@Lenovo-G510:~$ Sudo lsusb
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 002: ID 8087:8008 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 174f:114f Syntek 
Bus 001 Device 006: ID 05c6:6765 Qualcomm, Inc. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

elichai2@Lenovo-G510:~$ dmesg | grep -i firmware
[    0.213404] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[    5.659575] psmouse serio1: elantech: assuming hardware version 3 (with firmware version 0x450f03)

elichai2@Lenovo-G510:~$ dmesg | grep -i blue

elichai2@Lenovo-G510:~$ lsmod | grep blue

Si quelqu'un a une idée de la solution, j'aimerais l'entendre (je suis disposé à recompiler tout le système si vous avez un correctif) Merci!

P.S: J'ai de nouveau lancé dmesg | grep -i blue et maintenant j'ai trouvé ces lignes:

[    4.780100] usb 1-7: Product: Bluetooth USB Host Controller
[   16.342944] Bluetooth: Core ver 2.20
[   16.342958] Bluetooth: HCI device and connection manager initialized
[   16.342962] Bluetooth: HCI socket layer initialized
[   16.342964] Bluetooth: L2CAP socket layer initialized
[   16.342968] Bluetooth: SCO socket layer initialized

et en cours d'exécution lsmod | grep blue revient avec un nouveau résultat:

bluetooth             491520  2 ath3k,btusb

Et Bluetooth vient de rentrer à rfkill :)

elichai2@Lenovo-G510:~$ rfkill list
0: ideapad_wlan: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: ideapad_bluetooth: Bluetooth
        Soft blocked: yes
        Hard blocked: no
2: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1
elichai2

Avec la dernière modification, il vous suffit d’ouvrir une fenêtre de terminal et de saisir

rfkill unblock all

Et si cela ne résout pas le bluetooth, c'est probablement parce que vous n'avez pas de firmware installé

Sudo apt-get install linux-firmware
Sudo modprobe -r btusb
Sudo modprobe -r ath3k
Sudo modprobe ath3k
Sudo modprobe btusb
2
Jeremy31