[SOLVED] Bluetooth firmware loading error in dmesg (ath3k)

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
nursoda

[SOLVED] Bluetooth firmware loading error in dmesg (ath3k)

Post by nursoda »

Running Mint 17.1 Cinnamon 64bit default install on Lenovo B50-70. BT not working. What should I do?
dmsg yields "Error in firmware loading" - is it the correct driver after all (ath3k vs. ath9k)?

# dmesg | grep -i blue

Code: Select all

[   12.536348] Bluetooth: Core ver 2.17
[   12.536367] Bluetooth: HCI device and connection manager initialized
[   12.536375] Bluetooth: HCI socket layer initialized
[   12.536377] Bluetooth: L2CAP socket layer initialized
[   12.536380] Bluetooth: SCO socket layer initialized
[   14.171216] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   14.171221] Bluetooth: BNEP filters: protocol multicast
[   14.171232] Bluetooth: BNEP socket layer initialized
[   14.172640] Bluetooth: RFCOMM TTY layer initialized
[   14.172650] Bluetooth: RFCOMM socket layer initialized
[   14.172656] Bluetooth: RFCOMM ver 1.11
[   15.766896] Bluetooth: Error in firmware loading err = -110,len = 448, size = 4096
[   15.766908] Bluetooth: Loading patch file failed
# lsmod | grep hci

Code: Select all

ahci                   25819  3 
libahci                32716  1 ahci
# rfcomm -a

Code: Select all

[empty]
# hciconfig -a

Code: Select all

[empty]
# rfkill list

Code: Select all

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
# hcitool dev

Code: Select all

Devices:
# bluez-test-input

Code: Select all

Traceback (most recent call last):
  File "/usr/bin/bluez-test-input", line 24, in <module>
    adapter_path = manager.DefaultAdapter()
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.bluez.Error.NoSuchAdapter: No such adapter
# lspci -nn

Code: Select all

00:00.0 Host bridge [0600]: Intel Corporation Haswell-ULT DRAM Controller [8086:0a04] (rev 09)
00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 09)
00:03.0 Audio device [0403]: Intel Corporation Haswell-ULT HD Audio Controller [8086:0a0c] (rev 09)
00:14.0 USB controller [0c03]: Intel Corporation Lynx Point-LP USB xHCI HC [8086:9c31] (rev 04)
00:16.0 Communication controller [0780]: Intel Corporation Lynx Point-LP HECI #0 [8086:9c3a] (rev 04)
00:1b.0 Audio device [0403]: Intel Corporation Lynx Point-LP HD Audio Controller [8086:9c20] (rev 04)
00:1c.0 PCI bridge [0604]: Intel Corporation Lynx Point-LP PCI Express Root Port 1 [8086:9c10] (rev e4)
00:1c.1 PCI bridge [0604]: Intel Corporation Lynx Point-LP PCI Express Root Port 2 [8086:9c12] (rev e4)
00:1c.2 PCI bridge [0604]: Intel Corporation Lynx Point-LP PCI Express Root Port 3 [8086:9c14] (rev e4)
00:1c.3 PCI bridge [0604]: Intel Corporation Lynx Point-LP PCI Express Root Port 4 [8086:9c16] (rev e4)
00:1d.0 USB controller [0c03]: Intel Corporation Lynx Point-LP USB EHCI #1 [8086:9c26] (rev 04)
00:1f.0 ISA bridge [0601]: Intel Corporation Lynx Point-LP LPC Controller [8086:9c43] (rev 04)
00:1f.2 SATA controller [0106]: Intel Corporation Lynx Point-LP SATA Controller 1 [AHCI mode] [8086:9c03] (rev 04)
00:1f.3 SMBus [0c05]: Intel Corporation Lynx Point-LP SMBus Controller [8086:9c22] (rev 04)
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader [10ec:5229] (rev 01)
08:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10)
09:00.0 Network controller [0280]: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter [168c:0036] (rev 01)
# lsmod | grep -i blue

Code: Select all

bluetooth             391136  12 bnep,ath3k,btusb,rfcomm
# bluetooth-agent 1234

Code: Select all

Can't get default adapter
No such adapter
# find /lib/modules/`uname -r` -name 'ath*.ko' -type f -printf '%P\n'

Code: Select all

kernel/drivers/net/wireless/ath/ath9k/ath9k_hw.ko
kernel/drivers/net/wireless/ath/ath9k/ath9k_htc.ko
kernel/drivers/net/wireless/ath/ath9k/ath9k.ko
kernel/drivers/net/wireless/ath/ath9k/ath9k_common.ko
kernel/drivers/net/wireless/ath/ath.ko
kernel/drivers/net/wireless/ath/ath6kl/ath6kl_usb.ko
kernel/drivers/net/wireless/ath/ath6kl/ath6kl_sdio.ko
kernel/drivers/net/wireless/ath/ath6kl/ath6kl_core.ko
kernel/drivers/net/wireless/ath/ath5k/ath5k.ko
kernel/drivers/net/wireless/ath/ath10k/ath10k_pci.ko
kernel/drivers/net/wireless/ath/ath10k/ath10k_core.ko
kernel/drivers/bluetooth/ath3k.ko
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
JeremyB
Level 21
Level 21
Posts: 13881
Joined: Fri Feb 21, 2014 8:17 am

Re: Bluetooth low-level device not detected / kernel issue?

Post by JeremyB »

nursoda wrote:Running Mint 17.1 Cinnamon 64bit default install on Lenovo B30-70. BT not working. What should I do?

# dmesg | grep -i blue

Code: Select all

[   12.536348] Bluetooth: Core ver 2.17
[   12.536367] Bluetooth: HCI device and connection manager initialized
[   12.536375] Bluetooth: HCI socket layer initialized
[   12.536377] Bluetooth: L2CAP socket layer initialized
[   12.536380] Bluetooth: SCO socket layer initialized
[   14.171216] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   14.171221] Bluetooth: BNEP filters: protocol multicast
[   14.171232] Bluetooth: BNEP socket layer initialized
[   14.172640] Bluetooth: RFCOMM TTY layer initialized
[   14.172650] Bluetooth: RFCOMM socket layer initialized
[   14.172656] Bluetooth: RFCOMM ver 1.11
[   15.766896] Bluetooth: Error in firmware loading err = -110,len = 448, size = 4096
[   15.766908] Bluetooth: Loading patch file failed
# lsmod | grep hci

Code: Select all

ahci                   25819  3 
libahci                32716  1 ahci
# rfcomm -a

Code: Select all

[empty]
# hciconfig -a

Code: Select all

[empty]
# rfkill list

Code: Select all

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
# hcitool dev

Code: Select all

Devices:
# bluez-test-input

Code: Select all

Traceback (most recent call last):
  File "/usr/bin/bluez-test-input", line 24, in <module>
    adapter_path = manager.DefaultAdapter()
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.bluez.Error.NoSuchAdapter: No such adapter
# lspci -nn

Code: Select all

00:00.0 Host bridge [0600]: Intel Corporation Haswell-ULT DRAM Controller [8086:0a04] (rev 09)
00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 09)
00:03.0 Audio device [0403]: Intel Corporation Haswell-ULT HD Audio Controller [8086:0a0c] (rev 09)
00:14.0 USB controller [0c03]: Intel Corporation Lynx Point-LP USB xHCI HC [8086:9c31] (rev 04)
00:16.0 Communication controller [0780]: Intel Corporation Lynx Point-LP HECI #0 [8086:9c3a] (rev 04)
00:1b.0 Audio device [0403]: Intel Corporation Lynx Point-LP HD Audio Controller [8086:9c20] (rev 04)
00:1c.0 PCI bridge [0604]: Intel Corporation Lynx Point-LP PCI Express Root Port 1 [8086:9c10] (rev e4)
00:1c.1 PCI bridge [0604]: Intel Corporation Lynx Point-LP PCI Express Root Port 2 [8086:9c12] (rev e4)
00:1c.2 PCI bridge [0604]: Intel Corporation Lynx Point-LP PCI Express Root Port 3 [8086:9c14] (rev e4)
00:1c.3 PCI bridge [0604]: Intel Corporation Lynx Point-LP PCI Express Root Port 4 [8086:9c16] (rev e4)
00:1d.0 USB controller [0c03]: Intel Corporation Lynx Point-LP USB EHCI #1 [8086:9c26] (rev 04)
00:1f.0 ISA bridge [0601]: Intel Corporation Lynx Point-LP LPC Controller [8086:9c43] (rev 04)
00:1f.2 SATA controller [0106]: Intel Corporation Lynx Point-LP SATA Controller 1 [AHCI mode] [8086:9c03] (rev 04)
00:1f.3 SMBus [0c05]: Intel Corporation Lynx Point-LP SMBus Controller [8086:9c22] (rev 04)
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader [10ec:5229] (rev 01)
08:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10)
09:00.0 Network controller [0280]: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter [168c:0036] (rev 01)
# lsmod | grep -i blue

Code: Select all

bluetooth             391136  12 bnep,ath3k,btusb,rfcomm
# bluetooth-agent 1234

Code: Select all

Can't get default adapter
No such adapter
Chances are you have an Atheros AR3012 bluetooth device and they have issues with linux while using xhci. The best I have been able to do is blacklist the ath3k driver and use /etc/rc.local to load the ath3k driver later. In Ubuntu 14.04 using the same method, it loads before the GUI is completely loaded however in LM17 it is 30 seconds or so later
If you wish to try this method

Code: Select all

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

Code: Select all

gksudo gedit /etc/rc.local
and above the line that says exit 0 add

Code: Select all

modprobe ath3k
Save, exit program, reboot

There are still times where it doesn't work resuming from sleep but this method has worked better than leaving it the way it was, if you don't like this way you can go back to the way it was with

Code: Select all

sudo rm /etc/modprobe.d/ath3k.conf

Code: Select all

gksudo gedit /etc/rc.local
and delete the modprobe ath3k line, save and exit
nursoda

Re: Bluetooth low-level device not detected / kernel issue?

Post by nursoda »

YES, that worked like a charm, no dmesg error, BT applet working as expected (lets me switch visibility at least and offers to send files etc.) THANK YOU!!!
Locked

Return to “Hardware Support”