Hi,
Bluetooth has lately (since last week, same problem) been giving me a headache. It worked perfectly in EndeavourOS after fresh installation today, but after ~12 hours in middle of use it cut out the connection and could not reconnect to device.
Switching bluetooth off from blueman or bluetoothctl causes the device to disappear. Restarting bluetooth.service gives error regarding failed condition check. After fresh install was loading fine and automatically, now it has also disappeared. No new updates were installed prior to this. Kernel is 5.16.0-arch1-1
Edit: BT chip is Realtek PID_3530
Switching device on/off via bluetoothctl was working prior to this.
Loading btusb manually via modprobe and restarting bluetooth.service even when its active in status does not yield working BT in bluetoothctl.
Logs:
Bluetooth.service status after problem occurring and reboot
§ systemctl status bluetooth
â—‹ bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
Active: inactive (dead)
Docs: man:bluetoothd(8)
systemd[1]: Bluetooth service was skipped because of a failed condition check (ConditionPathIsDirectory=/sys/class/bluetooth).
§ lsmod | grep bt
Yields nothing at at this point, was working fine previously
Attempts to fix:
§ modprobe btusb
§ lsmod | grep btusb
btusb 65536 0
btrtl 28672 1 btusb
btbcm 24576 1 btusb
btintel 45056 1 btusb
bluetooth 770048 4 btrtl,btintel,btbcm,btusb
§ rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
§ systemctl disable bluetooth
Removed /etc/systemd/system/dbus-org.bluez.service.
Removed /etc/systemd/system/bluetooth.target.wants/bluetooth.service.
§ systemctl enable --now bluetooth
Created symlink /etc/systemd/system/dbus-org.bluez.service → /usr/lib/systemd/system/bluetooth.service.
Created symlink /etc/systemd/system/bluetooth.target.wants/bluetooth.service → /usr/lib/systemd/system/bluetooth.service.
§ systemctl status bluetooth
â—Ź bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
Active: active (running) since Sun 2022-01-16 23:35:40 EET; 6s ago
Docs: man:bluetoothd(8)
Main PID: 4129 (bluetoothd)
Status: “Running”
Tasks: 1 (limit: 16683)
Memory: 1.9M
CPU: 13ms
CGroup: /system.slice/bluetooth.service
└─4129 /usr/lib/bluetooth/bluetoothd
Starting Bluetooth service…
Bluetooth daemon 5.63
tammi 16 23:35:40 elina-endeavoros systemd[1]: Started Bluetooth service.
Starting SDP server
Bluetooth management interface 1.21 initialized
§ bluetoothctl
Agent registered
[bluetooth]# power on
No default controller available
[bluetooth]#
Trying to reboot after this resets situation back to the beginning with lsmod giving nothing and bluetooth.service failing to start due to failed condition check.
Cold boot sometimes fixes this magically.
Bluetooth has been tested working in different os and also in windows.
HW info
#################### lspci -vnn ########################
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Root Complex [1022:15d0]
Subsystem: ASUSTeK Computer Inc. Device [1043:18f1]
Flags: fast devsel
00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU [1022:15d1]
Subsystem: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU [1022:15d1]
Flags: bus master, fast devsel, latency 0, IRQ 25
Capabilities:
00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge [1022:1452]
Flags: fast devsel, IOMMU group 0
00:01.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0] [1022:15d3] (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 26, IOMMU group 1
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000f000-0000ffff [size=4K]
Memory behind bridge: f6000000-f70fffff [size=17M]
Prefetchable memory behind bridge: 00000000c0000000-00000000d1ffffff [size=288M]
Capabilities:
Kernel driver in use: pcieport
00:01.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0] [1022:15d3] (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 27, IOMMU group 2
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 0000e000-0000efff [size=4K]
Memory behind bridge: f7800000-f78fffff [size=1M]
Prefetchable memory behind bridge: [disabled]
Capabilities:
Kernel driver in use: pcieport
00:01.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0] [1022:15d3] (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 28, IOMMU group 3
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: [disabled]
Memory behind bridge: f7700000-f77fffff [size=1M]
Prefetchable memory behind bridge: [disabled]
Capabilities:
Kernel driver in use: pcieport
00:01.7 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0] [1022:15d3] (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 29, IOMMU group 4
Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
I/O behind bridge: 0000d000-0000dfff [size=4K]
Memory behind bridge: f7600000-f76fffff [size=1M]
Prefetchable memory behind bridge: [disabled]
Capabilities:
Kernel driver in use: pcieport
00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge [1022:1452]
Flags: fast devsel, IOMMU group 5
00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus A [1022:15db] (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 30, IOMMU group 6
Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
I/O behind bridge: 0000c000-0000cfff [size=4K]
Memory behind bridge: f7200000-f75fffff [size=4M]
Prefetchable memory behind bridge: 00000000e0000000-00000000f01fffff [size=258M]
Capabilities:
Kernel driver in use: pcieport
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 61)
Subsystem: ASUSTeK Computer Inc. Device [1043:18f1]
Flags: 66MHz, medium devsel, IOMMU group 7
Kernel driver in use: piix4_smbus
Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
Subsystem: ASUSTeK Computer Inc. Device [1043:18f1]
Flags: bus master, 66MHz, medium devsel, latency 0, IOMMU group 7
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 0 [1022:15e8]
Flags: fast devsel, IOMMU group 8
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 1 [1022:15e9]
Flags: fast devsel, IOMMU group 8
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 2 [1022:15ea]
Flags: fast devsel, IOMMU group 8
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 3 [1022:15eb]
Flags: fast devsel, IOMMU group 8
Kernel driver in use: k10temp
Kernel modules: k10temp
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 4 [1022:15ec]
Flags: fast devsel, IOMMU group 8
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 5 [1022:15ed]
Flags: fast devsel, IOMMU group 8
00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 6 [1022:15ee]
Flags: fast devsel, IOMMU group 8
00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 7 [1022:15ef]
Flags: fast devsel, IOMMU group 8
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] [10de:1f91] (rev a1) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device [1043:109f]
Flags: bus master, fast devsel, latency 0, IRQ 73, IOMMU group 9
Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at d0000000 (64-bit, prefetchable) [size=32M]
I/O ports at f000 [size=128]
Expansion ROM at f7000000 [virtual] [disabled] [size=512K]
Capabilities:
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidia
01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:10fa] (rev a1)
Subsystem: ASUSTeK Computer Inc. Device [1043:109f]
Flags: bus master, fast devsel, latency 0, IRQ 74, IOMMU group 9
Memory at f7080000 (32-bit, non-prefetchable) [size=16K]
Capabilities:
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
Subsystem: ASUSTeK Computer Inc. Device [1043:208f]
Flags: bus master, fast devsel, latency 0, IRQ 68, IOMMU group 10
I/O ports at e000 [size=256]
Memory at f7804000 (64-bit, non-prefetchable) [size=4K]
Memory at f7800000 (64-bit, non-prefetchable) [size=16K]
Capabilities:
Kernel driver in use: r8169
Kernel modules: r8169
03:00.0 Non-Volatile memory controller [0108]: Micron Technology Inc Device [1344:5410] (rev 01) (prog-if 02 [NVM Express])
DeviceName: Onboard LAN Brodcom
Subsystem: Micron Technology Inc Device [1344:0100]
Flags: bus master, fast devsel, latency 0, IRQ 31, NUMA node 0, IOMMU group 11
Memory at f7700000 (64-bit, non-prefetchable) [size=16K]
Capabilities:
Kernel driver in use: nvme
04:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]
Subsystem: AzureWave Device [1a3b:3041]
Flags: bus master, fast devsel, latency 0, IRQ 77, IOMMU group 12
I/O ports at d000 [size=256]
Memory at f7600000 (64-bit, non-prefetchable) [size=64K]
Capabilities:
Kernel driver in use: rtw_8821ce
Kernel modules: rtw88_8821ce
05:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Picasso/Raven 2 [Radeon Vega Series / Radeon Vega Mobile Series] [1002:15d8] (rev c2) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device [1043:18f1]
Flags: bus master, fast devsel, latency 0, IRQ 24, IOMMU group 13
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at f0000000 (64-bit, prefetchable) [size=2M]
I/O ports at c000 [size=256]
Memory at f7500000 (32-bit, non-prefetchable) [size=512K]
Capabilities:
Kernel driver in use: amdgpu
Kernel modules: amdgpu
05:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor [1022:15df]
Subsystem: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor [1022:15df]
Flags: bus master, fast devsel, latency 0, IRQ 70, IOMMU group 14
Memory at f7400000 (32-bit, non-prefetchable) [size=1M]
Memory at f7588000 (32-bit, non-prefetchable) [size=8K]
Capabilities:
Kernel driver in use: ccp
Kernel modules: ccp
05:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1 [1022:15e0] (prog-if 30 [XHCI])
Subsystem: ASUSTeK Computer Inc. Device [1043:201f]
Flags: bus master, fast devsel, latency 0, IRQ 49, IOMMU group 14
Memory at f7300000 (64-bit, non-prefetchable) [size=1M]
Capabilities:
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
05:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1 [1022:15e1] (prog-if 30 [XHCI])
Subsystem: ASUSTeK Computer Inc. Device [1043:201f]
Flags: bus master, fast devsel, latency 0, IRQ 24, IOMMU group 14
Memory at f7200000 (64-bit, non-prefetchable) [size=1M]
Capabilities:
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
05:00.6 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller [1022:15e3]
DeviceName: HD Audio Controller
Subsystem: ASUSTeK Computer Inc. Device [1043:18f1]
Flags: bus master, fast devsel, latency 0, IRQ 75, IOMMU group 14
Memory at f7580000 (32-bit, non-prefetchable) [size=32K]
Capabilities:
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
I’m completely running out of ideas