Hello !
there is a frustrating behaviour that affects Bluetooth on my laptop and maybe many other users around.
Either the keyboard or the mouse are extremely laggy, sometimes only one, others both.
I know there are a lot of issues related to Bluetooth, power profile savings etc but this time I have been able to have an issue reproducible (almost) systematically, so I am here looking for help to understand what are the meaningful logs I can collect, but I am a bit lost ![]()
Please check my assumptions below, don’t take is for granted, I am happy to check for more logs to confirm of deny my assumptions.
I exclude for now Bluetooth dongle hardware, because I have the same issue with 3 Bluetooth devices: the laptop embedded plus two additional USB dongles.
I am also taking out from this analysis all possible bugs on bluedevil-wizard and similar GUIs and considering only commands and logs from bluetoothctl that always work flawlessly.
No custom parameters in /etc/bluetooth/ all is commented and everything is by default.
Finally I exclude hardware issues on both keyboard and mouse.
Same devices are working with no issues on other Windows devices in Bluetooth mode.
The keyboard has no lag when connected via USB cable.
Ubuntu Version:
26.04
Desktop Environment
Wayland and KDE Plasma
Problem Description:
Prerequisite: pair a keyboard and mouse using bluetoothctl
Trigger the issue by doing one of actions below
bluetoothctl power offand thenbluetoothctl power onsystemctl restart bluetooth- simply restart the system
When I have the issue, in the chain of events it is missing the event of
[NEW] Device 00:35:FF:2F:86:CB AnnePro2
below a recap of extracted events
[CHG] Device 00:35:FF:2F:86:CB Connected: yes
[CHG] Device 00:35:FF:2F:86:CB ServicesResolved: yes
restart bluetooth Service
[CHG] Device 00:35:FF:2F:86:CB ServicesResolved: no
[CHG] Device 00:35:FF:2F:86:CB Connected: no
[DEL] Device 00:35:FF:2F:86:CB AnnePro2
bluetooth service starts
[NEW] Device 00:35:FF:2F:86:CB AnnePro2 # <— look here
[CHG] Device 00:35:FF:2F:86:CB WakeAllowed: yes
[CHG] Device 00:35:FF:2F:86:CB Connected: yes
[CHG] Device 00:35:FF:2F:86:CB ServicesResolved: yes
[CHG] Device 00:35:FF:2F:86:CB Paired: yes
keyboard works well at this point
restart bluetooth Service
[CHG] Device 00:35:FF:2F:86:CB ServicesResolved: no
[CHG] Device 00:35:FF:2F:86:CB Connected: no
[DEL] Device 00:35:FF:2F:86:CB AnnePro2
bluetooth service starts
<— uops there is no NEW event here
[CHG] Device 00:35:FF:2F:86:CB WakeAllowed: yes
[CHG] Device 00:35:FF:2F:86:CB Connected: yes
[CHG] Device 00:35:FF:2F:86:CB ServicesResolved: yes
[CHG] Device 00:35:FF:2F:86:CB Paired: yes
keyboard --lags-- at this point
Relevant System Information:
Controller BC:83:85:D6:BD:95 mylaptop [default]
Device 00:35:FF:2F:86:CB AnnePro2
Device D8:6A:F9:27:6F:DB Surface Mobile Mouse
Controller BC:83:85:D6:BD:95 (public)
Manufacturer: 0x0048 (72)
Version: 0x08 (8)
Name: mylaptop
Alias: mylaptop
Class: 0x007c010c (8126732)
Powered: yes
PowerState: on
Discoverable: no
DiscoverableTimeout: 0x000000b4 (180)
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: Vendor specific (03b80e5a-ede8-4b33-a751-6ce34ec4c700)
UUID: Message Access Server (00001132-0000-1000-8000-00805f9b34fb)
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
UUID: Vendor specific (00005005-0000-1000-8000-0002ee000001)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
UUID: Device Information (0000180a-0000-1000-8000-00805f9b34fb)
UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)
UUID: Phonebook Access Client (0000112e-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)
UUID: Handsfree (0000111e-0000-1000-8000-00805f9b34fb)
Modalias: usb:v1D6Bp0246d0555
Discovering: yes
Roles: central
Roles: peripheral
Advertising Features:
ActiveInstances: 0x00 (0)
SupportedInstances: 0x05 (5)
SupportedIncludes: tx-power
SupportedIncludes: appearance
SupportedIncludes: local-name
SupportedCapabilities.MaxAdvLen: 0x1f (31)
SupportedCapabilities.MaxScnRspLen: 0x1f (31)
Device 00:35:FF:2F:86:CB (public)
Name: AnnePro2
Alias: AnnePro2
Appearance: 0x03c1 (961)
Icon: input-keyboard
Paired: yes
Bonded: yes
Trusted: yes
Blocked: no
Connected: yes
WakeAllowed: yes
LegacyPairing: no
CablePairing: no
UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
UUID: Device Information (0000180a-0000-1000-8000-00805f9b34fb)
UUID: Battery Service (0000180f-0000-1000-8000-00805f9b34fb)
UUID: Human Interface Device (00001812-0000-1000-8000-00805f9b34fb)
UUID: Scan Parameters (00001813-0000-1000-8000-00805f9b34fb)
Modalias: bluetooth:v000DpF0E0d0110
Battery Percentage: 0x64 (100)
Device D8:6A:F9:27:6F:DB (random)
Name: Surface Mobile Mouse
Alias: Surface Mobile Mouse
Appearance: 0x03c2 (962)
Icon: input-mouse
Paired: yes
Bonded: yes
Trusted: no
Blocked: no
Connected: yes
WakeAllowed: yes
LegacyPairing: no
CablePairing: no
UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
UUID: Device Information (0000180a-0000-1000-8000-00805f9b34fb)
UUID: Battery Service (0000180f-0000-1000-8000-00805f9b34fb)
UUID: Human Interface Device (00001812-0000-1000-8000-00805f9b34fb)
Modalias: usb:v045Ep095Dd0103
Battery Percentage: 0x43 (67)
Screenshots or Error Messages:
Below the Bluetoothctl output from a good condition, no issues, at some point I restart
Logs bluetoothctl doing several times power off and power on, the power off at the end of the log caused the lag of the keyboard and mouse together
[bluetoothctl]> power on
[CHG] Controller BC:83:85:D6:BD:95 PowerState: off-enabling
hci0 class of device changed: 0x7c010c
[CHG] Controller BC:83:85:D6:BD:95 Class: 0x007c010c (8126732)
hci0 new_settings: powered bondable ssp br/edr le secure-conn ll-privacy
Changing power on succeeded
[CHG] Controller BC:83:85:D6:BD:95 PowerState: on
[CHG] Controller BC:83:85:D6:BD:95 Powered: yes
[CHG] Device D8:6A:F9:27:6F:DB Connected: yes
[CHG] Device D8:6A:F9:27:6F:DB ServicesResolved: yes
[DEL] Device D0:05:2A:C7:2A:71 TelecomProvider
[CHG] Device 00:35:FF:2F:86:CB Connected: yes
[CHG] Device 00:35:FF:2F:86:CB ServicesResolved: yes
[CHG] Controller BC:83:85:D6:BD:95 Discovering: yes
[NEW] Device D0:05:2A:C7:2A:71 TelecomProvider
[CHG] Device D0:05:2A:C7:2A:71 RSSI: 0xffffffae (-82)
[CHG] Device D0:05:2A:C7:2A:71 RSSI: 0xffffffac (-84)
[CHG] Device D0:05:2A:C7:2A:71 UUIDs: 0000110a-0000-1000-8000-00805f9b34fb
[CHG] Device D0:05:2A:C7:2A:71 UUIDs: 0000110c-0000-1000-8000-00805f9b34fb
[CHG] Device D0:05:2A:C7:2A:71 UUIDs: 0000110e-0000-1000-8000-00805f9b34fb
[CHG] Device D0:05:2A:C7:2A:71 UUIDs: 00001200-0000-1000-8000-00805f9b34fb
[CHG] Device D0:05:2A:C7:2A:71 UUIDs: 00000000-0000-0000-0000-000000000000
[CHG] Device D0:05:2A:C7:2A:71 RSSI: 0xffffffa9 (-87)
[NEW] Device 80:8A:BD:0E:72:65 SmartTV
[CHG] Device D0:05:2A:C7:2A:71 RSSI: 0xffffffad (-83)
[NEW] Device 34:7D:F6:28:DD:0D DESKTOP
[CHG] Device D0:05:2A:C7:2A:71 RSSI: 0xffffffab (-85)
[CHG] Device 34:7D:F6:28:DD:0D RSSI is nil
[CHG] Device 80:8A:BD:0E:72:65 RSSI is nil
[CHG] Device D0:05:2A:C7:2A:71 RSSI is nil
[CHG] Controller BC:83:85:D6:BD:95 Discovering: no
[CHG] Controller BC:83:85:D6:BD:95 Discovering: yes
[DEL] Device 80:8A:BD:0E:72:65 SmartTV
[CHG] Device D0:05:2A:C7:2A:71 RSSI: 0xffffffa7 (-89)
[DEL] Device 34:7D:F6:28:DD:0D DESKTOP
[CHG] Device D0:05:2A:C7:2A:71 RSSI: 0xffffffaa (-86)
[NEW] Device 34:7D:F6:28:DD:0D DESKTOP
[CHG] Device D0:05:2A:C7:2A:71 RSSI: 0xffffffa3 (-93)
[Surface Mobile Mouse]> power off
[DEL] Device 34:7D:F6:28:DD:0D DESKTOP
[DEL] Device D0:05:2A:C7:2A:71 TelecomProvider
[CHG] Controller BC:83:85:D6:BD:95 PowerState: on-disabling
hci0 class of device changed: 0x000000
hci0 new_settings: bondable ssp br/edr le secure-conn ll-privacy
Changing power off succeeded
[CHG] Controller BC:83:85:D6:BD:95 PowerState: off
[CHG] Controller BC:83:85:D6:BD:95 Powered: no
[CHG] Device D8:6A:F9:27:6F:DB ServicesResolved: no
[SIGNAL] LE.Disconnected - org.bluez.Reason.Unknown, Unspecified
[SIGNAL] Disconnected - org.bluez.Reason.Unknown, Unspecified
[CHG] Device D8:6A:F9:27:6F:DB Connected: no
[CHG] Device 00:35:FF:2F:86:CB ServicesResolved: no
[SIGNAL] LE.Disconnected - org.bluez.Reason.Unknown, Unspecified
[SIGNAL] Disconnected - org.bluez.Reason.Unknown, Unspecified
[CHG] Controller BC:83:85:D6:BD:95 Discovering: no
[CHG] Controller BC:83:85:D6:BD:95 Class: 0x00000000 (0)
[CHG] Controller BC:83:85:D6:BD:95 Powered: no
[CHG] Controller BC:83:85:D6:BD:95 PowerState: off
[CHG] Device 00:35:FF:2F:86:CB Connected: no
[bluetoothctl]> power on
[CHG] Controller BC:83:85:D6:BD:95 PowerState: off-enabling
hci0 class of device changed: 0x7c010c
[CHG] Controller BC:83:85:D6:BD:95 Class: 0x007c010c (8126732)
hci0 new_settings: powered bondable ssp br/edr le secure-conn ll-privacy
Changing power on succeeded
[CHG] Controller BC:83:85:D6:BD:95 PowerState: on
[CHG] Controller BC:83:85:D6:BD:95 Powered: yes
[CHG] Device 00:35:FF:2F:86:CB Connected: yes
[CHG] Device D8:6A:F9:27:6F:DB Connected: yes
[CHG] Device 00:35:FF:2F:86:CB ServicesResolved: yes
[CHG] Device D8:6A:F9:27:6F:DB ServicesResolved: yes
[AnnePro2]> power off
[CHG] Controller BC:83:85:D6:BD:95 PowerState: on-disabling
hci0 class of device changed: 0x000000
hci0 new_settings: bondable ssp br/edr le secure-conn ll-privacy
Changing power off succeeded
[CHG] Controller BC:83:85:D6:BD:95 PowerState: off
[CHG] Controller BC:83:85:D6:BD:95 Powered: no
[CHG] Device 00:35:FF:2F:86:CB ServicesResolved: no
[SIGNAL] LE.Disconnected - org.bluez.Reason.Unknown, Unspecified
[SIGNAL] Disconnected - org.bluez.Reason.Unknown, Unspecified
[CHG] Device 00:35:FF:2F:86:CB Connected: no
[CHG] Device D8:6A:F9:27:6F:DB ServicesResolved: no
[SIGNAL] LE.Disconnected - org.bluez.Reason.Unknown, Unspecified
[SIGNAL] Disconnected - org.bluez.Reason.Unknown, Unspecified
[CHG] Controller BC:83:85:D6:BD:95 Discovering: no
[CHG] Controller BC:83:85:D6:BD:95 Class: 0x00000000 (0)
[CHG] Controller BC:83:85:D6:BD:95 Powered: no
[CHG] Controller BC:83:85:D6:BD:95 PowerState: off
[CHG] Device D8:6A:F9:27:6F:DB Connected: no
[bluetoothctl]> power on
[CHG] Controller BC:83:85:D6:BD:95 PowerState: off-enabling
hci0 class of device changed: 0x7c010c
[CHG] Controller BC:83:85:D6:BD:95 Class: 0x007c010c (8126732)
hci0 new_settings: powered bondable ssp br/edr le secure-conn ll-privacy
Changing power on succeeded
[CHG] Controller BC:83:85:D6:BD:95 PowerState: on
[CHG] Controller BC:83:85:D6:BD:95 Powered: yes
[CHG] Device D8:6A:F9:27:6F:DB Connected: yes
[CHG] Device D8:6A:F9:27:6F:DB ServicesResolved: yes
[CHG] Device 00:35:FF:2F:86:CB Connected: yes
[CHG] Device 00:35:FF:2F:86:CB ServicesResolved: yes
[CHG] Controller BC:83:85:D6:BD:95 Discovering: yes
[NEW] Device D0:05:2A:C7:2A:71 TelecomProvider
[CHG] Device D0:05:2A:C7:2A:71 RSSI: 0xffffffa9 (-87)
[CHG] Device D0:05:2A:C7:2A:71 UUIDs: 0000110a-0000-1000-8000-00805f9b34fb
[CHG] Device D0:05:2A:C7:2A:71 UUIDs: 0000110c-0000-1000-8000-00805f9b34fb
[CHG] Device D0:05:2A:C7:2A:71 UUIDs: 0000110e-0000-1000-8000-00805f9b34fb
[CHG] Device D0:05:2A:C7:2A:71 UUIDs: 00001200-0000-1000-8000-00805f9b34fb
[CHG] Device D0:05:2A:C7:2A:71 UUIDs: 00000000-0000-0000-0000-000000000000
[CHG] Device D0:05:2A:C7:2A:71 RSSI: 0xffffffac (-84)
What I’ve Tried:
a simple workaround for this issue is power off and back on or restart bluetooth service until randomly it works again when a NEW DEVICE MAC:ADDRESS event is visible at start of bluetooth service