cosmic-applets icon indicating copy to clipboard operation
cosmic-applets copied to clipboard

Bluetooth input device not connecting (cosmic only)

Open PGQT opened this issue 1 year ago • 4 comments

Paired Bluetooth devices in cosmic not functioning or connecting. This functions fine in the gnome de, but seems to run into an issue when in the cosmic de.

expected: click on cosmic Bluetooth applet, choose Bluetooth keyboard device, then the device connects, and keyboard input is accepted.

experienced: click on cosmic Bluetooth panel applet, click on Bluetooth keyboard device, and the progress ball rolls, then quickly disappears, without a successful connection to the device. repeated attempts yielded no different results.

I also used the cli tool bluetoothctl to attempt a connection, with the same failed result. Below, I will include some system and device info, and some output from dmesg, journalctl, and bluetoothctl. It should also be noted that I have successfully paired and connected many times in the cosmic de to my gen1 air-pods pro. This functionality remains even while the keyboard connection is failing.

OS: Pop!_OS 22.04 LTS x86_64
Host: Pangolin pang13
Kernel: 6.8.0-76060800daily20240311-generic
Uptime: 48 mins
Packages: 2346 (dpkg), 58 (flatpak)
Shell: bash 5.1.16
Resolution: 1920x1200
DE: COSMIC
Theme: Adwaita [GTK3]
Icons: Adwaita [GTK3]
Terminal: cosmic-term
CPU: AMD Ryzen 7 7735U with Radeon Graphics (16) @ 4.819GHz
GPU: AMD ATI 05:00.0 Rembrandt
Memory: 6345MiB / 31325MiB
keyboard make/model:
epomaker
aula
f75
[bluetooth]# connect E2:3E:62:2C:54:31
Attempting to connect to E2:3E:62:2C:54:31
Failed to connect: org.bluez.Error.Failed Operation already in progress
[CHG] Device 63:86:64:0E:CA:97 RSSI: -54
[CHG] Device 63:86:64:0E:CA:97 RSSI: -54
[CHG] Device 63:86:64:0E:CA:97 RSSI: -65
[CHG] Device 63:86:64:0E:CA:97 RSSI: -66
[DEL] Device 74:7D:50:B3:A5:65 74-7D-50-B3-A5-65
[CHG] Device 63:86:64:0E:CA:97 RSSI: -54
[CHG] Device 63:86:64:0E:CA:97 RSSI: -54
Failed to connect: org.bluez.Error.Failed le-connection-abort-by-local
pgq_ipqs@pop-os:~$ sudo dmesg | grep Bluetooth
[   24.761244] Bluetooth: Core ver 2.22
[   24.761275] Bluetooth: HCI device and connection manager initialized
[   24.761281] Bluetooth: HCI socket layer initialized
[   24.761283] Bluetooth: L2CAP socket layer initialized
[   24.761288] Bluetooth: SCO socket layer initialized
[   24.921459] Bluetooth: hci0: HW/SW Version: 0x008a008a, Build Time: 20240219111427
[   25.158772] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   25.158776] Bluetooth: BNEP filters: protocol multicast
[   25.158782] Bluetooth: BNEP socket layer initialized
[   27.616132] Bluetooth: hci0: Device setup in 2667749 usecs
[   27.616140] Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported.
[   27.688640] Bluetooth: hci0: AOSP extensions version v1.00
[   27.688649] Bluetooth: hci0: AOSP quality report is supported
[   27.688736] Bluetooth: MGMT ver 1.22
[   27.711640] Bluetooth: RFCOMM TTY layer initialized
[   27.711649] Bluetooth: RFCOMM socket layer initialized
[   27.711654] Bluetooth: RFCOMM ver 1.11
pgq_ipqs@pop-os:~$ journalctl -xe -n 5000 | grep Bluetooth
May 30 21:52:23 pop-os cosmic-panel[77487]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation failed: Operation already in progress
May 30 21:53:02 pop-os cosmic-panel[77487]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation failed: le-connection-abort-by-local
May 30 21:53:51 pop-os cosmic-panel[77487]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation failed: le-connection-abort-by-local
May 30 21:53:51 pop-os cosmic-panel[77487]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation failed: le-connection-abort-by-local
May 31 00:29:38 pop-os systemd[1]: Stopped target Bluetooth Support.
May 31 00:29:38 pop-os systemd[1]: Stopping Bluetooth service...
May 31 00:29:38 pop-os kernel: Bluetooth: hci0: unexpected event for opcode 0x2042
May 31 00:29:39 pop-os systemd[1]: Stopped Bluetooth service.
May 31 00:29:39 pop-os systemd[77378]: Stopped target Bluetooth.
May 31 10:17:04 pop-os kernel: Bluetooth: Core ver 2.22
May 31 10:17:04 pop-os kernel: Bluetooth: HCI device and connection manager initialized
May 31 10:17:04 pop-os kernel: Bluetooth: HCI socket layer initialized
May 31 10:17:04 pop-os kernel: Bluetooth: L2CAP socket layer initialized
May 31 10:17:04 pop-os kernel: Bluetooth: SCO socket layer initialized
May 31 10:17:04 pop-os kernel: Bluetooth: hci0: HW/SW Version: 0x008a008a, Build Time: 20240219111427
May 31 10:17:04 pop-os systemd[1]: Starting Bluetooth service...
May 31 10:17:04 pop-os bluetoothd[927]: Bluetooth daemon 5.64
May 31 10:17:04 pop-os systemd[1]: Started Bluetooth service.
May 31 10:17:04 pop-os systemd[1]: Reached target Bluetooth Support.
May 31 10:17:04 pop-os bluetoothd[927]: Bluetooth management interface 1.22 initialized
May 31 10:17:04 pop-os kernel: Bluetooth: BNEP (Ethernet Emulation) ver 1.3
May 31 10:17:04 pop-os kernel: Bluetooth: BNEP filters: protocol multicast
May 31 10:17:04 pop-os kernel: Bluetooth: BNEP socket layer initialized
May 31 10:17:07 pop-os kernel: Bluetooth: hci0: Device setup in 2667749 usecs
May 31 10:17:07 pop-os kernel: Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported.
May 31 10:17:07 pop-os kernel: Bluetooth: hci0: AOSP extensions version v1.00
May 31 10:17:07 pop-os kernel: Bluetooth: hci0: AOSP quality report is supported
May 31 10:17:07 pop-os kernel: Bluetooth: MGMT ver 1.22
May 31 10:17:07 pop-os kernel: Bluetooth: RFCOMM TTY layer initialized
May 31 10:17:07 pop-os kernel: Bluetooth: RFCOMM socket layer initialized
May 31 10:17:07 pop-os kernel: Bluetooth: RFCOMM ver 1.11
May 31 10:17:37 pop-os cosmic-panel[3072]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation failed: Operation already in progress
May 31 10:17:37 pop-os cosmic-panel[3072]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation in progress: br-connection-busy
May 31 10:17:37 pop-os cosmic-panel[3072]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation failed: Operation already in progress
May 31 10:17:37 pop-os cosmic-panel[3072]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation failed: Operation already in progress
May 31 10:17:37 pop-os cosmic-panel[3072]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation in progress: br-connection-busy
May 31 10:17:37 pop-os cosmic-panel[3072]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation failed: Operation already in progress
May 31 10:17:37 pop-os cosmic-panel[3072]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation in progress: br-connection-busy
May 31 10:17:37 pop-os cosmic-panel[3072]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation failed: Operation already in progress
May 31 10:17:37 pop-os cosmic-panel[3072]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation in progress: br-connection-busy
May 31 10:17:37 pop-os cosmic-panel[3072]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation failed: Operation already in progress
May 31 10:17:37 pop-os cosmic-panel[3072]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation failed: Operation already in progress
May 31 10:17:37 pop-os cosmic-panel[3072]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation in progress: br-connection-busy
May 31 10:17:37 pop-os cosmic-panel[3072]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation in progress: br-connection-busy
May 31 10:17:37 pop-os cosmic-panel[3072]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation failed: Operation already in progress
May 31 10:17:37 pop-os cosmic-panel[3072]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation in progress: br-connection-busy
May 31 10:17:37 pop-os cosmic-panel[3072]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation in progress: br-connection-busy
May 31 10:17:37 pop-os cosmic-panel[3072]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation in progress: br-connection-busy
May 31 10:17:37 pop-os cosmic-panel[3072]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation in progress: br-connection-busy
May 31 10:17:37 pop-os cosmic-panel[3072]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation failed: Operation already in progress
May 31 10:17:37 pop-os cosmic-panel[3072]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation failed: Operation already in progress
May 31 10:17:52 pop-os cosmic-panel[3072]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation failed: br-connection-page-timeout
May 31 10:18:18 pop-os cosmic-panel[3072]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation failed: le-connection-abort-by-local
May 31 10:18:18 pop-os cosmic-panel[3072]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation failed: le-connection-abort-by-local
May 31 10:18:25 pop-os cosmic-panel[3072]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation failed: le-connection-abort-by-local
May 31 10:29:56 pop-os cosmic-panel[3072]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation failed: Operation already in progress
May 31 10:30:14 pop-os cosmic-panel[3072]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation failed: Operation already in progress
May 31 10:30:36 pop-os cosmic-panel[3072]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation failed: le-connection-abort-by-local
May 31 10:30:56 pop-os cosmic-panel[3072]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation failed: le-connection-abort-by-local
May 31 10:44:27 pop-os cosmic-panel[3072]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation failed: le-connection-abort-by-local
May 31 10:47:38 pop-os systemd[2952]: Reached target Bluetooth.

PGQT avatar May 31 '24 18:05 PGQT

I get the same thing for my MX Master 3 (mouse), but this only affects my mouse and never my Bluetooth headphones and it only happens when the screen times out:

May 03 17:34:38 sisyphus .cosmic-panel-wrapped[20689]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation failed: Operation already in progress
May 03 17:35:08 sisyphus systemd[1]: systemd-timedated.service: Deactivated successfully.
May 03 17:35:20 sisyphus .cosmic-panel-wrapped[20689]: com.system76.CosmicAppletBluetooth: bluetooth request error: Bluetooth operation failed: le-connection-abort-by-local

short of rebooting, the only way I've found to make the mouse work again is to power cycle Bluetooth:

bluetoothctl power off; bluetoothctl power on;

cjshearer avatar May 03 '25 22:05 cjshearer

This started happening to me after upgrading to alpha 7. I don't remember which alpha I was on previously. Only happens after screen timeouts. I've resorted to just rebooting.

chasewallis avatar May 08 '25 17:05 chasewallis

I'm seeing this issue on alpha 7 as well. I can connect my mx master 3, but not my mx keys

malachibazar avatar May 10 '25 18:05 malachibazar

I'm having the same issue in Pop!_OS 24.04 LTS with my MX Keys. Same as @chasewallis, it's the keyboard so I can only reboot.

hogmat avatar Jul 14 '25 08:07 hogmat