Just after rebooting machine, Bluetooth works well, pairing, a2dp and so on. However, after some time (mostly after suspend-resume) it simply stop working: no packets get delivered, no ping, no pairing requrests, nothing works. Bluetooth tray icon gets disappeared, in the settings kcm module I see that bluetooth module is not active, button “Activate” does nothing without any messages. Wifi keep working without issues.
Suspicious kernel messages are:
[342485.795280] rtw_8821ce 0000:03:00.0: failed to get tx report from firmware
[342799.443102] rtw_8821ce 0000:03:00.0: firmware failed to leave lps state
[347969.161842] Bluetooth: hci0: urb 00000000a6583e12 failed to resubmit (113)
Tried bluetoothctl to enable the adapter, but no luck:
[bluetooth]# show
Controller 64:6C:80:67:8B:BC (public)
Name: cy-machine-hp
Alias: cy-machine-hp
Class: 0x00000000
**Powered: no**
Discoverable: no
DiscoverableTimeout: 0x000000b4
Pairable: yes
UUID: Message Notification Se.. (00001133-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: OBEX Object Push (00001105-0000-1000-8000-00805f9b34fb)
UUID: Message Access Server (00001132-0000-1000-8000-00805f9b34fb)
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
UUID: IrMC Sync (00001104-0000-1000-8000-00805f9b34fb)
UUID: Vendor specific (00005005-0000-1000-8000-0002ee000001)
UUID: Headset (00001108-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
UUID: Phonebook Access Server (0000112f-0000-1000-8000-00805f9b34fb)
UUID: Device Information (0000180a-0000-1000-8000-00805f9b34fb)
UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)
UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
UUID: Handsfree Audio Gateway (0000111f-0000-1000-8000-00805f9b34fb)
UUID: Audio Source (0000110a-0000-1000-8000-00805f9b34fb)
UUID: OBEX File Transfer (00001106-0000-1000-8000-00805f9b34fb)
Modalias: usb:v1D6Bp0246d053D
Discovering: no
Roles: central
Roles: peripheral
Advertising Features:
ActiveInstances: 0x00 (0)
SupportedInstances: 0x05 (5)
SupportedIncludes: appearance
SupportedIncludes: local-name
**Failed to set power on: org.bluez.Error.Failed**
power on:
[bluetooth] power on
**bluetoth Failed to set power on: org.bluez.Error.Busy**
Workaround
Sometimes unloading modules using modprobe and load them back helps, then do bluetoothctl power on, if necessary
modprobe -ra btusb btrtl
modprobe -a btrtl btusb
bluetoothctl
[bluetooth] power on
System info
Manjaro rolling latest, all updates installed
Laptop: HP 15-gw008ur (Product ID 1u3d6ea#acb)
Kernel: 5.15.rc3
Also tried older versions with no success
[cy-machine-hp cy6ergn0m]# uname -a
Linux cy-machine-hp 5.15.0-1-MANJARO #1 SMP PREEMPT Sun Sep 26 21:53:21 UTC 2021 x86_64 GNU/Linux
[cy-machine-hp cy6ergn0m]# lsusb
Bus 001 Device 004: ID 0bda:b00a Realtek Semiconductor Corp. Realtek Bluetooth 4.2 Adapter
[cy-machine-hp cy6ergn0m]# lspci | grep Realtek
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter
[cy-machine-hp cy6ergn0m]# lsmod | grep bt
btusb 65536 0
btrtl 28672 1 btusb
btbcm 20480 1 btusb
btintel 45056 1 btusb
bluetooth 729088 43 btrtl,btintel,btbcm,bnep,btusb,rfcomm
[cy-machine-hp cy6ergn0m]# rfkill
ID TYPE DEVICE SOFT HARD
0 wlan phy0 unblocked unblocked
51 bluetooth hci0 unblocked unblocked