Comment 30 for bug 1597961

Revision history for this message
Antonio Vinicius Menezes Medeiros (vinyanalista) wrote :

Just to give you feedback on this bug, I'm now using Linux Mint 18.2 (which is based on Ubuntu 16.04 LTS). I followed André von Kugland's directions at Ask Ubuntu (https://askubuntu.com/a/964350/560233) and made my Bluetooth adapter work. His laptop has the same Bluetooth adapter (ID 04ca:3014) as mine, so he helped me. Here is what I did.

I installed the HWE (Hardware Enablement) kernel using

$ sudo apt-get install --install-recommends linux-generic-hwe-16.04 xserver-xorg-hwe-16.04

(https://wiki.ubuntu.com/Kernel/LTSEnablementStack)

Kugland noticed that the Bluetooth adapter was being disconnected after loading the acer_wmi kernel module. So he said to blacklist it:

$ sudo nano /etc/modprobe.d/btconfig.conf

blacklist acer_wmi

Also, he suggested adding to that same file the following line, which, according to the documentation of the ath9k kernel module (https://wireless.wiki.kernel.org/en/users/Drivers/ath9k), reduces interference between Wi-Fi and Bluetooth adapters:

options ath9k btcoex_enable=1 bt_ant_diversity=1

So that:

$ cat /etc/modprobe.d/btconfig.conf
blacklist acer_wmi
options ath9k btcoex_enable=1 bt_ant_diversity=1

Finally, I updated the initramfs:

$ sudo update-initramfs -c -k all

And rebooted the system. When it came back, the built-in Bluetooth adapter was working.

Now, I can use my laptop's built-in Bluetooth and my USB dongle (0a12:0001) is free to be used on another computer.

I'm not sure that contributed to the final result, but before I have installed the linux-firmware package:

$ sudo apt-get install linux-firmware

Also, not sure this is a part of the solution, I installed all the updates available using apt-get update and apt-get dist-upgrade. I believe this is a good habit.

I'm going to add as much diagnostic information as I can about my setup, just in case anyone else in the future needs to make that Bluetooth adapter work.

For information from the Windows side, retrieved using AIDA64 for Windows (https://www.aida64.com/), see attached images aida64_network_devices.jpg and aida64_usb_devices.jpg.

Transcribing the relevant parts:

USB Devices / [Port 5] Qualcomm Atheros Bluetooth 4.0 / Device ID 04CA-3014

Windows Network / Bluetooth Device (Personal Area Network) / Hardware Address AC-E0-10-7A-7B-1A

Now, information from the Linux Mint side.

I'm using kernel 4.10.0:

$ uname -a
Linux mint-pc 4.10.0-37-generic #41~16.04.1-Ubuntu SMP Fri Oct 6 22:42:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Boot logs (boot started at Oct 17 21:00:01):

$ tail -n 1600 /var/log/syslog > var_log_syslog_oct_17
$ dmesg > dmesg_oct_17

Those files are attached.

USB devices:

$ lsusb
Bus 001 Device 002: ID 8087:8001 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 002 Device 003: ID 1bcf:2c81 Sunplus Innovation Technology Inc.
Bus 002 Device 005: ID 04ca:3014 Lite-On Technology Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

$ usb-devices

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 2
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev=04.10
S: Manufacturer=Linux 4.10.0-37-generic ehci_hcd
S: Product=EHCI Host Controller
S: SerialNumber=0000:00:1d.0
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 8
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=8087 ProdID=8001 Rev=00.03
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub

T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh=11
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev=04.10
S: Manufacturer=Linux 4.10.0-37-generic xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=0000:00:14.0
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub

T: Bus=02 Lev=01 Prnt=01 Port=04 Cnt=01 Dev#= 5 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=04ca ProdID=3014 Rev=00.02
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

T: Bus=02 Lev=01 Prnt=01 Port=06 Cnt=02 Dev#= 3 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1bcf ProdID=2c81 Rev=00.05
S: Manufacturer=NC2141103M50708908LM05
S: Product=HD WebCam
C: #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=0e(video) Sub=01 Prot=00 Driver=uvcvideo
I: If#= 1 Alt= 0 #EPs= 0 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo

T: Bus=02 Lev=01 Prnt=01 Port=07 Cnt=03 Dev#= 4 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs= 1
P: Vendor=0bda ProdID=0129 Rev=39.60
S: Manufacturer=Generic
S: Product=USB2.0-CRW
S: SerialNumber=20100201396000000
C: #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=06 Prot=50 Driver=rtsx_usb

T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=5000 MxCh= 4
D: Ver= 3.00 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1
P: Vendor=1d6b ProdID=0003 Rev=04.10
S: Manufacturer=Linux 4.10.0-37-generic xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=0000:00:14.0
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub

As a test, I was able to pair my laptop to a Bluetooth headset of mine (Philips SHB3060) and listen to a song. During the test, which I did completely from the GUI, I left bluetoothctl running on the command line:

$ bluetoothctl
[NEW] Controller AC:E0:10:7A:7B:1A mint-pc [default]
[CHG] Controller AC:E0:10:7A:7B:1A Class: 0x1c010c
[CHG] Controller AC:E0:10:7A:7B:1A Powered: yes
[CHG] Controller AC:E0:10:7A:7B:1A DiscoverableTimeout: 0x000000
[CHG] Controller AC:E0:10:7A:7B:1A DiscoverableTimeout: 0x000000
[CHG] Controller AC:E0:10:7A:7B:1A Discovering: yes
[NEW] Device 00:11:67:29:FE:97 Philips SHB3060
[CHG] Device 00:11:67:29:FE:97 Connected: yes
[CHG] Device 00:11:67:29:FE:97 Modalias: bluetooth:v0039p13A4d0104
[CHG] Device 00:11:67:29:FE:97 UUIDs: 00001108-0000-1000-8000-00805f9b34fb
[CHG] Device 00:11:67:29:FE:97 UUIDs: 0000110b-0000-1000-8000-00805f9b34fb
[CHG] Device 00:11:67:29:FE:97 UUIDs: 0000110c-0000-1000-8000-00805f9b34fb
[CHG] Device 00:11:67:29:FE:97 UUIDs: 0000110e-0000-1000-8000-00805f9b34fb
[CHG] Device 00:11:67:29:FE:97 UUIDs: 0000111e-0000-1000-8000-00805f9b34fb
[CHG] Device 00:11:67:29:FE:97 UUIDs: 00001200-0000-1000-8000-00805f9b34fb
[CHG] Device 00:11:67:29:FE:97 Paired: yes
[CHG] Device 00:11:67:29:FE:97 Trusted: yes
[CHG] Device 00:11:67:29:FE:97 Connected: no
[CHG] Controller AC:E0:10:7A:7B:1A Class: 0x000000
[CHG] Controller AC:E0:10:7A:7B:1A Powered: no
[CHG] Controller AC:E0:10:7A:7B:1A Discovering: no
[CHG] Device 00:11:67:29:FE:97 RSSI is nil
[bluetooth]# exit
[DEL] Controller AC:E0:10:7A:7B:1A mint-pc [default]
mint@mint-pc ~ $

(in the end, I turned off my Bluetooth adapter)

$ rfkill list all
0: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: no
1: hci0: Bluetooth
 Soft blocked: yes
 Hard blocked: no

Note that Soft blocked: yes for my Bluetooth adapter is expected, because I turned it off on System Settings. Also, the acer-wireless interface does not appear anymore (because I blocked the acer_wmi module).

Thank you all! I hope this report can help you to make your Bluetooth adapter work.