Bluetooth earphones (OnePlus Buds Z) connect and immediately disconnect

I have a pair of OnePlus Buds Z, and when you open the case, they connect directly. This works flawlessly on my phone, and on macOS, but everytime I open the case, the earphones connect, and immediately disconnect. I need to go to the bluetooth menu and manually connect for it to work. Even after this, the touch gestures do not work on my earphones. I followed the bluetooth headset troubleshooting guide on the arch wiki, and checked the journalctl output, but didnt see anything related to what was on the guide.

Output of "inxi -Fxxxza"

System:    Kernel: 5.11.8-140-tkg-bmq x86_64 bits: 64 compiler: gcc v: 10.2.0
           parameters: intel_pstate=passive BOOT_IMAGE=/@/boot/vmlinuz-linux-tkg-bmq
           root=UUID=8ac0c389-6598-4f0b-9d50-a8fb6486fbcf rw [email protected] quiet splash rd.udev.log_priority=3
           vt.global_cursor_default=0 systemd.unified_cgroup_hierarchy=1 resume=UUID=a61cfccf-9e02-4ec3-8f71-36db3e016093
           loglevel=3
           Desktop: KDE Plasma 5.21.3 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux
           base: Arch Linux
Machine:   Type: Laptop System: Dell product: Inspiron 5567 v: N/A serial: <filter> Chassis: type: 10 serial: <filter>
           Mobo: Dell model: 02YHJP v: A00 serial: <filter> UEFI: Dell v: 1.2.8 date: 05/22/2019
Battery:   ID-1: BAT0 charge: 15.3 Wh (100.0%) condition: 15.3/42.0 Wh (36.5%) volts: 12.8 min: 11.4
           model: Samsung SDI DELL C4HCW6B type: Li-ion serial: <filter> status: Full
CPU:       Info: Dual Core model: Intel Core i5-7200U bits: 64 type: MT MCP arch: Amber/Kaby Lake note: check family: 6
           model-id: 8E (142) stepping: 9 microcode: DE cache: L2: 3 MiB
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 21623
           Speed: 2752 MHz min/max: 400/3100 MHz Core speeds (MHz): 1: 2752 2: 2239 3: 2460 4: 3012
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
           Type: mds mitigation: Clear CPU buffers; SMT vulnerable
           Type: meltdown mitigation: PTI
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
           Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling
           Type: srbds mitigation: Microcode
           Type: tsx_async_abort status: Not affected
Graphics:  Device-1: Intel HD Graphics 620 vendor: Dell driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:5916
           class-ID: 0300
           Device-2: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo bus-ID: 1-5:3 chip-ID: 0c45:6a06 class-ID: 0e02
           Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver: loaded: amdgpu,ati,intel unloaded: modesetting
           alternate: fbdev,vesa display-ID: :0 screens: 1
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") s-diag: 582mm (22.9")
           Monitor-1: eDP1 res: 1920x1080 hz: 60 dpi: 143 size: 340x190mm (13.4x7.5") diag: 389mm (15.3")
           OpenGL: renderer: Mesa Intel HD Graphics 620 (KBL GT2) v: 4.6 Mesa 20.3.4 direct render: Yes
Audio:     Device-1: Intel Sunrise Point-LP HD Audio vendor: Dell driver: snd_hda_intel v: kernel alternate: snd_soc_skl
           bus-ID: 00:1f.3 chip-ID: 8086:9d71 class-ID: 0403
           Sound Server-1: ALSA v: k5.11.8-140-tkg-bmq running: yes
           Sound Server-2: JACK v: 0.125.0 running: no
           Sound Server-3: PulseAudio v: 14.2 running: yes
           Sound Server-4: PipeWire v: 0.3.24 running: no
Network:   Device-1: Intel Wireless 3165 driver: iwlwifi v: kernel port: f040 bus-ID: 02:00.0 chip-ID: 8086:3165
           class-ID: 0280
           IF: wlp2s0 state: up mac: <filter>
           Device-2: Realtek RTL810xE PCI Express Fast Ethernet vendor: Dell driver: r8169 v: kernel port: d000
           bus-ID: 03:00.0 chip-ID: 10ec:8136 class-ID: 0200
           IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: <filter>
           IF-ID-1: docker0 state: down mac: <filter>
           IF-ID-2: vmnet1 state: unknown speed: N/A duplex: N/A mac: <filter>
           IF-ID-3: vmnet8 state: unknown speed: N/A duplex: N/A mac: <filter>
Bluetooth: Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 bus-ID: 1-8:7 chip-ID: 8087:0a2a
           class-ID: e001
           Report: ID: hci0 state: up address: <filter>
Drives:    Local Storage: total: 447.13 GiB used: 73.4 GiB (16.4%)
           SMART Message: Unable to run smartctl. Root privileges required.
           ID-1: /dev/sda maj-min: 8:0 vendor: Crucial model: CT480BX500SSD1 size: 447.13 GiB block-size: physical: 512 B
           logical: 512 B speed: 6.0 Gb/s rotation: SSD serial: <filter> rev: R022 scheme: GPT
Partition: ID-1: / raw-size: 301.3 GiB size: 301.3 GiB (100.00%) used: 73.38 GiB (24.4%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
           ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 25.8 MiB (8.6%) fs: vfat dev: /dev/sda1
           maj-min: 8:1
           ID-3: /home raw-size: 301.3 GiB size: 301.3 GiB (100.00%) used: 73.38 GiB (24.4%) fs: btrfs dev: /dev/sda2
           maj-min: 8:2
           ID-4: /var/log raw-size: 301.3 GiB size: 301.3 GiB (100.00%) used: 73.38 GiB (24.4%) fs: btrfs dev: /dev/sda2
           maj-min: 8:2
           ID-5: /var/tmp raw-size: 301.3 GiB size: 301.3 GiB (100.00%) used: 73.38 GiB (24.4%) fs: btrfs dev: /dev/sda2
           maj-min: 8:2
Swap:      Kernel: swappiness: 10 (default 60) cache-pressure: 75 (default 100)
           ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda5 maj-min: 8:5
           ID-2: swap-2 type: zram size: 1.92 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram0
           ID-3: swap-3 type: zram size: 1.92 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram1
           ID-4: swap-4 type: zram size: 1.92 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram2
           ID-5: swap-5 type: zram size: 1.92 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram3
Sensors:   System Temperatures: cpu: 49.0 C mobo: 43.0 C sodimm: SODIMM C gpu: amdgpu temp: 48.0 C
           Fan Speeds (RPM): cpu: 2666
Info:      Processes: 240 Uptime: 2h 35m wakeups: 1 Memory: 7.67 GiB used: 3.28 GiB (42.8%) Init: systemd v: 247
           tool: systemctl Compilers: gcc: 10.2.0 clang: 11.1.0 Packages: pacman: 1885 lib: 561 Shell: fish v: 3.2.1
           running-in: alacritty inxi: 3.3.03

Output of "journalctl"

Would really appreciate it if someone could help. I am absolutely loving garuda, but this minor inconvenience gets really annoying.

PS: I think most of the output in journalctl is due to my kwin auto tilling script, although I may be wrong.

Test different kernels such as, linux, linux-hardened, linux-mainline or others.

2 Likes