Bluetooth not detecting other devices, other devices not detecting PC

Asked by Fahad

Hey there!

I've recently installed Ubuntu on my Acer Aspire E14. The computer has a Qualcomm Atheros QCA9565 network card built in. The bluetooth adapter is integrated with this network card.

Ubuntu (14.04) can detect the bluetooth adapter, but whenever I select "add new device" or "scan" on bluetooth manager, it just keeps scanning, and no devices are detected (even though there are visible bluetooth devices nearby). When I turn on visibility on the computer, my phone can not detect it. I've tried all the solutions (upgrading, updating) on the internet, but none of them have worked.

I'd be glad if somebody could help me fix this, or tell me what's wrong. I suspect that Ubuntu doesn't support the device yet; is that a possibility?

Results of lsusb:
Bus 001 Device 002: ID 8087:8000 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 04f2:b469 Chicony Electronics Co., Ltd
Bus 002 Device 003: ID 0489:e078 Foxconn / Hon Hai
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Results of lspci:
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
00:14.0 USB controller: Intel Corporation Lynx Point-LP USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation Lynx Point-LP HECI #0 (rev 04)
00:1b.0 Audio device: Intel Corporation Lynx Point-LP HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 1 (rev e4)
00:1c.2 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 3 (rev e4)
00:1c.3 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 4 (rev e4)
00:1d.0 USB controller: Intel Corporation Lynx Point-LP USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation Lynx Point-LP LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation Lynx Point-LP SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation Lynx Point-LP SMBus Controller (rev 04)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
05:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01)

Thanks in advance!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Jeremy
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

If you have opened a bug then you don't need a question as well.

Revision history for this message
Jeremy (wa113y3s) said :
#2

What bluetooth device is it, in terminal enter
lsusb
and post the results

Revision history for this message
Jeremy (wa113y3s) said :
#3

Now to see if your kernel version supports it
modinfo ath3k | grep -i e078
If the result looks like
alias: usb:v0489pE078d*dc*dsc*dp*ic*isc*ip*in*

You may have another issue, if there is no result, then show the result of
uname -a

Revision history for this message
Fahad (fahadmonster) said :
#4

"modinfo ath3k | grep -i e078"
Returns no results.

Results of uname -a
Linux fahad-Aspire-E5-471 3.13.0-43-generic #72-Ubuntu SMP Mon Dec 8 19:35:06 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Jeremy (wa113y3s) said :
#5

Download this and extract it to your home folder https://www.dropbox.com/s/14wqp7t8u2026ds/test1.zip?dl=0
then in terminal enter the following, one line at a time

sudo apt-get install build-essential linux-firmware
cd test1
cp /usr/src/linux-headers-$(uname -r)/Module.symvers Module.symvers

make al
l
sudo modprobe -r ath3k

sudo modprobe -r btusb

sudo mv /lib/modules/$(uname-r)/kernel/drivers/bluetooth/ath3k.ko /lib/modules/$(uname -r)/kernel/drivers/bluetooth/ath3k.ko.bak

sudo mv /lib/modules/$(uname -r0/kernel/drivers/bluetooth/btusb.ko /lib/modules/$(uname -r)/kernel/drivers/bluetooth/btusb.ko.bak

sudo cp ath3k.ko /lib/modules/$(uname -r)/kernel/drivers/bluetooth/

sudo cp btusb.ko /lib/modules/$(uname-r)/kernel/drivers/bluetooth/

If there are issues after shutdown and booting, then

echo "blacklist ath3k" | sudo tee /etc/modprobe.d/ath3k.conf

sudo gedit /etc/rc.local

Add the following lines above 'exit 0' as exit 0 must be the last line in the file

sleep 20
modprobe ath3k

Save, exit program, and try a restart again

Revision history for this message
Jeremy (wa113y3s) said :
#6

The line that is below this one in the above post: cp /usr/src/linux-headers-$(uname -r)/Module.symvers Module.symvers
Should be

make all

not make al

Revision history for this message
Fahad (fahadmonster) said :
#7

Nope, Issue persists; I just get a different "Blueman apple 1.23."
That is, the PC still can't find other nearby visible bluetooth devices, and other bluetooth devices can't find the PC (yes, I've made the PC discoverable).

Revision history for this message
Jeremy (wa113y3s) said :
#8

Have you rebooted since or
sudo modprobe btusb
sudo modprobe ath3k

Revision history for this message
Fahad (fahadmonster) said :
#9

Yes, I've followed the instructions precisely.
Thanks for trying to help! Really appreciate it.

Revision history for this message
Jeremy (wa113y3s) said :
#10

Any errors listed from
dmesg | grep firmware

Revision history for this message
Jeremy (wa113y3s) said :
#11

One other thing I forgot about
sudo load-module module-bluetooth-discover

Revision history for this message
Fahad (fahadmonster) said :
#12

"dmesg | grep firmware" returns no error;
"sudo load-module module-bluetooth-discover" returns "sudo: load-module: command not found"

Revision history for this message
Jeremy (wa113y3s) said :
#13

I hate posting from my phone
sudo pactl load-module module-bluetooth-discover

Revision history for this message
Fahad (fahadmonster) said :
#14

It just returns "24," problems still there.

Revision history for this message
Jeremy (wa113y3s) said :
#15

lsmod | grep bluetooth
And redo the modinfo command from post #4
Reboot, it should be working

If you can boot to kernel 3.13.0-39 feel free to use the drivers from my post http://forums.linuxmint.com/viewtopic.php?f=53&t=183644#p951951

Revision history for this message
Jeremy (wa113y3s) said :
#16

https://www.dropbox.com/sh/vvifiykslavzfkg/AADjd50uLfP4IB6ANF4fAHfpa?dl=0

Copy those two files from the folder into /lib/modules/3.13.0-43-generic/kernel/drivers/bluetooth/
then
sudo modprobe -r btusb
sudo modprobe -r ath3k
sudo modprobe btusb
sudo modprobe ath3k

I just compiled those from source patched to include your device- you were correct as it is not supported yet in the Ubuntu 14.04 or 14.10 kernels

Revision history for this message
Fahad (fahadmonster) said :
#17

Thanks! Fixed my problem!
You said that as a comment, could you please post it as an answer, so that I can select "This Solved My Problem?"

Revision history for this message
Best Jeremy (wa113y3s) said :
#18

https://www.dropbox.com/sh/vvifiykslavzfkg/AADjd50uLfP4IB6ANF4fAHfpa?dl=0

Copy those two files from the folder into /lib/modules/3.13.0-43-generic/kernel/drivers/bluetooth/
then
sudo modprobe -r btusb
sudo modprobe -r ath3k
sudo modprobe btusb
sudo modprobe ath3k

I just compiled those from source patched to include your device- you were correct as it is not supported yet in the Ubuntu 14.04 or 14.10 kernels

Hopefully the device is supported in the next kernel because these modules will only work with 3.13.0-43

Revision history for this message
Fahad (fahadmonster) said :
#19

Thanks Jeremy, that solved my question.

Revision history for this message
Jeremy (wa113y3s) said :
#20

This issue is fixed in kernel 3.16.0-32