RTL8822BE bluetooth not working

I have a Lenovo E495 with RTL8822BE wifi/ac adapter.

The bluetooth randomly disappeared for me.

lspci -k 

04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter
        Subsystem: Lenovo ThinkPad E595
        Kernel driver in use: rtw_8822be
        Kernel modules: rtwpci, rtw_8822be

rfkill list

0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
2: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no

systemctl | grep bluetooth

systemctl | grep bluetooth
  sys-devices-pci0000:00-0000:00:08.1-0000:05:00.4-usb3-3\x2d1-3\x2d1:1.0-bluetooth-hci0.device loaded active     plugged   /sys/devices/pci0000:00/0000:00:08.1/0000:05:00.4/usb3/3-1/3-1:1.0/bluetooth/hci0
  sys-subsystem-bluetooth-devices-hci0.device                                                   loaded active     plugged   /sys/subsystem/bluetooth/devices/hci0                                            
  bluetooth-mesh.service                                                                        loaded active     running   Bluetooth mesh service                                                           
  bluetooth.service                                                                             loaded active     running   Bluetooth service                                                                
  bluetooth.target                                                                              loaded active     active    Bluetooth       

I have installed rtw88 AUR package, that is supposed to fix realtek drivers. Using LTS 5.4 kernel.

Bluetoothctl lists no available devices

Where should i look at next?

inxi -n
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 
           IF: enp2s0 state: down mac: 00:2b:67:8a:fd:7a 
           IF-ID-1: wlp4s0 state: up mac: 80:30:49:79:50:c5

It seems to be that inxi -n shows that the rtl8822be can’t be found

EDIT3:
Found that it is running but has somekind of a problem with an address already being in use.

bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
     Active: active (running) since Mon 2020-09-07 19:27:43 EEST; 45min ago
       Docs: man:bluetoothd(8)
   Main PID: 765 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 16632)
     Memory: 3.4M
     CGroup: /system.slice/bluetooth.service
             └─765 /usr/lib/bluetooth/bluetoothd

sept  07 19:51:15 taavi-lenovo bluetoothd[765]: Endpoint unregistered: sender=:1.63 path=/MediaEndpoint/A2DPSource/sbc
sept  07 20:04:36 taavi-lenovo bluetoothd[765]: Ignoring index removal for a non-existent adapter
sept  07 20:04:37 taavi-lenovo bluetoothd[765]: RFCOMM server failed for Headset Voice gateway: rfcomm_bind: Address already in use (98)
sept  07 20:04:37 taavi-lenovo bluetoothd[765]: RFCOMM server failed for :1.67/Profile/HSPHS/00001108-0000-1000-8000-00805F9B34FB: rfcomm_bind: Address already in use (98)
sept  07 20:04:38 taavi-lenovo bluetoothd[765]: RFCOMM server failed for Headset Voice gateway: rfcomm_bind: Address already in use (98)
sept  07 20:04:38 taavi-lenovo bluetoothd[765]: RFCOMM server failed for :1.67/Profile/HSPHS/00001108-0000-1000-8000-00805F9B34FB: rfcomm_bind: Address already in use (98)
sept  07 20:04:38 taavi-lenovo bluetoothd[765]: Endpoint registered: sender=:1.63 path=/MediaEndpoint/A2DPSink/sbc
sept  07 20:04:38 taavi-lenovo bluetoothd[765]: Endpoint registered: sender=:1.63 path=/MediaEndpoint/A2DPSource/sbc
sept  07 20:04:43 taavi-lenovo bluetoothd[765]: Endpoint unregistered: sender=:1.63 path=/MediaEndpoint/A2DPSink/sbc
sept  07 20:04:43 taavi-lenovo bluetoothd[765]: Endpoint unregistered: sender=:1.63 path=/MediaEndpoint/A2DPSource/sbc

As you gave all info except your kernel version: there seems to be a bug in Realtek’s driver in recent kernel versions.

  • Please downgrade / upgrade to 5.4 LTS
  • Install this driver

That being said, this might cause your WiFi to disconnect randomly and the only solution to that is to turn off Bluetooth

:sob:

P.S. You can also swap out the Realtek hardware to another brand, but then you’ll have to install the new brand’s UEFI drivers too and that’s an even bigger nightmare…

Already tried those, nothing changed for me.

The weird thing is - my wifi is working flawlessly, but linux can’t see the wifi/bt card rtl8822be using inxi -n. So it is really weird. Can I use Intel hardware(Intel makes the wifi/ac hardware aswell as far as i know) with my ryzen 5 3500u?

EDIT:
@Fabby I might go and buy intels wifi/ac module (ax200 seems to be nice), do you have any specific posts somewhere to link why the UEFI driver updates for a new brand is a nightmare or guides how to do it?

Linux taavi-lenovo 5.4.62-1-MANJARO #1 SMP PREEMPT Thu Sep 3 14:38:22 UTC 2020 x86_64 GNU/Linux

No, I’m only on page 49 of 2706 because I was in the same situation as you and wanted to replace the brand, but am using a dongle for the moment until I get to the relevant page.

:man_shrugging:

rtl8822ce works fine with kernel 5.8.18-1 for me.

I have tried kernel 5.4, 5.8, 5.9 and no one works, it’s weird because the bluetooth used to work before some update.
Currently I have this workaround:

systemctl restart dbus

And then manually I start all network services (I use stacer, for easyness).
This guide me, to all this is a driver problem.

Did you do both of these:

:question:

As the OP never came back and told us whether it worked or not, the only info we have is from @anoap:

But, in the meantime, there are a few more kernels to be tried:

mhwd-kernel --list
available kernels:
   * linux414
   * linux419
   * linux44
   * linux49
   * linux510
   * linux54
   * linux57
   * linux58
   * linux59
   * linux54-rt
   * linux59-rt

But 5.7 and 5.8 are End-Of-Life (EOL), so have a look at Linus Torvalds’ page to have a look at the EOL dates before you try any of the above…

:+1: