Skip to main content
Topic: [Solved] Bluetooth constantly connects and disconnects (Read 1645 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[Solved] Bluetooth constantly connects and disconnects

I just did a fresh install of Artix linux on my new PC. The motherboard has a Realtek RTL8922ae chip for Wifi (7) and bluetooth (5.4) duties (kernel module rtw89_8922ae).
I'm trying to connect & pair my bluetooth mouse and keyboard (Keychron K10) but I cannot connect to either. I used bluetoothctl as wel as the graphical interface via blueman bluetooth manager.
I once could get my mouse connected (after downgrading bluez to 5.82) but this was only temporary.
Same scenario each time in bluetoothctl: the device connects and then disconnects immediately (with no reason or reason 1 or 2 whatever that means).
During my different attempts in blueman I even noticed the mouse would connect and disconnect rapidly about 50 times and then would have a stable connection.
What is happening here ? My previous PC was so old it didn't even have bluetooth, so this is my first time in linux (I'm a long time Arch user who wants to switch to Artix) I try to set up bluetooth.

I checked all the obvious places, fora etc ... but nothing worked.
Thanks for any help.


Re: Bluetooth constantly connects and disconnects

Reply #2
All Bluetooth problems are solved by this method:
(Warning: This method may not be suitable for everyone. But, it is the secure solution.)

Code: [Select]
$ sudo pacman -R bluez bluez-openrc pulseaudio-bluetooth
No Bluetooth, no problem.

Re: Bluetooth constantly connects and disconnects

Reply #3
@tsedek1 , thanks for the advice but I'm afraid  that didn't solve the issue.
Note that I have pipewire installed and than I use runit. I do not see how the latter can make a difference.
The former meant that I needed to remove pipewire-pulse (which I did).

Re: [Solved] Bluetooth constantly connects and disconnects

Reply #4
Okay, I feel stupid, I admit  :D
Note that this was not only a complete new install but also an install on a complete new build PC (that I build myself).
Since my motherboard came with WiFi and Bluetooth built in, but I connect my PC via wired Ethernet, I did not bother to install the WiFi antenna that came with it and to attach it externally to my PC.
Only this evening it dawned on me that this antenna does not only serve for WiFi duties but also to send/receive Bluetooth signals. So up till now everything I transmitted via Bluetooth was far too weak ...
So I connected the antenna and used bluetoothctl to connect and both mouse and keyboard connected nicely.
But than I had the problem that my keyboard did not work. It's a Keychron K10 (first version withouth QMK firmware for the keyboard guru's among us). And then I remembered a post that mentioned not to simply connect but first trust the device, than pair the device and then connect to it. And now my keyboard was functioning as it should (I'm using it to type this btw).

So I'm a happy bloke now and will not further complete my ZFS/runit Artix installation.

Re: [Solved] Bluetooth constantly connects and disconnects

Reply #5
All Bluetooth problems are solved by this method:
(Warning: This method may not be suitable for everyone. But, it is the secure solution.)

Code: [Select]
$ sudo pacman -R bluez bluez-openrc pulseaudio-bluetooth
No Bluetooth, no problem.
What do you know about security when you get hacked every time time you reinstall within minutes or so you claim?
I agree with @mrbrklyn you are just a troll.

 

Re: [Solved] Bluetooth constantly connects and disconnects

Reply #6
@tsedek1 , @gripped ,

can you take your discussion elsewhere ? Whatever it is, it is irrelevant for this topic ...