Unable to connect to bluetooth recently. When I turn on the laptop, the bluetooth button says 'No Adapters Available'.
It sometimes connects to the earbuds I have and after disconnecting it, the error is visible again. Sometimes, it is like this even after just turning on the laptop.
The output of sudo systemctl status bluetooth is following:
Also, I tried restarting the service to no effect.and changing the kernel as mentioned here with the error still there.
I am a newbie so any help would be appreciated.
I read the page link you provided but I can't make anything out of it. Nothing in it seems to be resolving the issue. I may be missing something tough. Thanks for the effort anyways
Windows often acquires hardware devices and won’t release them unless the computer has all power sources completely removed. This is one of the reasons we don’t recommend dual booting with Windows.
This is a know problematic Wifi/BT combo chip. Search the networking sub-forum for Realtek RTL8822 adapter for driver options such as disabling power saving and others that you might want to try.
Just to piggy-back on this: the default “shutdown” state of Windows is actually not fully powered off. Windows enables a “fast startup” mode, which holds on to certain resources in an effort to shave a few seconds off of the boot time. You will have to disable this feature from Windows itself to make sure Windows is completely “off” when you shut it down.
I have already disabled it as when it is enabled, the grub menu is not visible and windows boots directly without an option for Linux. thanks for the input by the way​
Should I give this a try? Nothing relevant seems to be available at this point, I mean it was working fine till a few days ago apart from occasionally dropping the connection here and there​. I should also add that it is working completely fine in windows and I boot in windows only once a blue moon so any update issues because of windows should be minimal. I guess.
In my experience it might be a reasonable solution,
during this 1ish year being on Linux I have tried 30+ distros on mine 3 laptops + 2 desktops..
WIFI & BT drivers are pretty much up to chosen distro to have, if they don't have working drivers it's almost impossible to find and install the right one for just you hardware...
However it should be a matter of last resource, usually some bright-minded forum member comes up with a working fix!
I formatted the existing garuda and reinstalled using the latest iso available. But the issue still persists. Solving this is rather important for me as I only have wireless earbuds and this issue makes it hard to use garuda since I mostly use it for study. Any workaround anyone?
I would also test the linux-mainline and linux-hardened kernels.
You are making things far more complicated for yourself if you dual boot with Windows. You will need to perform the following steps if you dual boot:
As well, you should boot into Windows and go to the advanced properties for your WiFi & Bluetooth adapters in the Windows device manager. Be sure to disable any settings for your network adapters that involve power saving.
It is also possible that MAC randomization is causing connectivity problems. Search for the terms “disable MAC Address randomization” on the forum. Disable MAC Address randomization then reboot both your computer and router.
Be sure to try refreshing the Bluetooth pairing keys in Linux & Windows.
See section 2.1of the Arch Wiki on BT, Dual boot pairing:
I read all of the articles and pages you mentioned but nothing seems to work. I came across an article in which the user installs the following AUR package to install the drivers of the hybrid card in question. The package was AUR (en) - realtek-firmware but when I try to install the package using
makepkg -sirc
there is a conflict with linux-firmware. What is the next step here I believe removing Linux firmware might be a bad idea.
Also, I took care of all the relevant settings in Windows as you guided to no benefit and I wanted to ask why this problem started occurring more and more when the OS was working just fine with the same setup for a while now. I once did have an issue with the wifi but that got resolved after an iso update. What should I do here? Should I go and download a previous version of iso from somewhere and take it from there? Or should I completely remove windows which I am a little hesitant to do as I do not have its product key? Kind of in a pinch here...Any help would be appreciated.
I would highly recommend testing out the linux-mainline kernel if you haven't done so yet.
I see your bios is dated March 16, 2023. Did you update your BIOS earlier this year? If so when? Is it possible that if you updated your bios that your issues started about the same time?
Have you checked to see if there is a more recent bios update from your manufacturer?
Can you disable either your wifi or Bluetooth hardware from within your bios?
Bluetooth/wifi combo chips are often plagued by signal clashes. Your Realtek adapter is well known for having driver problems in the past. Your least time consuming fix may be to simply purchase an external USB Wifi dongle that has in-kernel support and stop using your internal BT for the time being. Eventually whatever is causing your BT issue will likely be resolved by a kernel, bios, or firmware update and you can resume using your Internet adapter again.
If you can disable your wifi as a test then perhaps your bluetooth may work correctly at boot. Sometimes the wifi and bluetooth clash and they need to be started in a specific order to function correctly together. I have corrected this type of issue for some people in the past by writing a service to start each driver in a specific order with a pause between startup. These services sometimes work, but it is a rather hacky workaround. A replacemt BT dongle might be a far cleaner temporary workaround.
Thank you for such a detailed guide, following are the responses in order:
I did not update my bios manually though it may have gotten updated automatically via either Windows or Linux, I am not sure about it. Though I can say that this issue has started occurring in the past month or so. Therefore I believe that is not the issue.
I checked but could not find a recent update to the BIOS.
There is no option to disable either wifi or Bluetooth in the BIOS.
I agree that using an external USB dongle would be a great idea but I have a related question.
Why is it that the Bluetooth and wifi both are loading properly on boot and working just fine most of the time but then all of a sudden Bluetooth drops and the menu changes to 'No adapters available' in the floating windows and 'Bluetooth is disabled' in the settings? why is it loading and all of a sudden stops working and when I restart it again works for some time before stopping to work again?
Also, I did try the Linux-mainline kernel but the system was lagging too much for me to use it and test anything out.
Sometimes the order the network modules are loaded can create conflicts that can cause either your WiFi or BT to fail to start correctly.
You can try the following test:
The command below will automatically generate an /etc/modprobe.d/blacklist.conf file that will blacklist your bluetooth modules and prevent them from loading at startup.
sudo echo -e "blacklist btusb\nblacklist btrtl" | sudo tee -a /etc/modprobe.d/blacklist.conf
Power down your computer completely after running that command, then restart your computer. Once your computer is fully restarted, you can attempt to manually start your Bluetooth connection with the following command:
If your BT is still not working after running that command, try running this:
systemctl restart NetworkManager
If that procedure does not work, then you can reverse the changes you made. Remove the blacklist btusb and blacklist btrtl lines from the /etc/modprobe.d/blacklist.conf file. After removing both of those lines from the conf file, save the changes and reboot. Your computer should be as before after rebooting.
It is possible that tlp or other laptop power management software can interfere with bluetooth operation. You might want to double check that your BT is excluded from all power management options you can locate.
Thank you for the solution, it seemed to somewhat work initially but the problem persists. I ran the first command and then after rebooting, I ran the second command and Bluetooth seemed to work just fine but the adapter not found issue occurred again just now. To test the issue I opened bluetoothctl and the following is the result and error:
bluetoothctl
Agent registered
[bluetooth]# show
No default controller available
[bluetooth]# list
[bluetooth]# devices
No default controller available
[bluetooth]# power off
No default controller available
[bluetooth]# exit
Also, if I might add the second bash command has maybe an error, the bluetoothctl power off after running gets stuck (maybe in bluetoothctl interface?) the after I press Ctrl+C it asks for a password and the remainder is fine.
Any more possible solutions that I might try?