You are not logged in.
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
Do you really mean 3.14.3?! That reaaaally old
Offline
My bad, corrected it
Offline
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
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
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
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
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
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
Bisected to d4ca2fd218caafbf50e3343ba1260c6a23b5676a
`Bluetooth: l2cap: Check encryption key size on incoming connection`
Offline
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
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
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
Offline
Installing your kernel without problematic commit makes everything work again.
Last edited by markus40 (2025-04-29 04:50:49)
Offline
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
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
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
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
Your feedback is required:
Offline
Added a log to
https://bugzilla.kernel.org/show_bug.cgi?id=220061
Offline
Does applying https://lore.kernel.org/linux-bluetooth … gmail.com/ resolve the issue?
Offline
I don´t mind testing a kernel, but I haven´t the time to applying patches and building kernels.
Offline
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
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