You are not logged in.

#1 2025-04-27 14:14:34

markus40
Member
Registered: 2013-06-16
Posts: 22

[Solved] Linux-6.14.4 give error with Bluetooth and DS4

As the subject says. When I try to connect a Dual shock 4 controller with Bluetooth, it refuses. Giving me an Input/Output error as the reason.
Tried with two different controllers. Tried several things like rebooting, shutting down and booting again. Removing the Bluetooth device and plugging it in again.
Downgrading to Linux 6.14.3 “solves” it.

The only error I get is with the Blueman-manager giving me: Connection Failed: input/output error.
Nothing in dmesg or journalctl
Both in 6.14.4 and 6.15.0-rc3-mainline
6.14.3 works fine.

Update:
I tried with my Sony WH-1000XM4 headphones, and they connected without problems.
But now the weird thing.
As long as I connect the headphones, the DS4 controllers will connect too.
As I disconnect the headphones. The DS4 controllers will stay connected. But when I disconnect them again and try to reconnect them, they fail.
When I connect the headphones again. I can connect the DS4 controllers without difficulty.

TK-Glitch wrote:
Bisected to d4ca2fd218caafbf50e3343ba1260c6a23b5676a

`Bluetooth: l2cap: Check encryption key size on incoming connection`

https://git.kernel.org/pub/scm/linux/ke … 6a23b5676a

This commit was removed in:
sudo pacman -U https://pkgbuild.com/\~gromit/linux-bis … kg.tar.zst
and the DS4 starts connecting again.

Additional:
While we are expecting a fix, we have as workaround in 6.14.4, connect it using bluetoothctl (scan on, pair {MAC_DEVICE}, trust {MAC_DEVICE} and connect {MAC_DEVICE}, scan off, play, and remove) each time to you need to connect.
DISCLAIMER:
From Gentoo...

Last edited by markus40 (2025-04-29 04:49:05)

Offline

#2 2025-04-27 17:00:26

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 1,117
Website

Re: [Solved] Linux-6.14.4 give error with Bluetooth and DS4

Do you really mean 3.14.3?! That reaaaally old yikes

Offline

#3 2025-04-27 17:04:54

markus40
Member
Registered: 2013-06-16
Posts: 22

Re: [Solved] Linux-6.14.4 give error with Bluetooth and DS4

My bad, corrected it

Offline

#4 2025-04-27 17:06:56

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 1,117
Website

Re: [Solved] Linux-6.14.4 give error with Bluetooth and DS4

Could you check whether the error is also present in the latest linux-mainline release?

sudo pacman -U https://pkgbuild.com/\~gromit/linux-bisection-kernels/linux-mainline-6.15rc3-1-x86_64.pkg.tar.zst

(note that this installs the kernel as linux-mainline, so you need to configure your bootloader to boot it (for example via grub-mkconfig -o ... or by writing the systemd-boot loader entry))

Last edited by gromit (2025-04-27 17:07:27)

Offline

#5 2025-04-27 18:32:20

markus40
Member
Registered: 2013-06-16
Posts: 22

Re: [Solved] Linux-6.14.4 give error with Bluetooth and DS4

Linux zinc 6.15.0-rc3-1-mainline #1 SMP PREEMPT_DYNAMIC Mon, 21 Apr 2025 09:53:39 +0000 x86_64 GNU/Linux

I was a little too quick to call it working. It connected ones and thereafter, both ds4 are refusing to connect.
Reverting to Linux 6.14.3, and they connect immediately again.

Last edited by markus40 (2025-04-27 19:09:38)

Offline

#6 2025-04-27 19:05:18

markus40
Member
Registered: 2013-06-16
Posts: 22

Re: [Solved] Linux-6.14.4 give error with Bluetooth and DS4

The only error I get is with the Blueman-manager giving me: Connection Failed: input/output error.
Nothing in dmesg or journalctl

Both in 6.14.4 and 6.15.0-rc3-mainline
6.14.3 works fine.

Offline

#7 2025-04-27 19:19:48

markus40
Member
Registered: 2013-06-16
Posts: 22

Re: [Solved] Linux-6.14.4 give error with Bluetooth and DS4

Ok, this is strange:
I tried with my Sony WH-1000XM4 headphones, and they connected without problems.
But now the weird thing.
As long as I connect the headphones, the DS4 controllers will connect too.
As I disconnect the headphones. The DS4 controllers will stay connected. But when I disconnect them again and try to reconnect them, they fail.
When I connect the headphones again. I can connect the DS4 controllers without difficulty.

Last edited by markus40 (2025-04-27 19:20:53)

Offline

#8 2025-04-27 20:26:17

tekstryder
Member
Registered: 2013-02-14
Posts: 299

Re: [Solved] Linux-6.14.4 give error with Bluetooth and DS4

markus40 wrote:

Linux 3.14.3

commit 774e1e67ef51e643e0415baddcbd26f4d44e3270
Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date:   Tue May 6 07:59:58 2014 -0700

    Linux 3.14.3

Most of us were running it!

I'd imagine Bluetooth would be the least of your concerns now though haha.

Good luck. Please don't multi-post. Edit your previous post if no one has replied.

Offline

#9 2025-04-27 22:23:00

loqs
Member
Registered: 2014-03-06
Posts: 18,436

Re: [Solved] Linux-6.14.4 give error with Bluetooth and DS4

Please consider bisecting between 6.14.3 and 6.14.4 to identify the causal commit. If it helps gromit or I can build you the kernels to test.

Offline

#10 2025-04-27 22:28:31

Tk-Glitch
Member
Registered: 2025-04-27
Posts: 1

Re: [Solved] Linux-6.14.4 give error with Bluetooth and DS4

Bisected to d4ca2fd218caafbf50e3343ba1260c6a23b5676a

`Bluetooth: l2cap: Check encryption key size on incoming connection`

https://git.kernel.org/pub/scm/linux/ke … 6a23b5676a

Offline

#11 2025-04-28 13:47:09

xamindar
Member
Registered: 2010-08-07
Posts: 50

Re: [Solved] Linux-6.14.4 give error with Bluetooth and DS4

I had the same problem with bluetooth on 6.14.4 last night. In my case it is a DualSense (PS5) controller.
Turn on controller, refused connection and controller immediately turns off again. Tried deleting it and re-pairing successfully, but same results.

Reverted back to 6.14.3 and all is working again.

Offline

#12 2025-04-28 17:07:35

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 1,117
Website

Re: [Solved] Linux-6.14.4 give error with Bluetooth and DS4

Please try the following, it's the latest mainline tag + the problematic commit reverted:

sudo pacman -U https://pkgbuild.com/\~gromit/linux-bisection-kernels/linux-mainline-6.15rc4-1.1-x86_64.pkg.tar.zst

Offline

#13 2025-04-28 18:14:14

Sandroid
Member
Registered: 2022-08-16
Posts: 6

Re: [Solved] Linux-6.14.4 give error with Bluetooth and DS4

gromit wrote:

Please try the following, it's the latest mainline tag + the problematic commit reverted:

sudo pacman -U https://pkgbuild.com/\~gromit/linux-bisection-kernels/linux-mainline-6.15rc4-1.1-x86_64.pkg.tar.zst

I'm seeing the same issue and can confirm that it does not occur with the kernel build you provided.

Offline

#14 2025-04-28 18:20:26

loqs
Member
Registered: 2014-03-06
Posts: 18,436

Re: [Solved] Linux-6.14.4 give error with Bluetooth and DS4

Offline

#15 2025-04-28 18:26:05

markus40
Member
Registered: 2013-06-16
Posts: 22

Re: [Solved] Linux-6.14.4 give error with Bluetooth and DS4

Installing your kernel without problematic commit makes everything work again.

Last edited by markus40 (2025-04-29 04:50:49)

Offline

#16 2025-04-28 19:53:09

Sandroid
Member
Registered: 2022-08-16
Posts: 6

Re: [Solved] Linux-6.14.4 give error with Bluetooth and DS4

markus40 wrote:

I wish I could say it worked. But no, for me the problem still exists. with this kernel.
After reboot to 6.14.3 it works without problem.

[202054][VPN][kodi][~]>pacman -Q | grep mainline
linux-mainline 6.15rc4-1
[202105][VPN][kodi][~]>uname -a
Linux zinc 6.15.0-rc4-1-mainline #1 SMP PREEMPT_DYNAMIC Mon, 28 Apr 2025 12:42:11 +0000 x86_64 GNU/Linux
[202109][VPN][kodi][~]>

Are you sure you bootet in the right kernel? uname -a with the kernel with the commit reverted gives me

Linux hostname 6.15.0-rc4-1.1-mainline-dirty #1 SMP PREEMPT_DYNAMIC Mon, 28 Apr 2025 16:54:26 +0000 x86_64 GNU/Linux

Note the "-dirty", the additional ".1" in the version number and build time also differs.

Last edited by Sandroid (2025-04-28 19:58:14)

Offline

#17 2025-04-28 19:58:17

loqs
Member
Registered: 2014-03-06
Posts: 18,436

Re: [Solved] Linux-6.14.4 give error with Bluetooth and DS4

Could someone affected please post the dmesg for 6.15.0-rc4-1 and 6.15.0-rc4-1.1 to this thread or https://lore.kernel.org/linux-bluetooth … el.org%2F/

Offline

#18 2025-04-28 23:21:43

jmriveras507
Member
From: Panama
Registered: 2025-04-28
Posts: 1

Re: [Solved] Linux-6.14.4 give error with Bluetooth and DS4

I've updated the Linux kernel to 6.14.4 version. On 6.14.3, the PS5 controller connected without issue. While we are expecting a fix, we have as workaround in 6.14.4, connect it using bluetoothctl (scan on, pair {MAC_DEVICE}, trust {MAC_DEVICE} and connect {MAC_DEVICE}, scan off, play, and remove) each time to you need to connect.

DISCLAIMER:
From Gentoo...

Last edited by jmriveras507 (2025-04-28 23:22:08)

Offline

#19 2025-04-29 04:44:40

markus40
Member
Registered: 2013-06-16
Posts: 22

Re: [Solved] Linux-6.14.4 give error with Bluetooth and DS4

After installing the right mainline kernel which removed the problematic commit, it works like charm again.

[064309][VPN][kodi][~]>pacman -Q | grep mainline
linux-mainline 6.15rc4-1.1
[064314][VPN][kodi][~]>uname -a
Linux zinc 6.15.0-rc4-1.1-mainline-dirty #1 SMP PREEMPT_DYNAMIC Mon, 28 Apr 2025 16:54:26 +0000 x86_64 GNU/Linux
[064317][VPN][kodi][~]>

Last edited by markus40 (2025-04-29 04:45:16)

Offline

#20 2025-04-29 09:22:40

birdie-github
Member
From: Artem S. Tashkinov
Registered: 2021-10-09
Posts: 14
Website

Re: [Solved] Linux-6.14.4 give error with Bluetooth and DS4

Offline

#21 2025-04-29 12:15:00

markus40
Member
Registered: 2013-06-16
Posts: 22

Re: [Solved] Linux-6.14.4 give error with Bluetooth and DS4

Offline

#22 2025-05-01 18:42:31

loqs
Member
Registered: 2014-03-06
Posts: 18,436

Re: [Solved] Linux-6.14.4 give error with Bluetooth and DS4

Offline

#23 2025-05-02 07:33:15

markus40
Member
Registered: 2013-06-16
Posts: 22

Re: [Solved] Linux-6.14.4 give error with Bluetooth and DS4

I don´t mind testing a kernel, but I haven´t the time to applying patches and building kernels.

Offline

#24 2025-05-02 18:47:27

Sandroid
Member
Registered: 2022-08-16
Posts: 6

Re: [Solved] Linux-6.14.4 give error with Bluetooth and DS4

I've tested the patch and reported my findings in https://bugzilla.kernel.org/show_bug.cgi?id=220061

Last edited by Sandroid (2025-05-02 18:47:52)

Offline

#25 2025-05-04 22:17:48

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 472

Re: [Solved] Linux-6.14.4 give error with Bluetooth and DS4

Is it possible that connection to Bluetooth 3.0 mice devices is also broken?
When I connected it loses the connection again and start a brief cycle with connected/disconnect.

Everything was fine with Linux 6.13.

Offline

Board footer

Powered by FluxBB