Bluetooth keyboard constantly disconnecting

No matter what distro I threw at my PC, my Logitech MX Keys mini always worked like a charm.
Since I moved to Aurora, while I would like to express my appreciation for this fantastic OS, I’m sorry to report that now my Logi keyboard has become unusable, as soon as I stop typing it disconnects and I need to press any of the keys a couple of times before it reconnects again, only to disconnect once more if I dare to pause typing for at least one second.

Is there some setting I’m unaware of that I could try? As a reference, this only happens with the keyboard, all other BT devices remain connected without any issue.

Hi @LetsCallHimSteve ,
try tweaking Bluetooth autosuspend settings to see if it makes any difference: Bluetooth keyboard disconnects with short timeout during session OR How to Turn off Auto Suspend for Bluetooth - #2 by jgroman

Thank you for the quick reply, does this work only with USB Bluetooth adapters? I’m using a Intel AX210 WI-FI6e/BT m.2 device.

I do not know this specific device but Intel product page suggests that BT on AX210 uses USB system interface via M.2: https://www.intel.com/content/www/us/en/products/sku/204836/intel-wifi-6e-ax210-gig/specifications.html
Maybe try running lsusb to see if AX210 BT comes up. As it happens I have AX200 M.2 in my system and its BT is indeed connected via USB:

➜ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 3299:4e53 E-Signal USB Gaming Mouse
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 413c:2113 Dell Computer Corp. KB216 Wired Keyboard
Bus 003 Device 003: ID 8087:0029 Intel Corp. AX200 Bluetooth
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Thanks, I tried the “btusb.enable_autosuspend=0” command but nothing has changed.
lsusb correctly reported the Intel ax210 BT as USB.
Any further suggestions?

No more ideas here. Occasionally I do have problems with AX200 but in my case it stops working completely and I have to reload btusb module to get it back online. Not sure about AX210 but I have seen recommendations to use older firmware for AX200, but it is not easily replaceable on atomic systems.

You can also check kernel log if there are any suspicious entries:

journalctl -k --priority=err
journalctl -k -g btusb
journalctl -k -g bluetooth

There are also some useful debugging tips by btusb module developer here: 1589548 – Disable auto suspend for bluetooth USB dongle
This might help with finding out whether your problem is autosuspend related or not.

thank you for all your help.

1 Like

Same problem here.
BT mice are responsive and stay connected.
I’ve tried 4 different BT keyboards and they all disconnect and lag
Autosuspend settings tweak does not help

It’s so frustrating. I also have BT mouse and headphones that work for hours without interruptions.
This is the only distro with this issue. I don’t want to change it; everything works flawlessly, and I’m otherwise very happy with Aurora.

Maybe a long shot but autosuspend can be also tweaked using powertop. Press TAB few times to get into Tunables section and there are autosuspend settings for connected devices in there.

so I should change to “bad” everything related to BT and USB?

Yes, that is the idea behind this. Just note the original state of those toggles and restore it if those changes will not help.

Thank you, but that still didn’t work. This is so frustrating. I don’t want to change distro, I like Aurora.

You can try to gradually downgrade kernel and/or Bluez to isolate the problem.

I don’t know how to do it properly on bootc-based system (Silverblue user myself), but maybe experienced fellows here would help.

thanks, I’ll investigate this.