Can't enable BLUETOOTH

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
Alex Chanizbekov
Level 1
Level 1
Posts: 4
Joined: Tue Apr 12, 2016 3:27 pm

Can't enable BLUETOOTH

Post by Alex Chanizbekov »

Hello,

I have Linux Mint 17.2 installed on my Lenovo y560. Few days ago I tried to use bluetooth.

When I'm trying to enable bluetooth from System settings -> Bluetooth, the switcher is being switched but bluetooth is not being enabled, nothink changing. I't like pushuing non functional button.

Can anybody suggest any solutionfor this issue?
In /var/logs I've not found anythink except: * Starting bluetooth daemon [ OK within boot.log file.

In this post I've attached two screenshots of described above bluetooth switcher.
JeremyB
Level 20
Level 20
Posts: 11937
Joined: Fri Feb 21, 2014 8:17 am

Re: Can't enable BLUETOOTH

Post by JeremyB »

Screenshots don't help much with linux issues unless it is a graphics issue, open a terminal window and paste the following

Code: Select all

lsusb; lspci -nnk | grep -iA2 net; uname -a; rfkill list all; dmesg | egrep -i 'blue|firm'; lsmod | grep bluetooth
Paste the output in your next post
Alex Chanizbekov
Level 1
Level 1
Posts: 4
Joined: Tue Apr 12, 2016 3:27 pm

Re: Can't enable BLUETOOTH

Post by Alex Chanizbekov »

Here is the output you asked for (thank you for helping):

Code: Select all

Bus 002 Device 003: ID 064e:f207 Suyin Corp. 
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID e0ff:0005  
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
05:00.0 Network controller [0280]: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)
	Subsystem: Lenovo Device [17aa:30a1]
	Kernel driver in use: ath9k
09:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM57780 Gigabit Ethernet PCIe [14e4:1692] (rev 01)
	Subsystem: Lenovo Device [17aa:38cf]
	Kernel driver in use: tg3
Linux maestroDev 3.16.0-38-generic #52~14.04.1-Ubuntu SMP Fri May 8 09:43:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
0: ideapad_wlan: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: ideapad_bluetooth: Bluetooth
	Soft blocked: no
	Hard blocked: no
2: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
[    0.306813] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[    2.553760] [Firmware Bug]: ACPI(PEGP) defines _DOD but not _DOS
[    2.572470] [Firmware Bug]: Duplicate ACPI video bus devices for the same VGA controller, please try module parameter "video.allow_duplicates=1"if the current driver doesn't work.
[    4.474922] Bluetooth: Core ver 2.19
[    4.474951] Bluetooth: HCI device and connection manager initialized
[    4.474963] Bluetooth: HCI socket layer initialized
[    4.474966] Bluetooth: L2CAP socket layer initialized
[    4.474979] Bluetooth: SCO socket layer initialized
[    4.486335] Bluetooth: RFCOMM TTY layer initialized
[    4.486351] Bluetooth: RFCOMM socket layer initialized
[    4.486357] Bluetooth: RFCOMM ver 1.11
[    4.496458] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    4.496462] Bluetooth: BNEP filters: protocol multicast
[    4.496475] Bluetooth: BNEP socket layer initialized
bluetooth             446409  10 bnep,rfcomm
6lowpan_iphc           18702  1 bluetooth
JeremyB
Level 20
Level 20
Posts: 11937
Joined: Fri Feb 21, 2014 8:17 am

Re: Can't enable BLUETOOTH

Post by JeremyB »

Code: Select all

usb-devices | awk '/0005/' RS=
I am not sure but you may not have bluetooth or Linux just can see it. I know there are Atheros wifi cards without bluetooth as I say some on ebay when I bought the AR9285 for my Toshiba
Alex Chanizbekov
Level 1
Level 1
Posts: 4
Joined: Tue Apr 12, 2016 3:27 pm

Re: Can't enable BLUETOOTH

Post by Alex Chanizbekov »

No, it's sure that there is bluetooth on board because I've used it when i had win7 installed.
The output:

Code: Select all

T:  Bus=01 Lev=02 Prnt=02 Port=01 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=e0ff ProdID=0005 Rev=00.01
S:  Manufacturer=Areson
S:  Product=USB Device
C:  #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=usbhid
I:  If#= 1 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid
JeremyB
Level 20
Level 20
Posts: 11937
Joined: Fri Feb 21, 2014 8:17 am

Re: Can't enable BLUETOOTH

Post by JeremyB »

Linux can't see any bluetooth device and I haven't had any luck getting a device that can't be detected to work
saeon
Level 1
Level 1
Posts: 1
Joined: Sat Apr 23, 2016 12:11 pm

Re: Can't enable BLUETOOTH

Post by saeon »

Hi, my lenovo G510 has never worked with bluetooth... i've installed mints 15,16,17 where bluetooth was recognized, but never worked, and now with mint 17.3, the bluetooth device doesnt seem to be recognized at all, altho mint settings says its disabled. Please can you post your answer if you find one? Nearly 2 years without bluetooth, i forgot i needed it :p
saeon-tao saeon # lsusb; lspci -nnk | grep -iA2 net; uname -a; rfkill list all; dmesg | egrep -i 'blue|firm'; lsmod | grep bluetooth
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 006: ID 105b:e065 Foxconn International, Inc. BCM43142A0 Bluetooth module
Bus 001 Device 003: ID 0000:0538
Bus 001 Device 002: ID 0bda:5728 Realtek Semiconductor Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
02:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01)
Subsystem: Lenovo Device [17aa:0611]
Kernel driver in use: wl
03:00.0 Ethernet controller [0200]: Qualcomm Atheros QCA8172 Fast Ethernet [1969:10a0] (rev 10)
Subsystem: Lenovo Device [17aa:3801]
Kernel driver in use: alx
Linux saeon-tao 3.19.0-32-generic #37~14.04.1-Ubuntu SMP Thu Oct 22 09:41:40 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
0: ideapad_wlan: Wireless LAN
Soft blocked: yes
Hard blocked: no
1: ideapad_bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: yes
Hard blocked: no
3: brcmwl-0: Wireless LAN
Soft blocked: yes
Hard blocked: yes
[ 0.132583] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[ 20.270738] Bluetooth: Core ver 2.20
[ 20.270767] Bluetooth: HCI device and connection manager initialized
[ 20.270772] Bluetooth: HCI socket layer initialized
[ 20.270774] Bluetooth: L2CAP socket layer initialized
[ 20.270779] Bluetooth: SCO socket layer initialized
[ 20.275003] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 20.275007] Bluetooth: BNEP filters: protocol multicast
[ 20.275011] Bluetooth: BNEP socket layer initialized
[ 20.279099] Bluetooth: RFCOMM TTY layer initialized
[ 20.279104] Bluetooth: RFCOMM socket layer initialized
[ 20.279110] Bluetooth: RFCOMM ver 1.11
bluetooth 491520 10 bnep,rfcomm
JeremyB
Level 20
Level 20
Posts: 11937
Joined: Fri Feb 21, 2014 8:17 am

Re: Can't enable BLUETOOTH

Post by JeremyB »

Code: Select all

wget https://www.dropbox.com/s/f503f6r686riiow/fw-105b_e065.hcd
sudo cp fw-105b_e065.hcd /lib/firmware/brcm/
sudo apt-get install git build-essential linux-headers-generic
git clone https://github.com/jeremyb31/bluetooth-3.19.git
cd bluetooth-3.19
cp /usr/src/linux-headers-`uname -r`/.config ./
cp /usr/src/linux-headers-$(uname -r)/Module.symvers ./
make -C /lib/modules/$(uname -r)/build M=$(pwd) modules
sudo cp /lib/modules/$(uname -r)/kernel/drivers/bluetooth/btusb.ko /lib/modules/$(uname -r)/kernel/drivers/bluetooth/btusb.ko.bak
sudo cp btusb.ko /lib/modules/$(uname -r)/kernel/drivers/bluetooth/btusb.ko
sudo depmod -a
sudo modprobe -r btusb
sudo modprobe btusb
Hopefully bluetooth works
Centauri39
Level 4
Level 4
Posts: 301
Joined: Sun Mar 23, 2014 2:20 pm

Re: Can't enable BLUETOOTH

Post by Centauri39 »

Please have a look at my post in this thread.
It may be going to fix your bluetooth.
JeremyB
Level 20
Level 20
Posts: 11937
Joined: Fri Feb 21, 2014 8:17 am

Re: Can't enable BLUETOOTH

Post by JeremyB »

Centauri39 wrote:Please have a look at my post in this thread.
It may be going to fix your bluetooth.
That just affects being able to use audio devices on bluetooth. The issue here is that the 3.19 kernel doesn't support the 105b:e065 broadcom bluetooth device. Support was just added upstream 5 months ago, too late for the 3.19.0-32 kernel
http://git.kernel.org/cgit/linux/kernel ... 84fbbec5cc

My patch while not identical should perform the same function

https://github.com/jeremyb31/bluetooth- ... 8f9d2fe183
santi2007
Level 1
Level 1
Posts: 2
Joined: Sun Aug 31, 2014 9:50 am

Re: Can't enable BLUETOOTH

Post by santi2007 »

Hi all, what is the status of the bluetooth support? I have Mint 18 now, and many things are finally working (like nvidia cards, double monitor, etc.) However, bluetooth is not being detected:

This is the output of: uname -a
Linux santiago-XMG-A505 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Code: Select all

santiago@santiago-XMG-A505 ~ $ lsusb; lspci -nnk | grep -iA2 net; uname -a; rfkill list all; dmesg | egrep -i 'blue|firm'; lsmod | grep bluetooth
Bus 002 Device 002: ID 8087:8000 Intel Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 5986:055c Acer, Inc 
Bus 003 Device 003: ID 0cf3:3004 Atheros Communications, Inc. AR3012 Bluetooth 4.0
Bus 003 Device 006: ID 017c:145f MLK Trust Deskset
Bus 003 Device 005: ID 1c7a:0603 LighTuning Technology Inc. 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
03:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 20)
	Subsystem: Bigfoot Networks, Inc. Killer N1525 Wireless-AC [1a56:1525]
	Kernel driver in use: ath10k_pci
	Kernel modules: ath10k_pci
--
04:00.1 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 12)
	Subsystem: CLEVO/KAPOK Computer RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1558:0150]
	Kernel driver in use: r8169
	Kernel modules: r8169
Linux santiago-XMG-A505 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
[    0.151975] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[    2.409925] [Firmware Bug]: ACPI(PEGP) defines _DOD but not _DOS
[    3.156127] psmouse serio2: elantech: assuming hardware version 3 (with firmware version 0x450f02)
[    6.553989] Bluetooth: Core ver 2.21
[    6.554006] Bluetooth: HCI device and connection manager initialized
[    6.554011] Bluetooth: HCI socket layer initialized
[    6.554014] Bluetooth: L2CAP socket layer initialized
[    6.554021] Bluetooth: SCO socket layer initialized
[    6.569059] usb 3-7: Direct firmware load for ar3k/AthrBT_0x00000200.dfu failed with error -2
[    6.569063] Bluetooth: Patch file not found ar3k/AthrBT_0x00000200.dfu
[    6.569065] Bluetooth: Loading patch file failed
[    6.958834] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-0000:03:00.0.bin failed with error -2
[    7.021842] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA6174/hw2.1/board-2.bin failed with error -2
[ 4314.766863] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 4314.766866] Bluetooth: BNEP filters: protocol multicast
[ 4314.766869] Bluetooth: BNEP socket layer initialized
bluetooth             520192  10 bnep,ath3k,btbcm,btrtl,btusb,btintel
Thanks for all possible help!
Booting on windows, bluetooth works perfectly.
JeremyB
Level 20
Level 20
Posts: 11937
Joined: Fri Feb 21, 2014 8:17 am

Re: Can't enable BLUETOOTH

Post by JeremyB »

You have a special issue caused by Qualcomm using the same ID on 2 very different bluetooth chipsets and they don't have a solution that works for all concerned yet. You have a newer Rome wifi card with a bluetooth with ID 0cf3:3004 and I have an older AR9485 wifi card with a bluetooth device with the same ID. Mine works very well with the current code. I have used a patch that should work for your card
First we blacklist ath3k as it isn't needed for your bluetooth

Code: Select all

echo "blacklist ath3k" | sudo tee -a /etc/modprobe.d/blacklist.conf
Then download my patched btusb

Code: Select all

wget https://www.dropbox.com/s/oe11v0gi2yspvq0/btusb3004.ko
Then we copy it into the correct directory

Code: Select all

sudo cp btusb3004.ko /lib/modules/4.4.0-21-generic/kernel/drivers/bluetooth/btusb.ko
Refresh the module list

Code: Select all

sudo depmod -a
After a reboot it should work if the linux-firmware package has the correct firmware for your bluetooth
Post Reply

Return to “Hardware Support”