0cf3:3004 Bluetooth driver is not being loaded

Bug #1451689 reported by THuis on 2015-05-05
50
This bug affects 9 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Medium
Unassigned

Bug Description

Linux MedSpecPro 3.19.0-16-generic #16-Ubuntu SMP Thu Apr 30 16:09:58 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

[ 8.411052] usb 3-1.3: Direct firmware load for ar3k/AthrBT_0x00000200.dfu failed with error -2
[ 8.411058] Bluetooth: Patch file not found ar3k/AthrBT_0x00000200.dfu
[ 8.411060] Bluetooth: Loading patch file failed
[ 8.411066] ath3k: probe of 3-1.3:1.0 failed with error -2

/lib/firmware/ar3k/
-rw-r--r-- 1 root root 55244 nov 24 16:42 AthrBT_0x01020001.dfu
-rw-r--r-- 1 root root 40724 nov 24 16:42 AthrBT_0x01020200.dfu
-rw-r--r-- 1 root root 19164 dec 1 16:16 AthrBT_0x01020201.dfu
-rw-r--r-- 1 root root 36828 nov 24 16:42 AthrBT_0x11020000.dfu
-rw-r--r-- 1 root root 40652 nov 24 16:42 AthrBT_0x31010000.dfu
-rw-r--r-- 1 root root 31500 dec 1 16:16 AthrBT_0x41020000.dfu
-rw-r--r-- 1 root root 1224 nov 24 16:42 ramps_0x01020001_26.dfu
-rw-r--r-- 1 root root 1274 nov 24 16:42 ramps_0x01020200_26.dfu
-rw-r--r-- 1 root root 1204 nov 24 16:42 ramps_0x01020200_40.dfu
-rw-r--r-- 1 root root 264 dec 1 16:16 ramps_0x01020201_26.dfu
-rw-r--r-- 1 root root 264 dec 1 16:16 ramps_0x01020201_40.dfu
-rw-r--r-- 1 root root 1796 nov 24 16:42 ramps_0x11020000_40.dfu
-rw-r--r-- 1 root root 1926 nov 24 16:42 ramps_0x31010000_40.dfu
-rw-r--r-- 1 root root 1820 dec 1 16:16 ramps_0x41020000_40.dfu

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: linux-image-3.19.0-16-generic 3.19.0-16.16
ProcVersionSignature: Ubuntu 3.19.0-16.16-generic 3.19.3
Uname: Linux 3.19.0-16-generic x86_64
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: tycho 3531 F.... pulseaudio
 /dev/snd/controlC0: tycho 3531 F.... pulseaudio
CurrentDesktop: GNOME
Date: Tue May 5 09:06:53 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-03-24 (41 days ago)
InstallationMedia: Ubuntu-GNOME 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
MachineType: Micro-Star International Co., Ltd. GS60 2QE
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=nl_NL.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-16-generic.efi.signed root=UUID=885993d1-0564-4a6a-993a-4c02de1855ee ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.19.0-16-generic N/A
 linux-backports-modules-3.19.0-16-generic N/A
 linux-firmware 1.143
RfKill:

SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/07/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: E16H5IMS.10C
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: MS-16H5
dmi.board.vendor: Micro-Star International Co., Ltd.
dmi.board.version: REV:0.B
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrE16H5IMS.10C:bd11/07/2014:svnMicro-StarInternationalCo.,Ltd.:pnGS602QE:pvrREV1.0:rvnMicro-StarInternationalCo.,Ltd.:rnMS-16H5:rvrREV0.B:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: GS60 2QE
dmi.product.version: REV:1.0
dmi.sys.vendor: Micro-Star International Co., Ltd.

THuis (tycho-z) wrote :

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed

Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.0 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.1-rc2-vivid/

Changed in linux (Ubuntu):
importance: Undecided → Medium
importance: Medium → High

Tested it with 4.0
Same error.

[ 3.193741] Bluetooth: Core ver 2.20
[ 3.193751] NET: Registered protocol family 31
[ 3.193752] Bluetooth: HCI device and connection manager initialized
[ 3.193755] Bluetooth: HCI socket layer initialized
[ 3.193756] Bluetooth: L2CAP socket layer initialized
[ 3.193760] Bluetooth: SCO socket layer initialized
[ 3.195571] usbcore: registered new interface driver btusb
[ 3.198879] usb 3-1.3: Direct firmware load for ar3k/AthrBT_0x00000200.dfu failed with error -2
[ 3.198883] Bluetooth: Patch file not found ar3k/AthrBT_0x00000200.dfu
[ 3.198885] Bluetooth: Loading patch file failed
[ 3.198890] ath3k: probe of 3-1.3:1.0 failed with error -2
[ 3.198914] usbcore: registered new interface driver ath3k

sorry for including my details, can i remove them?

THuis (tycho-z) wrote :

tested 4.1 rc2
same result.

Tycho Huisman, did this problem not occur in a release prior to Vivid?

BTW, you may click the "Hide" button on any of your comments to remove them from view.

tags: added: kernel-bug-exists-upstream kernel-bug-exists-upstream-4.1-rc2
Changed in linux (Ubuntu):
importance: High → Medium
status: Confirmed → Incomplete
THuis (tycho-z) wrote :

Yes, this has always been there.

THuis, please define "always been there". Since what release back specifically?

THuis (tycho-z) wrote :

Christopher,

Sorry, for unclear reply.

It was a fresh install on new system using with 14.10.

tags: added: utopic
tags: added: bios-outdated-10d
Sumit Khanna (notify-8) wrote :

I'm having the same issue on my MSI WS-60 laptop running Gentoo / kernel: 4.0.0-wl-ath+ (kvalo's ath kernel fork). Recently someone was able to get Wi-fi working by extracting the firmware from the windows drivers. I realize the Wi-Fi is the ath10k and the bluetooth is the ath3k, but I have a felling these chips are most likely bundled together on newer laptops.

See: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1383184

THuis (tycho-z) wrote :

Christopher,

This is part of the dmesg,

[ 3.198996] usbcore: registered new interface driver btusb
[ 3.202673] usb 3-1.3: Direct firmware load for ar3k/ramps_0x00000200_0.dfu failed with error -2
[ 3.202678] Bluetooth: Configuration file not found ar3k/ramps_0x00000200_0.dfu
[ 3.202680] Bluetooth: Loading sysconfig file failed
[ 3.202687] ath3k: probe of 3-1.3:1.0 failed with error -2
[ 3.202720] usbcore: registered new interface driver ath3k

Running kernel:
Linux MedSpecPro 4.1.0-040100rc2-generic #201505032335 SMP Mon May 4 03:36:35 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

bios output:
E16H5IMS.10D
12/19/2014

is this the info you need?

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
tags: added: latest-bios-10d
removed: bios-outdated-10d

THuis, the issue you are reporting is an upstream one. Could you please report this problem to the appropriate mailing list (linux-bluetooth) by following the instructions verbatim at https://wiki.ubuntu.com/Bugs/Upstream/kernel ?

Please provide a direct URL to your e-mail to the mailing list once you have made it so that it may be tracked via http://vger.kernel.org/vger-lists.html . It can take a day for the new e-mail to show up in the respective archive.

Thank you for your understanding.

Changed in linux (Ubuntu):
status: Confirmed → Triaged
THuis (tycho-z) wrote :

wil do that Christopher, thanks for al the help!

summary: - Bluetooth driver is nog being loaded
+ 0cf3:3004 Bluetooth driver is not being loaded
Sumit Khanna (notify-8) wrote :

I couldn't find this on the Linux kernel-bluetooth mailing list. I went ahead and subscribed and submitted it (accidentally sent it twice). Here is a link to the thread:

http://www.spinics.net/lists/linux-bluetooth/msg62106.html

No one has responded. I'd like to work on this problem, but I haven't done any kernel debugging and am not sure where to being. I've looked through `drivers/bluetooth/ath3k.c` and it seems like my device's USB ID is listed in there under the correct device.

Where do I go from here?

Sumit Khanna, it appears you didn't read much of https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1451689/comments/14 , as you are missing 90%+ of all information required for upstream to begin reviewing your issue.

FWIW, it looks like the windows drivers at http://www.killernetworking.com/support/driver-downloads contain patch and ramp files that look like they should match (at least, the names are correct). However, the binary format doesn't appear to match the other patch and ramp files (e.g. the last 8 bytes of the patch file aren't the rom version and build version).

Are we supposed to be able to use these out-of-the-box, or is there some preprocessing that needs to happen? Or did qualcomm just completely change the format?

Pilot6 (hanipouspilot) wrote :

This

[ 3.202673] usb 3-1.3: Direct firmware load for ar3k/ramps_0x00000200_0.dfu failed with error -2
[ 3.202678] Bluetooth: Configuration file not found ar3k/ramps_0x00000200_0.dfu

is weird.

There are no such firmware files in Windows drivers.

Please try to install this deb and test.

https://launchpad.net/~hanipouspilot/+archive/ubuntu/rtlwifi/+files/linux-firmware_1.144%2Bar3012_all.deb

I installed this .deb and reboot, still have the same line in dmesg

[ 12.077827] Bluetooth: Patch file not found ar3k/AthrBT_0x00000200.dfu

However I have a MSI gt72 2QE which may require different driver.
see duplicate bug I reported.

Mike Ellertson (mdellertson) wrote :

I'm on an MSI Dominator GT72 2QD, and have the wifi working by implementing the following bug fix, but bluetooth isn't working.
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1383184

I'm running Ubuntu 15.10, here's my specific version:
$ uname -a
Linux 4.2.0-22-generic #27-Ubuntu SMP Thu Dec 17 22:57:08 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

$ lsusb
Bus 003 Device 003: ID 0cf3:3004 Atheros Communications, Inc. AR3012 Bluetooth 4.0

$ dmesg | egrep 'Bluetooth|bluetooth|ath3k|BT'
[ 9.223764] Bluetooth: Core ver 2.20
[ 9.223778] Bluetooth: HCI device and connection manager initialized
[ 9.223781] Bluetooth: HCI socket layer initialized
[ 9.223783] Bluetooth: L2CAP socket layer initialized
[ 9.223788] Bluetooth: SCO socket layer initialized
[ 9.520130] usb 3-1.3: Direct firmware load for ar3k/AthrBT_0x00000200.dfu failed with error -2
[ 9.520133] Bluetooth: Patch file not found ar3k/AthrBT_0x00000200.dfu
[ 9.520178] Bluetooth: Loading patch file failed
[ 9.520220] ath3k: probe of 3-1.3:1.0 failed with error -2
[ 9.520241] usbcore: registered new interface driver ath3k
[ 42.186848] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 42.186851] Bluetooth: BNEP filters: protocol multicast
[ 42.186854] Bluetooth: BNEP socket layer initialized

I have the same problem in my MSI GS60 2QC Ghost.

uname -a
Linux tove 4.2.0-23-lowlatency #28-Ubuntu SMP PREEMPT Sun Dec 27 18:28:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

lsusb | grep -i blue
Bus 003 Device 003: ID 0cf3:3004 Atheros Communications, Inc. AR3012 Bluetooth 4.0

dmesg | egrep 'Bluetooth|bluetooth|ath3k|BT'
[ 2.968665] Bluetooth: Core ver 2.20
[ 2.968676] Bluetooth: HCI device and connection manager initialized
[ 2.968679] Bluetooth: HCI socket layer initialized
[ 2.968681] Bluetooth: L2CAP socket layer initialized
[ 2.968685] Bluetooth: SCO socket layer initialized
[ 2.986121] usb 3-1.3: Direct firmware load for ar3k/AthrBT_0x00000200.dfu failed with error -2
[ 2.986126] Bluetooth: Patch file not found ar3k/AthrBT_0x00000200.dfu
[ 2.989118] Bluetooth: Loading patch file failed
[ 2.990939] ath3k: probe of 3-1.3:1.0 failed with error -2
[ 2.990989] usbcore: registered new interface driver ath3k
[ 9.138001] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 9.138003] Bluetooth: BNEP filters: protocol multicast
[ 9.138007] Bluetooth: BNEP socket layer initialized

Does anyone have found a solution?

Brad Parker (cbparker) wrote :

I'm not aware of a solution, I tried using the firmware of the same filename from Windows but it failed to load it.

Brad Parker (cbparker) wrote :

There is a similar kernel bug here: https://bugzilla.kernel.org/show_bug.cgi?id=99371

But I have not tried the solution yet.

chevrier (tc-s) wrote :

same problem here - apologies for being blur, but what is the exact solution, if any?

looks like we're all getting the exact same display, no?
here's mine...

lsusb
Bus 001 Device 003: ID 0cf3:3004 Atheros Communications, Inc. AR3012 Bluetooth 4.0

dmesg | egrep 'Bluetooth|bluetooth|ath3k|BT'
[ 3.891391] Bluetooth: Core ver 2.20
[ 3.891401] Bluetooth: HCI device and connection manager initialized
[ 3.891404] Bluetooth: HCI socket layer initialized
[ 3.891406] Bluetooth: L2CAP socket layer initialized
[ 3.891410] Bluetooth: SCO socket layer initialized
[ 5.469622] usb 1-9: Direct firmware load for ar3k/AthrBT_0x00000200.dfu failed with error -2
[ 5.469627] Bluetooth: Patch file not found ar3k/AthrBT_0x00000200.dfu
[ 5.469628] Bluetooth: Loading patch file failed
[ 5.469634] ath3k: probe of 1-9:1.0 failed with error -2
[ 5.469665] usbcore: registered new interface driver ath3k
[ 10.664270] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 10.664274] Bluetooth: BNEP filters: protocol multicast
[ 10.664277] Bluetooth: BNEP socket layer initialized

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.