You are not logged in.

#1 2021-11-20 18:27:38

lokjo
Member
Registered: 2021-11-20
Posts: 9

Bluetooth not working on Kernel 5.15

I have a Dell Latitude E5550 laptop with an Intel 7265 wifi/bluetooth card.

When I run power on in bluetoothctl it says "No default controller available". The bluetooth service is running, if I check it with "systemctl status bluetooth".

I get this command failed message in the output of "dmesg | grep -i bluetooth"

[    2.634812] Bluetooth: Core ver 2.22
[    2.634843] NET: Registered PF_BLUETOOTH protocol family
[    2.634845] Bluetooth: HCI device and connection manager initialized
[    2.634850] Bluetooth: HCI socket layer initialized
[    2.634853] Bluetooth: L2CAP socket layer initialized
[    2.634858] Bluetooth: SCO socket layer initialized
[    4.077788] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    4.077794] Bluetooth: BNEP filters: protocol multicast
[    4.077799] Bluetooth: BNEP socket layer initialized
[    4.078219] random: bluetoothd: uninitialized urandom read (4 bytes read)
[    4.852835] Bluetooth: hci0: Reading Intel version command failed (-110)
[    4.852838] Bluetooth: hci0: command 0xfc05 tx timeout

It works fine when I downgrade to for example the 5.14.16 Kernel and also on the linux-lts Kernel version. I tried all the 5.15 versions in the Arch Archive, bluetooth didn't work with them.

Does anybody know anything about this problem? Should I report it to the Kernel bugzilla or is there anything else I should try to do?

Last edited by lokjo (2022-01-27 15:46:12)

Offline

#2 2021-11-21 07:18:43

crc2021
Member
Registered: 2021-11-21
Posts: 1

Re: Bluetooth not working on Kernel 5.15

I have the same problem with Intel 3165 wifi/bluetooth card on 5.15 kernel. Downgrade to 5.14.18 and bluetooth works fine. It shall be a kernel bug.

Offline

#3 2021-11-21 13:04:41

lokjo
Member
Registered: 2021-11-20
Posts: 9

Re: Bluetooth not working on Kernel 5.15

I noticed that when I do a shut down and turn my laptop back on, then bluetooth works on the 5.15 kernel. However when I do a restart and boot into 5.15, it doesn't work, I get the error messages above.

On earlier kernel versions it works with both shut down and restart.

I am also running a Windows dual boot. However the behavior still occurs when I restart from Linux with bluetooth working right back into Linux.

Offline

#4 2021-11-21 14:28:42

petrvelicka
Member
Registered: 2021-11-21
Posts: 1

Re: Bluetooth not working on Kernel 5.15

Same with my ASUS TP412FA and Intel Corp. Bluetooth 9460/9560 Jefferson Peak (JfP). Bluetooth works with linux 5.14 (and linux-lts) but as soon as I boot the new 5.15 kernel, bluetooth stops working (it doesn't even show in lsusb).

Offline

#5 2021-11-21 14:51:07

pezmarino
Member
Registered: 2015-07-24
Posts: 27

Re: Bluetooth not working on Kernel 5.15

Me too. Bluetooth is not working

Offline

#6 2021-11-21 16:21:30

lokjo
Member
Registered: 2021-11-20
Posts: 9

Re: Bluetooth not working on Kernel 5.15

Do you guys have the same situation that when you do a shut down and then turn your computer back on (i.e. not a restart, but a shut down), then bluetooth works on 5.15?

And are you also running a dual boot system?

Offline

#7 2021-11-21 16:43:41

damentz
Member
Registered: 2021-11-21
Posts: 1

Re: Bluetooth not working on Kernel 5.15

This will be fixed in 5.15.4, but if you're building your own kernel, the patch that needs reverting (in 5.15.4 release candidate patches), is:
https://git.kernel.org/pub/scm/linux/ke … ebc5ec8039

The original issue that brought this to my attention was: https://github.com/zen-kernel/zen-kernel/issues/260

EDIT: And the LKML thread with the original report + git bisection: https://lore.kernel.org/lkml/371c6dde-e … ail.com/T/

Last edited by damentz (2021-11-21 16:48:51)

Offline

#8 2021-11-21 21:31:36

chrislea
Member
Registered: 2021-11-21
Posts: 3

Re: Bluetooth not working on Kernel 5.15

Thanks for the info. Seeing the same on two different laptops with Intel Bluetooth cards. Both linux and linux-zen 5.15.3 don't see the devices as far as I can tell. The LTS kernel works fine for both. Hopefully 5.15.4 will land soon.

Offline

#9 2021-11-22 13:33:42

burafino
Member
From: London
Registered: 2009-12-07
Posts: 19
Website

Re: Bluetooth not working on Kernel 5.15

damentz wrote:

This will be fixed in 5.15.4

Today's update to 5.15.4 in official repos didn't fix it for me on Intel AC 3165.
Cold booting into Arch - BT works alright in Gnome.
Restarting into Arch - BT doesn't work in Gnome.
Putting the laptop to sleep and then waking it up again makes BT work fine even if it wasn't.

Offline

#10 2021-11-22 14:17:39

c02y
Member
Registered: 2021-11-22
Posts: 1

Re: Bluetooth not working on Kernel 5.15

I thought this is my issue, two days ago I used some script to convert my Manjaro to ArchLinux, a lot of issues occurred to me and I fixed all of them, I installed LTS kernel when I was using that script, Bluetooth works fine.

After that, I install the normal linux kernel which is 5.15.x, but the Bluetooth doesn't work, the `btusb` mod is not even loaded after boot, I manually load it and restart Bluetooth service, it is still not working.

I tried linux-zen again which is 5.15.x, it is not working either, I trid linux-hardended which is 5.14.x, it finally works. So I am about to post an issue here, glad I found this thread and found it is the kernel's fault.

**UPDATE**
5.15.4 is released, and Bluetooth works again.

Last edited by c02y (2021-11-22 14:39:48)

Offline

#11 2021-11-22 17:23:06

1ptb3b
Member
Registered: 2017-01-17
Posts: 82

Re: Bluetooth not working on Kernel 5.15

I'm on a XPS 13 9310.

Here's some system info.

$ lspci -k -s 00:14.3
00:14.3 Network controller: Intel Corporation Wi-Fi 6 AX201 (rev 20)
        Subsystem: Rivet Networks Device 1651
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi

$ lsmod | grep "btusb"
btusb                  65536  0
btrtl                  28672  1 btusb
btbcm                  24576  1 btusb
btintel                45056  1 btusb
bluetooth             749568  13 btrtl,btintel,btbcm,bnep,btusb

This kernel broke Bluetooth for me.

$ uname -r
5.15.3-arch1-1

This kernel fixed Bluetooth for me.

$ uname -r
5.15.4-arch1-1

Last edited by 1ptb3b (2021-11-22 17:23:26)

Offline

#12 2021-11-22 18:55:01

lokjo
Member
Registered: 2021-11-20
Posts: 9

Re: Bluetooth not working on Kernel 5.15

For me 5.15.4.arch1-1 still does not work, same problem as with earlier 5.15 versions.

Offline

#13 2021-11-24 20:21:49

SolarBoyMatt
Member
Registered: 2012-01-07
Posts: 263

Re: Bluetooth not working on Kernel 5.15

Me neither, still no luck on 5.15.4.arch1-1

Bluetooth still only works if I boot into Windows 11 first, and then reboot into Arch

$ uname -r                      
5.15.4-arch1-1
$ sudo dmesg | grep -i bluetooth             
[    1.577672] Bluetooth: Core ver 2.22
[    1.577685] NET: Registered PF_BLUETOOTH protocol family
[    1.577686] Bluetooth: HCI device and connection manager initialized
[    1.577689] Bluetooth: HCI socket layer initialized
[    1.577690] Bluetooth: L2CAP socket layer initialized
[    1.577696] Bluetooth: SCO socket layer initialized
[    1.695407] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    1.695410] Bluetooth: BNEP filters: protocol multicast
[    1.695412] Bluetooth: BNEP socket layer initialized
[    3.734679] Bluetooth: hci0: command 0xfc05 tx timeout
[    3.734689] Bluetooth: hci0: Reading Intel version command failed (-110)
$ bluetoothctl show
No default controller available
$ lspci | grep Intel    
29:00.0 Network controller: Intel Corporation Dual Band Wireless-AC 3168NGW [Stone Peak] (rev 10)

Offline

#14 2021-12-06 09:32:15

The_Connaisseur
Member
From: Germany, various parts of it.
Registered: 2006-08-10
Posts: 18

Re: Bluetooth not working on Kernel 5.15

burafino wrote:

Today's update to 5.15.4 in official repos didn't fix it for me on Intel AC 3165.
Cold booting into Arch - BT works alright in Gnome.
Restarting into Arch - BT doesn't work in Gnome.
Putting the laptop to sleep and then waking it up again makes BT work fine even if it wasn't.

For me (w/ Intel WiFi 3165 + kernel 5.15.6-arch2-1) above described behavior is still true. Also it's described "work around".

Any more recent knowledge updates available on this issue?


Prefer anything that tastes like UNIX and beer.

Offline

#15 2021-12-07 13:28:49

foxie
Member
Registered: 2021-04-20
Posts: 4

Re: Bluetooth not working on Kernel 5.15

Couldn't get it working today on my Intel AX200, turns out all I had to do was

rmmod btusb
rmmod btintel

modprobe btintel
modprobe btusb

Offline

#16 2021-12-09 23:42:52

lokjo
Member
Registered: 2021-11-20
Posts: 9

Re: Bluetooth not working on Kernel 5.15

I bisected the kernel to find the problematic commits and reported the regression to the mailing lists:

https://lore.kernel.org/regressions/CAJ … l.com/T/#u

Hopefully there will be a fix some time.

Offline

#17 2021-12-25 16:56:17

lula
Member
Registered: 2009-07-16
Posts: 71

Re: Bluetooth not working on Kernel 5.15

I'm still having the same problem on a Fujitsu lifebook A557 with all the 5.15 kernel releases. Does the problem still exists on your machines?

Edit: Merry Christmas!

Last edited by lula (2021-12-25 16:57:30)

Offline

#18 2021-12-26 21:54:02

alxndr13
Member
Registered: 2016-09-22
Posts: 13

Re: Bluetooth not working on Kernel 5.15

Problem still exists on my machine, latest 5.15 does not work. Currently running the other LTS Release (5.10) as it works there. Also using the AX200.

Offline

#19 2021-12-30 14:57:20

ccpetersen
Member
Registered: 2021-12-30
Posts: 1

Re: Bluetooth not working on Kernel 5.15

Bluetooth issues:
Intel Corporation Dual Band Wireless-AC 3168NGW [Stone Peak] (rev 10)
Bluetooth works on kernel 5.14.21-2-MANJARO
Bluetooth fails on 5.15.7-1
No dual boot

Last edited by ccpetersen (2021-12-30 20:06:16)

Offline

#20 2021-12-31 08:51:12

agh
Member
Registered: 2021-12-30
Posts: 1

Re: Bluetooth not working on Kernel 5.15

I have the problem too. when i restart pc bluetooth work but wifi is not work.
Pc : ROG Strix G17 G713
Wi-Fi 6(802.11ax)+Bluetooth 5.1 (Dual band)
not dual boot.
I have onyl wired connect. Sometime wireless work and connected but i have no internet.

Offline

#21 2022-01-06 12:32:38

lula
Member
Registered: 2009-07-16
Posts: 71

Re: Bluetooth not working on Kernel 5.15

Bluetooth is working for me on 5.15.12-arch1-1 by replacing btusb module with a patched version mentioned in https://bugzilla.kernel.org/show_bug.cgi?id=215167#c13

My hardware

02:00.0 Network controller [0280]: Intel Corporation Wireless 7265 [8086:095a] (rev 61)
        Subsystem: Intel Corporation Dual Band Wireless-AC 7265 [8086:5010]
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi

Bus 001 Device 003: ID 8087:0a2a Intel Corp. Bluetooth wireless interface

Offline

#22 2022-01-07 14:09:56

getcha
Member
Registered: 2016-10-28
Posts: 13

Re: Bluetooth not working on Kernel 5.15

lula wrote:

Bluetooth is working for me on 5.15.12-arch1-1 by replacing btusb module with a patched version mentioned in https://bugzilla.kernel.org/show_bug.cgi?id=215167#c13

My hardware

02:00.0 Network controller [0280]: Intel Corporation Wireless 7265 [8086:095a] (rev 61)
        Subsystem: Intel Corporation Dual Band Wireless-AC 7265 [8086:5010]
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi

Bus 001 Device 003: ID 8087:0a2a Intel Corp. Bluetooth wireless interface

Hi,

Can you explain how to apply the patch ? Do you have to recompile the whole kernel or just the module ?

Thanks

Offline

#23 2022-01-07 18:08:35

lula
Member
Registered: 2009-07-16
Posts: 71

Re: Bluetooth not working on Kernel 5.15

I just recompiled the modules in the drivers/bluetooth directory in the kernel source tree following the instructions in the wiki using the Arch Build System. After that i replaced the btusb.ko.zst with the newly compiled version followed by a depmod and a reboot.

The patch for my hardware was just changing one line in btusb.c in the mentioned directory

-	{ USB_DEVICE(0x8087, 0x0a2a), .driver_info = BTUSB_INTEL_COMBINED },
+	{ USB_DEVICE(0x8087, 0x0a2a), .driver_info = BTUSB_INTEL_COMBINED |
+						     BTUSB_INTEL_BROKEN_INITIAL_NCMD },

https://wiki.archlinux.org/title/Compil … ild_System

Offline

#24 2022-01-07 22:31:30

lokjo
Member
Registered: 2021-11-20
Posts: 9

Re: Bluetooth not working on Kernel 5.15

Today a commit landed into the bluetooth-next repo that fixes it for me on my Intel 7265 device https://git.kernel.org/pub/scm/linux/ke … 5b4c4c227b

It is something similar to the patch you are discussing applying manually above.

So it seems now we have a fix in the official bluetooth kernel development repository. I'm not familiar enough with kernel development to know when this fix will find its way into a kernel release, but hopefully in the coming months I would guess.

Offline

#25 2022-01-08 19:31:48

lula
Member
Registered: 2009-07-16
Posts: 71

Re: Bluetooth not working on Kernel 5.15

Nice to hear that there will be a fix in the next releases. Just tested it on 5.15.13-arch1-1, works for me too

Offline

Board footer

Powered by FluxBB