You are not logged in.

#1 2021-02-08 12:39:29

mdsp
Member
Registered: 2020-12-19
Posts: 9

[SOLVED] Bluetooth doesn't start

Hello, I'm a newbie on manual configuration with arch linux. I'd installed arch a long time ago but never touched myself that bluetooth was not working.

So I started to search about and found so many articles and posts here in the forum, answering how to solve this problems. However, no one worked...

My problem is: When I start bluetoothctl and try to run "scan on", I receive this message:

Agent registered
[bluetooth]# scan on
No default controller available
[bluetooth]#

Here's my "systemctl status bluetooth":

● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
     Active: active (running) since Mon 2021-02-08 09:23:38 -03; 13min ago
       Docs: man:bluetoothd(8)
   Main PID: 2049 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 9427)
     Memory: 1.8M
     CGroup: /system.slice/bluetooth.service
             └─2049 /usr/lib/bluetooth/bluetoothd

Feb 08 09:23:38 mdsp bluetoothd[2049]: src/main.c:parse_controller_config() Key file does not have key “LEScanIntervalConnect” in group “Controller”
Feb 08 09:23:38 mdsp bluetoothd[2049]: src/main.c:parse_controller_config() Key file does not have key “LEScanWindowConnect” in group “Controller”
Feb 08 09:23:38 mdsp bluetoothd[2049]: src/main.c:parse_controller_config() Key file does not have key “LEMinConnectionInterval” in group “Controller”
Feb 08 09:23:38 mdsp bluetoothd[2049]: src/main.c:parse_controller_config() Key file does not have key “LEMaxConnectionInterval” in group “Controller”
Feb 08 09:23:38 mdsp bluetoothd[2049]: src/main.c:parse_controller_config() Key file does not have key “LEConnectionLatency” in group “Controller”
Feb 08 09:23:38 mdsp bluetoothd[2049]: src/main.c:parse_controller_config() Key file does not have key “LEConnectionSupervisionTimeout” in group “Controller”
Feb 08 09:23:38 mdsp bluetoothd[2049]: src/main.c:parse_controller_config() Key file does not have key “LEAutoconnecttimeout” in group “Controller”
Feb 08 09:23:38 mdsp systemd[1]: Started Bluetooth service.
Feb 08 09:23:38 mdsp bluetoothd[2049]: Starting SDP server
Feb 08 09:23:38 mdsp bluetoothd[2049]: Bluetooth management interface 1.18 initialized

"sudo dmesg | grep -i bluetooth" returns nothing.

I also tried to hard kill the bluwtooth adapter, but no success.

"rfkill" doens't even list bluetooth adapter...

And yes, my notebook has one, once on Windows it worked fine!

TL;DR

Following this topic: https://forum.archlinux-br.org/viewtopic.php?id=10073 and downgrading the kernel for <=5.4 solved the issue (:

Last edited by mdsp (2021-02-20 02:23:04)

Offline

#2 2021-02-08 16:44:47

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 955

Re: [SOLVED] Bluetooth doesn't start

Once you have entered the command bluetoothctl, you need to "power on"  at the [bluetooth]# prompt to power up the BT adapter before you can scan.


Mike C

Offline

#3 2021-02-08 17:27:06

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 737

Re: [SOLVED] Bluetooth doesn't start

Atheros bluetooth? There's an ongoing bug with it that made it not work in kernel 5.10. No idea when and if it'll be fixed.
Only solution to make it work atm is to downgrade linux to 5.9.14.

Offline

#4 2021-02-09 12:27:06

kennfatt
Member
Registered: 2019-06-15
Posts: 1

Re: [SOLVED] Bluetooth doesn't start

I'm currently using this workaround here by BrandomRobor and it just works perfectly fine. Read the repo details for more information about this bug.

Additional information:

Kernel: Linux 5.10.14-zen1-1-zen #1 ZEN SMP PREEMPT Sun, 07 Feb 2021 22:42:36 +0000 x86_64 GNU/Linux
Network Controller: 03:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01)

in case somebody wondering.


Fall in love with C language on the first segmentation fault.

Offline

#5 2021-02-10 18:46:39

d.ALT
Member
Registered: 2019-05-10
Posts: 25

Re: [SOLVED] Bluetooth doesn't start

Same problem here; just update right now (last update was on 07 feb 2021)

bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
     Active: active (running) since Wed 2021-02-10 19:38:34 CET; 1min 2s ago
       Docs: man:bluetoothd(8)
   Main PID: 665 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 19065)
     Memory: 2.6M
     CGroup: /system.slice/bluetooth.service
             └─665 /usr/lib/bluetooth/bluetoothd

feb 10 19:38:34 bluetoothd[665]: src/main.c:parse_controller_config() Key file does not have key “LEMinConnectionInterval” in group “Controller”
feb 10 19:38:34 bluetoothd[665]: src/main.c:parse_controller_config() Key file does not have key “LEMaxConnectionInterval” in group “Controller”
feb 10 19:38:34 bluetoothd[665]: src/main.c:parse_controller_config() Key file does not have key “LEConnectionLatency” in group “Controller”
feb 10 19:38:34 bluetoothd[665]: src/main.c:parse_controller_config() Key file does not have key “LEConnectionSupervisionTimeout” in group “Controller”
feb 10 19:38:34 bluetoothd[665]: src/main.c:parse_controller_config() Key file does not have key “LEAutoconnecttimeout” in group “Controller”
feb 10 19:38:34 systemd[1]: Started Bluetooth service.
feb 10 19:38:34 bluetoothd[665]: Starting SDP server
feb 10 19:38:34 bluetoothd[665]: Bluetooth management interface 1.18 initialized
feb 10 19:38:49 bluetoothd[665]: Endpoint registered: sender=:1.34 path=/MediaEndpoint/A2DPSink/sbc
feb 10 19:38:49 bluetoothd[665]: Endpoint registered: sender=:1.34 path=/MediaEndpoint/A2DPSource/sbc
06:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
        Subsystem: Intel Corporation Device 0084
        Flags: bus master, fast devsel, latency 0, IRQ 36, IOMMU group 14
        Memory at f6400000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [c8] Power Management version 3
        Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [40] Express Endpoint, MSI 00
        Capabilities: [80] MSI-X: Enable+ Count=16 Masked-
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [14c] Latency Tolerance Reporting
        Capabilities: [154] L1 PM Substates
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi
Bus 001 Device 002: ID 8087:0029 Intel Corp. AX200 Bluetooth

Offline

#6 2021-02-11 03:35:25

mdsp
Member
Registered: 2020-12-19
Posts: 9

Re: [SOLVED] Bluetooth doesn't start

no solution... I tried the "btusb" workaround but no succes hmm
I also installed the lts kernel, but nothing changed.
Actually I never got bluetooth working on pure arch linux, only on majaro once.
I can't understand how something can work on another distro and another OS (windows) and now decide not to work haha

Maybe I try to buy an usb adaptar and ignore that the internal one exists...

Offline

#7 2021-02-11 14:30:13

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 737

Re: [SOLVED] Bluetooth doesn't start

I'd advise waiting before purchase, becauseyou can very likely end up with the same issue
(bluetooth is usually connected through internal usb bus on laptops anyway)

Offline

#8 2021-02-14 14:16:05

d.ALT
Member
Registered: 2019-05-10
Posts: 25

Re: [SOLVED] Bluetooth doesn't start

So... My bluetooth always worked before upgrading? Any news about fixing it? Thanks

Offline

#9 2021-02-14 19:00:25

loqs
Member
Registered: 2014-03-06
Posts: 12,987

Re: [SOLVED] Bluetooth doesn't start

d.ALT wrote:

So... My bluetooth always worked before upgrading? Any news about fixing it? Thanks

What upgrade caused the breakage?  You can use the ALA to downgrade the system to a specific date.  So you can identify which day was the first one with the issue and what packages were changed on that date.

Offline

#10 2021-02-17 16:14:17

snock
Member
Registered: 2012-12-05
Posts: 5

Re: [SOLVED] Bluetooth doesn't start

It still works for me even though it gives me the same error.

Bus 001 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

┌─( nicolas ) » { /etc/modprobe.d }
└──┤ sudo systemctl status bluetooth
● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
     Active: active (running) since Wed 2021-02-17 17:12:11 CET; 3min 36s ago
       Docs: man:bluetoothd(8)
   Main PID: 14564 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 19123)
     Memory: 820.0K
     CGroup: /system.slice/bluetooth.service
             └─14564 /usr/lib/bluetooth/bluetoothd

feb 17 17:12:11 RyzenPC bluetoothd[14564]: src/main.c:parse_controller_config() Key file does not have key “LEScanIntervalConnect” in group “Controller”
feb 17 17:12:11 RyzenPC bluetoothd[14564]: src/main.c:parse_controller_config() Key file does not have key “LEScanWindowConnect” in group “Controller”
feb 17 17:12:11 RyzenPC systemd[1]: Started Bluetooth service.
feb 17 17:12:11 RyzenPC bluetoothd[14564]: src/main.c:parse_controller_config() Key file does not have key “LEMinConnectionInterval” in group “Controller”
feb 17 17:12:11 RyzenPC bluetoothd[14564]: src/main.c:parse_controller_config() Key file does not have key “LEMaxConnectionInterval” in group “Controller”
feb 17 17:12:11 RyzenPC bluetoothd[14564]: src/main.c:parse_controller_config() Key file does not have key “LEConnectionLatency” in group “Controller”
feb 17 17:12:11 RyzenPC bluetoothd[14564]: src/main.c:parse_controller_config() Key file does not have key “LEConnectionSupervisionTimeout” in group “Controller”
feb 17 17:12:11 RyzenPC bluetoothd[14564]: src/main.c:parse_controller_config() Key file does not have key “LEAutoconnecttimeout” in group “Controller”
feb 17 17:12:11 RyzenPC bluetoothd[14564]: Starting SDP server
feb 17 17:12:11 RyzenPC bluetoothd[14564]: Bluetooth management interface 1.18 initialized

Last edited by snock (2021-02-17 16:16:20)

Offline

#11 2021-02-20 00:41:43

mdsp
Member
Registered: 2020-12-19
Posts: 9

Re: [SOLVED] Bluetooth doesn't start

mdsp wrote:

no solution... I tried the "btusb" workaround but no succes hmm
I also installed the lts kernel, but nothing changed.
Actually I never got bluetooth working on pure arch linux, only on majaro once.
I can't understand how something can work on another distro and another OS (windows) and now decide not to work haha

Maybe I try to buy an usb adaptar and ignore that the internal one exists...

Well, I decided to buy a dongle bluetooth adapter, and... bluetoothctl doesn't recognize hahahah.

At least the kernel finds the dongle:

ﬦ lsusb | grep -i bluetooth
Bus 002 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

However, blueeothctl:

ﬦ bluetoothctl
Agent registered
[bluetooth]# list
[bluetooth]# power on
No default controller available

That's means that the problem is really on my OS, correct?

Offline

#12 2021-02-20 00:44:23

mdsp
Member
Registered: 2020-12-19
Posts: 9

Re: [SOLVED] Bluetooth doesn't start

I'm finding some posts and topic that using BIOS on UEFI mode breaks the funcionality of bluetooth... I'll try to search more and then post here any updates.

Offline

#13 2021-02-20 01:30:39

mdsp
Member
Registered: 2020-12-19
Posts: 9

Re: [SOLVED] Bluetooth doesn't start

Ok, I found this topic: https://forum.archlinux-br.org/viewtopic.php?id=10073

And, well:

ﬦ lsusb | grep -i blue
Bus 002 Device 007: ID 04ca:3014 Lite-On Technology Corp. Qualcomm Atheros Bluetooth
Bus 002 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

however bluetoothctl stills not recognizing these two controllers... I'll investigate more

Offline

#14 2021-02-24 10:05:57

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 737

Re: [SOLVED] Bluetooth doesn't start

Kernel 5.11.1, Bluez 5.55-3, bluetooth is working as it used to again, at least for me.

Offline

#15 2021-02-24 16:13:30

skeve
Member
Registered: 2021-02-24
Posts: 1

Re: [SOLVED] Bluetooth doesn't start

after upgrading to kernel 5.11.1 my Bluetooth adapter (Bus 002 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)) stopped working; downgrading the kernel to 5.10.9 solved the problem

the errors in the log with 5.11.1 kernel:

kernel: Bluetooth: hci0: command 0x1001 tx timeout
Bluetooth: hci0: CSR: Local version failed (-110)

Offline

Board footer

Powered by FluxBB