You are not logged in.

#1 2016-04-21 09:07:04

qmarlats
Member
Registered: 2015-11-29
Posts: 9

[SOLVED] Bluetooth (AR3012, Atheros 1525) not working

Hey all!

Since I use Linux, even with kernel updates, bluetooth still not working. :-( I have a Qualcomm Atheros 1525/QCA6174 with bluetooth "AR3012". I think there are solutions but I don't know how to patch Linux so bluetooth still doesn't working for me. :-(

dmesg | grep -i bluetooth
[    2.067164] Bluetooth: Core ver 2.21
[    2.067181] Bluetooth: HCI device and connection manager initialized
[    2.067185] Bluetooth: HCI socket layer initialized
[    2.067188] Bluetooth: L2CAP socket layer initialized
[    2.067195] Bluetooth: SCO socket layer initialized
[    2.088958] Bluetooth: Patch file not found ar3k/AthrBT_0x00000200.dfu
[    2.090581] Bluetooth: Loading patch file failed
[ 1693.239088] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 1693.239093] Bluetooth: BNEP filters: protocol multicast
[ 1693.239098] Bluetooth: BNEP socket layer initialized

I think the solution is here post #8 and #17 but I don't know how to apply them.

Thanks! :-)

Last edited by qmarlats (2016-04-22 14:41:35)

Offline

#2 2016-04-21 10:07:06

qmarlats
Member
Registered: 2015-11-29
Posts: 9

Re: [SOLVED] Bluetooth (AR3012, Atheros 1525) not working

Wow I've done it!!!!! After months of searches!!!!! big_smile

Okay, if beginners like me want to know how I done that:

Follow exactly this tutorial: https://wiki.archlinux.org/index.php/Co … nel_module
When you download kernel, go to: https://www.kernel.org/pub/linux/kernel/v4.x/ and download the exact same version as you (for me it was linux-4.5.tar.gz).
Then instead of patching fs/btrfs like in the tutorial, patch drivers/bluetooth
And before doing that, create a file named "diff" with this content:

--- a/drivers/bluetooth/btusb.c	2015-12-31 05:08:23.080104409 +0100
+++ b/drivers/bluetooth/btusb.c	2015-12-31 05:08:11.210104749 +0100
@@ -197,7 +197,6 @@
 	{ USB_DEVICE(0x0930, 0x0227), .driver_info = BTUSB_ATH3012 },
 	{ USB_DEVICE(0x0b05, 0x17d0), .driver_info = BTUSB_ATH3012 },
 	{ USB_DEVICE(0x0cf3, 0x0036), .driver_info = BTUSB_ATH3012 },
-	{ USB_DEVICE(0x0cf3, 0x3004), .driver_info = BTUSB_ATH3012 },
 	{ USB_DEVICE(0x0cf3, 0x3008), .driver_info = BTUSB_ATH3012 },
 	{ USB_DEVICE(0x0cf3, 0x311d), .driver_info = BTUSB_ATH3012 },
 	{ USB_DEVICE(0x0cf3, 0x311e), .driver_info = BTUSB_ATH3012 },
@@ -226,6 +225,7 @@
 	{ USB_DEVICE(0x0489, 0xe03c), .driver_info = BTUSB_ATH3012 },
 
 	/* QCA ROME chipset */
+	{ USB_DEVICE(0x0cf3, 0x3004), .driver_info = BTUSB_QCA_ROME },
 	{ USB_DEVICE(0x0cf3, 0xe007), .driver_info = BTUSB_QCA_ROME },
 	{ USB_DEVICE(0x0cf3, 0xe300), .driver_info = BTUSB_QCA_ROME },
 	{ USB_DEVICE(0x0cf3, 0xe360), .driver_info = BTUSB_QCA_ROME },

And apply this patch:

patch -p0 < diff

Then follow the tutorial and it works!! big_smile
(So happy ^^ )

Offline

#3 2016-04-21 17:49:17

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Bluetooth (AR3012, Atheros 1525) not working

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB