You are not logged in.
Pages: 1
Topic closed
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
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
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
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
Never worked before, though I just installed arch recently. I'll look into adding myself to the list on bugzilla.kernel.
Offline
Have you tried as root
hciconfig hci0 up
I was born with nothing and I still got most of it
Offline
I have, it comes back with "Can't get device info: No such device"
Offline
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
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
@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
@Xieshichen, thanks! Unfortunetly this does not work for my bluetooth, device id 0cf3:3002.
Offline
@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
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
@Xieshichen is perfect job! Thanks
Offline
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
Still works for me with 3.16.3
Offline
[ 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
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
yup, fixed it, thanks man
Offline
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
You know it is necrobumping, but you do it anyway with an empty post... Don't.
Closing
Offline
Pages: 1
Topic closed