Repeated keypresses from bluetooth keyboard (in Wayland sessions only)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mutter (Ubuntu) |
Won't Fix
|
Low
|
Unassigned |
Bug Description
I have a Microsoft Surface bluetooth keyboard, and semi-frequently (e.g. around every 10-15mins) end up with repeated keypresses being made (e.g. apppppppppppt get update).
This seems to happen when the machine is under slight stress, or when a new notification pops up in gnome, so it could be related to wayland possibly - but even if wayland or other processes are causing stress, I should imagine the bluetooth hid driver should not cause repeated key presses.
Please let me know if you require further information about my environment, it's difficult to know where to begin with determining which process is the root cause of this.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: bluez 5.48-0ubuntu3.2
ProcVersionSign
Uname: Linux 5.0.0-32-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
Date: Wed Oct 23 09:38:20 2019
InterestingModules: rfcomm bnep btusb bluetooth
MachineType: Dell Inc. Latitude 7480
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=en_AU.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: bluez
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/04/2019
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.15.1
dmi.board.name: 00F6D3
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.family: Latitude
dmi.product.name: Latitude 7480
dmi.product.sku: 07A0
dmi.sys.vendor: Dell Inc.
hciconfig:
hci0: Type: Primary Bus: USB
BD Address: F8:63:3F:E9:51:8C ACL MTU: 1021:4 SCO MTU: 96:6
UP RUNNING PSCAN
RX bytes:1658613 acl:66750 sco:0 events:15708 errors:0
TX bytes:605292 acl:98 sco:0 commands:2484 errors:0
Changed in mutter (Ubuntu): | |
importance: | Undecided → Low |
Please try:
* Logging into 'Ubuntu' instead of 'Ubuntu on Wayland'. That will mean key events are first handled by the 'Xorg' process and won't get delayed or lost by high CPU in the 'gnome-shell' process.
* Moving away from wifi devices that might be using 2.4GHz frequencies, as they will interfere with Bluetooth and cause packet loss, and some resends. I don't know how unique the resends of lost packets are for Bluetooth keyboards...