You are not logged in.

#1 2014-06-30 17:11:34

kristopher004
Member
Registered: 2014-06-30
Posts: 33

Atheros AR3011 Bluetooth not showing up in devices list

Hi, I'm new to the forums here. Been trying to get Bluetooth to work, any help is appreciated.

$ uname -r
3.15.2-1-ARCH

Devices shows up empty:

# modprobe btusb
# systemctl start bluetooth
# hcitool dev
Devices:
# 
# bluetoothctl
# power on
No default controller available

But adapter shows up in lsusb:

# lsusb | grep Atheros
Bus 004 Device 003: ID 0cf3:3002 Atheros Communications, Inc. AR3011 Bluetooth

I found these messages:

# dmesg | grep ath3k
[   36.716970] ath3k: probe of 4-1.3:1.0 failed with error -110
[   36.716997] usbcore: registered new interface driver ath3k
# dmesg | grep Bluetooth
[   31.710916] Bluetooth: Core ver 2.19
[   31.710923] Bluetooth: HCI device and connection manager initialized
[   31.710928] Bluetooth: HCI socket layer initialized
[   31.710929] Bluetooth: L2CAP socket layer initialized
[   31.710935] Bluetooth: SCO socket layer initialized
[   36.716952] Bluetooth: Can't change to loading configuration err
[   45.369390] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   45.369392] Bluetooth: BNEP filters: protocol multicast
[   45.369397] Bluetooth: BNEP socket layer initialized
# 

I used to see "Can't change to loading configuration err" on boot up but haven't for the last few days. 

]# journalctl | grep Bluetooth
Jun 23 16:01:13 iDONTBSOD kernel: Bluetooth: Core ver 2.19
Jun 23 16:01:13 iDONTBSOD kernel: Bluetooth: HCI device and connection manager initialized
Jun 23 16:01:13 iDONTBSOD kernel: Bluetooth: HCI socket layer initialized
Jun 23 16:01:13 iDONTBSOD kernel: Bluetooth: L2CAP socket layer initialized
Jun 23 16:01:13 iDONTBSOD kernel: Bluetooth: SCO socket layer initialized
Jun 23 16:01:18 iDONTBSOD kernel: Bluetooth: Can't change to loading configuration err
Jun 23 16:15:57 iDONTBSOD kernel: Bluetooth: Core ver 2.19
.
.
.
Jun 25 15:14:50 iDONTBSOD kernel: Bluetooth: Can't change to loading configuration err
Jun 25 15:36:54 iDONTBSOD kernel: Bluetooth: Core ver 2.19
Jun 25 15:36:54 iDONTBSOD kernel: Bluetooth: HCI device and connection manager initialized
Jun 25 15:36:54 iDONTBSOD kernel: Bluetooth: HCI socket layer initialized
Jun 25 15:36:54 iDONTBSOD kernel: Bluetooth: L2CAP socket layer initialized
Jun 25 15:36:54 iDONTBSOD kernel: Bluetooth: SCO socket layer initialized
Jun 25 15:36:59 iDONTBSOD kernel: Bluetooth: Can't change to loading configuration err

I have a evga 150-SE-E789-KR motherboard, looks like the Bluetooth module is hardwired into a usb port.


These threads may be relevant:

https://bbs.archlinux.org/viewtopic.php?pid=1260481
https://bugzilla.kernel.org/show_bug.cgi?id=42442
https://bugzilla.kernel.org/show_bug.cgi?id=27402

Offline

#2 2014-07-01 13:49:11

qinohe
Member
From: Netherlands
Registered: 2012-06-20
Posts: 1,494

Re: Atheros AR3011 Bluetooth not showing up in devices list

Hi, welcome to Arch. It looks like you suffer the same bug I do, have a look at:

https://bugs.archlinux.org/task/40902
https://bugzilla.kernel.org/show_bug.cgi?id=73981

Patching the kernel results a in working system with bluetooth. Running 3.15.3-1 with the patch, works fine.

Offline

#3 2014-07-01 17:27:11

kristopher004
Member
Registered: 2014-06-30
Posts: 33

Re: Atheros AR3011 Bluetooth not showing up in devices list

Hi qinohe, thanks for the help. I tried both linked patches, neither changed anything. On second look my device id isn't in the patch, my device is 0cf3:3002.

Last edited by kristopher004 (2014-07-01 17:34:24)

Offline

#4 2014-07-01 18:01:41

qinohe
Member
From: Netherlands
Registered: 2012-06-20
Posts: 1,494

Re: Atheros AR3011 Bluetooth not showing up in devices list

I see now, and I clearly didn't look good enough. Yes, mine is 0cf3:3005, that's a big difference, sorry for that.
Maybe you could add yourself to the list on bugzilla.kernel.
BTW. did the setup ever work before?

Offline

#5 2014-07-01 18:21:58

kristopher004
Member
Registered: 2014-06-30
Posts: 33

Re: Atheros AR3011 Bluetooth not showing up in devices list

Never worked before, though I just installed arch recently. I'll look into adding myself to the list on bugzilla.kernel.

Offline

#6 2014-07-01 21:22:54

libernux
Member
From: Netherlands
Registered: 2009-09-29
Posts: 53

Re: Atheros AR3011 Bluetooth not showing up in devices list

Have you tried as root

 hciconfig hci0 up

I was born with nothing and I still got most of it

Offline

#7 2014-07-01 21:26:57

kristopher004
Member
Registered: 2014-06-30
Posts: 33

Re: Atheros AR3011 Bluetooth not showing up in devices list

I have, it comes back with "Can't get device info: No such device"

Offline

#8 2014-07-04 08:08:29

sortenoscia
Member
Registered: 2014-05-27
Posts: 2

Re: Atheros AR3011 Bluetooth not showing up in devices list

I did several tests and I found the same problem.
Currently, the Bluetooth works by a downgrade to a kernel version 3.14.
I hope that there will be news with the next updates.

Offline

#9 2014-07-06 14:12:17

Xieshichen
Member
Registered: 2012-01-17
Posts: 12

Re: Atheros AR3011 Bluetooth not showing up in devices list

This seems to work:

# cd /usr/lib/modules/3.15.3-1-ARCH/kernel/drivers/bluetooth/
# cp ath3k.ko.gz ath3k.ko.gz.orig
# cp btusb.ko.gz btusb.ko.gz.orig
# gunzip ath3k.ko.gz
# gunzip btusb.ko.gz
# sed -e 's/\xf3\x0c\x05\x30/\xf3\x0c\x05\xe0/g' ath3k.ko > at.ko
# sed -e 's/\xf3\x0c\x05\x30/\xf3\x0c\x05\xe0/g' btusb.ko > bt.ko
# mv at.ko ath3k.ko
# mv bt.ko btusb.ko
# gzip ath3k.ko
# gzip btusb.ko
# rmmod ath3k
# rmmod btusb
# modprobe btusb
# modprobe ath3k

Offline

#10 2014-07-06 14:27:32

qinohe
Member
From: Netherlands
Registered: 2012-06-20
Posts: 1,494

Re: Atheros AR3011 Bluetooth not showing up in devices list

@Xieshichen, welcome to Arch. Nicely done, this works very well. Also a much easier way than compiling the patch into the kernel:)
Thanks for your solution.

Offline

#11 2014-07-06 15:12:15

kristopher004
Member
Registered: 2014-06-30
Posts: 33

Re: Atheros AR3011 Bluetooth not showing up in devices list

@Xieshichen, thanks! Unfortunetly this does not work for my bluetooth, device id 0cf3:3002.

Offline

#12 2014-07-06 15:36:56

qinohe
Member
From: Netherlands
Registered: 2012-06-20
Posts: 1,494

Re: Atheros AR3011 Bluetooth not showing up in devices list

@Xieshichen, I read the file, but not which topic it was in, you should place it here : https://bbs.archlinux.org/viewtopic.php … 1#p1427871

Offline

#13 2014-07-06 17:23:02

kristopher004
Member
Registered: 2014-06-30
Posts: 33

Re: Atheros AR3011 Bluetooth not showing up in devices list

Lol, OK I'm an idiot, changed the sed lines to match my id and it worked just fine. Thanks Xieshichen and qinohe. The kernal patch probably would have worked as well if I had added my device id.

Offline

#14 2014-07-07 17:43:02

sortenoscia
Member
Registered: 2014-05-27
Posts: 2

Re: Atheros AR3011 Bluetooth not showing up in devices list

@Xieshichen is perfect job! Thanks

Offline

#15 2014-09-26 23:12:54

tehsu
Member
Registered: 2012-08-06
Posts: 6

Re: Atheros AR3011 Bluetooth not showing up in devices list

I'm on kernel 3.16.3 and I have this error. I tried to run the patch and it didnt help. Any ideas what may help?

I have the exact same issues and the same ids as OP

Last edited by tehsu (2014-09-26 23:28:48)

Offline

#16 2014-09-26 23:35:45

kristopher004
Member
Registered: 2014-06-30
Posts: 33

Re: Atheros AR3011 Bluetooth not showing up in devices list

Still works for me with 3.16.3

Offline

#17 2014-09-26 23:38:42

tehsu
Member
Registered: 2012-08-06
Posts: 6

Re: Atheros AR3011 Bluetooth not showing up in devices list

[   15.029162] Bluetooth: Can't change to loading configuration err
[   15.029641] ath3k: probe of 3-7:1.0 failed with error -110
[   15.029672] usbcore: registered new interface driver ath3k


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 002: ID 0451:8041 Texas Instruments, Inc.
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 005: ID 0cf3:3002 Atheros Communications, Inc. AR3011 Bluetooth


Linux 3.16.3-1-ARCH #1 SMP PREEMPT Wed Sep 17 21:54:13 CEST 2014 x86_64 GNU/Linux

Offline

#18 2014-09-26 23:41:22

kristopher004
Member
Registered: 2014-06-30
Posts: 33

Re: Atheros AR3011 Bluetooth not showing up in devices list

Here's the script I use, see if that works for you.

#!/bin/bash
k_version=`uname -r` #Kernel Version
cp /usr/lib/modules/${k_version}/kernel/drivers/bluetooth/ath3k.ko.gz /usr/lib/modules/${k_version}/kernel/drivers/bluetooth/ath3k.ko.gz.orig
cp /usr/lib/modules/${k_version}/kernel/drivers/bluetooth/btusb.ko.gz /usr/lib/modules/${k_version}/kernel/drivers/bluetooth/btusb.ko.gz.orig
gunzip /usr/lib/modules/${k_version}/kernel/drivers/bluetooth/ath3k.ko.gz
gunzip /usr/lib/modules/${k_version}/kernel/drivers/bluetooth/btusb.ko.gz
sed -e 's/\xf3\x0c\x02\x30/\xf3\x0c\x02\xe0/g' /usr/lib/modules/${k_version}/kernel/drivers/bluetooth/ath3k.ko > /usr/lib/modules/${k_version}/kernel/drivers/bluetooth/at.ko
sed -e 's/\xf3\x0c\x02\x30/\xf3\x0c\x02\xe0/g' /usr/lib/modules/${k_version}/kernel/drivers/bluetooth/btusb.ko > /usr/lib/modules/${k_version}/kernel/drivers/bluetooth/bt.ko
mv /usr/lib/modules/${k_version}/kernel/drivers/bluetooth/at.ko /usr/lib/modules/${k_version}/kernel/drivers/bluetooth/ath3k.ko
mv /usr/lib/modules/${k_version}/kernel/drivers/bluetooth/bt.ko /usr/lib/modules/${k_version}/kernel/drivers/bluetooth/btusb.ko
gzip /usr/lib/modules/${k_version}/kernel/drivers/bluetooth/ath3k.ko
gzip /usr/lib/modules/${k_version}/kernel/drivers/bluetooth/btusb.ko
rmmod ath3k
rmmod btusb
modprobe btusb
modprobe ath3k

Offline

#19 2014-09-26 23:44:01

tehsu
Member
Registered: 2012-08-06
Posts: 6

Re: Atheros AR3011 Bluetooth not showing up in devices list

yup, fixed it, thanks man

Offline

#20 2016-06-04 19:18:54

rogue_ronin
Member
Registered: 2014-12-31
Posts: 8

Re: Atheros AR3011 Bluetooth not showing up in devices list

I know this is necro-posting, but thank the nordic pantheon that y'all documented this!  Been going crazy!

That script worked a treat with the LTS kernel (4.4.11 as of today.)  I've been trying different kernels looking for a solution.

I'm going to give it a twirl on the latest kernel.

Much aloha!

Offline

#21 2016-06-04 21:19:11

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

Re: Atheros AR3011 Bluetooth not showing up in devices list

You know it is necrobumping, but you do it anyway with an empty post... Don't.


Closing


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB