Bug 1070287

Summary: [ath3k] Bluetooth adapter not recognized
Product: [Fedora] Fedora Reporter: francesco21 <francescospina22>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 20CC: diego.ml, fadnix, gansalmon, itamar, jgrulich, jonathan, jreznik, kernel-maint, kevin, ltinkl, madhu.chinakonda, rdieter, redhat, than
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-10 14:58:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description francesco21 2014-02-26 14:48:47 UTC
Description of problem:

Bluetooth adapter doesn't recognised

Version-Release number of selected component (if applicable):

[francesco@localhost ~]$ lspci
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 09)
00:04.0 Signal processing controller: Intel Corporation Device 0a03 (rev 09)
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:1c.4 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 5 (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)
00:1f.6 Signal processing controller: Intel Corporation Lynx Point-LP Thermal (rev 04)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Co
ntroller (rev 10)
03:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mars LE [Radeon HD 8530M] (rev ff)


[francesco@localhost ~]$ dmesg|grep -i blue
[ 1.234144] usb 2-4: Product: Bluetooth USB Host Controller
[ 12.432969] Bluetooth: Core ver 2.17
[ 12.432985] Bluetooth: HCI device and connection manager initialized
[ 12.432992] Bluetooth: HCI socket layer initialized
[ 12.432994] Bluetooth: L2CAP socket layer initialized
[ 12.432997] Bluetooth: SCO socket layer initialized
[ 15.685441] Bluetooth: Error in firmware loading err = -110,len = 448, size = 4096
[ 15.685452] Bluetooth: Loading patch file failed
[ 43.540554] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 43.540557] Bluetooth: BNEP filters: protocol multicast
[ 43.540565] Bluetooth: BNEP socket layer initialized


[francesco@localhost ~]$ systemctl status bluetooth.service
bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled)
Active: active (running) since mar 2014-02-25 10:40:01 CET; 1h 39min ago
Docs: man:bluetoothd(8)
Main PID: 1076 (bluetoothd)
Status: "Running"
CGroup: /system.slice/bluetooth.service
└─1076 /usr/libexec/bluetooth/bluetoothd

[francesco@localhost ~]$ bluetoothctl
[bluetooth]# power on
No default controller available
[bluetooth]# scan on
No default controller available
[bluetooth]# quit

[francesco@localhost ~]$ rfkill list bluetooth
bash: rfkill: command not found
[francesco@localhost ~]$ rfkill
bash: rfkill: command not found
[francesco@localhost ~]$ rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: asus-wlan: Wireless LAN
Soft blocked: no
Hard blocked: no
2: asus-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no


[francesco@localhost ~]$ lsmod|grep rfkill
rfkill 21979 5 cfg80211,bluetooth,asus_wmi
[francesco@localhost ~]$ lsmod|grep bluetooth
bluetooth 380792 7 bnep,ath3k,btusb
rfkill 21979 5 cfg80211,bluetooth,asus_wmi 

[francesco@localhost ~]$ lsusb
Bus 001 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 006: ID 03eb:8810 Atmel Corp.
Bus 001 Device 007: ID 0bc2:2300 Seagate RSS LLC Expansion Portable
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 003: ID 13d3:5195 IMC Networks
Bus 002 Device 002: ID 13d3:3402 IMC Networks
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

[francesco@localhost ~]$ lsusb -t
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/9p, 480M
|__ Port 4: Dev 2, If 0, Class=Wireless, Driver=, 12M
|__ Port 4: Dev 2, If 1, Class=Wireless, Driver=, 12M
|__ Port 5: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M
|__ Port 5: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
|__ Port 3: Dev 7, If 0, Class=Mass Storage, Driver=usb-storage, 480M
|__ Port 7: Dev 6, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 7: Dev 6, If 1, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 8: Dev 4, If 0, Class=Vendor Specific Class, Driver=, 480M

[francesco@localhost ~]$ dmesg|grep ath
[ 0.000000] [<ffffffff8106d47d>] warn_slowpath_common+0x7d/0xa0
[ 0.000000] [<ffffffff8106d534>] warn_slowpath_fmt_taint+0x44/0x50
[ 12.382660] ath: phy0: Set parameters for CUS198
[ 12.382663] ath: phy0: Set BT/WLAN RX diversity capability
[ 12.390805] ath: phy0: Enable LNA combining
[ 12.391923] ath: EEPROM regdomain: 0x60
[ 12.391925] ath: EEPROM indicates we should expect a direct regpair map
[ 12.391927] ath: Country alpha2 being used: 00
[ 12.391928] ath: Regpair used: 0x60
[ 15.528479] ath3k: probe of 2-4:1.0 failed with error -110
[ 15.528519] usbcore: registered new interface driver ath3k
[ 66.756828] ath9k 0000:03:00.0 wlp3s0: disabling HT/VHT due to WEP/TKIP use
[ 66.756832] ath9k 0000:03:00.0 wlp3s0: disabling HT as WMM/QoS is not supported by the AP
[ 66.756834] ath9k 0000:03:00.0 wlp3s0: disabling VHT as WMM/QoS is not supported by the AP
[francesco@localhost ~]$ 

How reproducible:



Steps to Reproduce:
1.
2.
3.

Actual results:

In summary:
- the bluetooth device is 13d3:3402;
- the driver in use is ath3k;
- the firmware failed to load.

Expected results:

Will work

Additional info:

http://www.forums.fedoraforum.org/showthread.php?t=297543

Comment 1 Kevin Kofler 2014-02-26 15:04:55 UTC
[ 15.528479] ath3k: probe of 2-4:1.0 failed with error -110
→ kernel (driver) bug, reassigning

Comment 2 Neil Katin 2014-04-06 20:23:51 UTC
I have the same embedded bluetooth controller, with the same "failure to load firmware" issue.

I used the suggestion in the referenced thread to stop mtp from probing the card: at that point the device started working.

To summarize: I added this line to /lib/udev/rules.d/69-libmtp.rules:

ATTR{idVendor}=="13d3", ATTR{idProduct}=="3402", GOTO="libmtp_rules_end"

And the device started working.

Comment 3 francesco21 2014-04-07 06:15:37 UTC
Sorry but i don't understand where do you added this line, because if i open the file that you mentioned i have a lot of line but where i have to put this?

Thank you.

Comment 4 Neil Katin 2014-04-07 14:11:35 UTC
There are a few other lines in that file that have GOTO="libmtp_rules_end" in them (around line 22).

Basically: add the id for your (our? :-) bluetooth adapter to that list; it says to avoid the rest of the file.

As near as I can tell: the actual beneficial effect is to avoid the MTP autoprobe at the end of the file (look for the comment that starts with 'Autoprobe')

Comment 5 francesco21 2014-04-08 11:39:28 UTC
You said that i have to change the line with this results? 

# Some sensitive devices we surely don't wanna probe
# Color instruments
ATTR{idVendor}=="0670", GOTO="libmtp_rules_end"
ATTR{idVendor}=="0765", GOTO="libmtp_rules_end"
ATTR{idVendor}=="085c", GOTO="libmtp_rules_end"
ATTR{idVendor}=="0971", GOTO="libmtp_rules_end"
# Canon scanners that look like MTP devices (PID 0x22nn)
ATTR{idVendor}=="04a9", ATTR{idProduct}=="22*", GOTO="libmtp_rules_end"
# Canon digital camera (EOS 3D) that looks like MTP device (PID 0x3113)
ATTR{idVendor}=="04a9", ATTR{idProduct}=="3113", GOTO="libmtp_rules_end"
# Sensitive Atheros devices that look like MTP devices
ATTR{idVendor}=="13d3", ATTR{idProduct}=="3402", GOTO="libmtp_rules_end"
ATTR{idVendor}=="0cf3", GOTO="libmtp_rules_end"


But doen't work.

Comment 6 Neil Katin 2014-04-08 17:53:14 UTC
I'm sorry it didn't work for you; it did for me, but I guess your problem is different then.

And just to ask the really obvious question: you power cycled your machine after you made the change, right?

Comment 7 francesco21 2014-04-08 18:42:07 UTC
Yes i did this but doesn't work, i have the same problem some time works some time no, there is no reason about this :D

Comment 8 Justin M. Forbes 2014-05-21 19:38:28 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 20 kernel bugs.

Fedora 20 has now been rebased to 3.14.4-200.fc20.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you experience different issues, please open a new bug report for those.

Comment 9 Fahad Alduraibi 2014-06-11 18:08:22 UTC
I am on 3.14.5-200.fc20.x86_64 and still have this bug. Bluetooth used to work before, I don't use it much but when i needed it today it wasn't recognized with the same results as the bug reporter.

Comment 10 Fahad Alduraibi 2014-06-11 18:26:52 UTC
I found a fix at http://wireless.kernel.org/en/users/Drivers/ath9k/btcoex which enables Bluetooth coexistence with WIFI and it works for me.

I created a file [bluetooth-fix.conf] under /etc/modprobe.d with this line:
options ath9k btcoex_enable=1

reboot and that is all. Hope it can be fixed so we don't need to do this.

Comment 11 Justin M. Forbes 2014-11-13 15:58:27 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 20 kernel bugs.

Fedora 20 has now been rebased to 3.17.2-200.fc20.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you have moved on to Fedora 21, and are still experiencing this issue, please change the version to Fedora 21.

If you experience different issues, please open a new bug report for those.

Comment 12 Justin M. Forbes 2014-12-10 14:58:44 UTC
This bug is being closed with INSUFFICIENT_DATA as there has not been a response in over 3 weeks. If you are still experiencing this issue, please reopen and attach the relevant data from the latest kernel you are running and any data that might have been requested previously.

Comment 13 Diego 2015-03-10 10:04:00 UTC
This is still a problem on Fedora 20 with all updates as of 10 March 2015.
# uname -a
Linux localhost.localdomain 3.18.7-100.fc20.x86_64 #1 SMP Wed Feb 11 19:01:50 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

# lsusb -d 13d3:3402
Bus 001 Device 003: ID 13d3:3402 IMC Networks

# modprobe -r ath3k
[mar 9 06:11] usbcore: deregistering interface driver ath3k

# modprobe ath3k
[  +7,869333] Bluetooth: Error in firmware loading err = -110,len = 448, size = 4096
[  +0,000008] Bluetooth: Loading patch file failed
[  +0,000006] ath3k: probe of 1-5:1.0 failed with error -110
[  +0,000044] usbcore: registered new interface driver ath3k