Mouse buttons and keyboard unresponsive after idle time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xfce4-power-manager (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
If I leave my desktop (Xubuntu 20.04.1 LTS, Xfce xfdesktop4 4.14.2-1, Xorg 1:7.7+19ubuntu14) idle for a few minutes, the mouse buttons and most keyboard presses become unresponsive. My "system power saving" setting is disabled (set to "never") and "display power management" is set to blank after 15 minutes, but the problem seems to occur sooner than that. Unplugging and re-inserting the mouse after a few seconds has no effect.
The only keystrokes that have any effect are Ctrl+Alt+F1 for a terminal session (where I can type normally). Returning to the desktop with Ctrl+Alt+F7 the mouse and keyboard remain unresponsive as before. This occurs with kernel 5.4.0-62, and I also installed the 5.4.0-26 kernel and the problem happens with that too. When I reboot the machine everything works fine again, but after a few minutes of idle time, the same problem occurs again. I've only noticed the problem occurring in the last ~2-3 weeks.
When I leave a terminal window open on the desktop running the command:
tail -f /var/log/Xorg.0.log
and allow lots of time for the problem to occur, no lines are appended in the terminal even after the problem has happened, but when I then use Ctrl+Alt+F1 and log in at the terminal console, the following additional lines appear in /var/log/xorg.0.log :
[ 3805.283] (II) event1 - Power Button: device removed
[ 3805.296] (II) event0 - Power Button: device removed
[ 3805.312] (II) event3 - Logitech USB Optical Mouse: device removed
[ 3805.344] (II) event4 - Eee PC WMI hotkeys: device removed
[ 3805.364] (II) event2 - AT Translated Set 2 keyboard: device removed
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: xorg 1:7.7+19ubuntu14
ProcVersionSign
Uname: Linux 5.4.0-62-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
Date: Thu Jan 21 16:37:48 2021
DistUpgraded: Fresh install
DistroCodename: focal
DistroVariant: ubuntu
ExtraDebuggingI
GraphicsCard:
NVIDIA Corporation GK208B [GeForce GT 730] [10de:1287] (rev a1) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. GK208B [GeForce GT 730] [1043:8501]
InstallationDate: Installed on 2020-05-17 (249 days ago)
InstallationMedia: Xubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
MachineType: System manufacturer System Product Name
ProcEnviron:
LANGUAGE=en_GB:en
TERM=linux
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/13/2019
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 5406
dmi.board.
dmi.board.name: PRIME X470-PRO
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: To be filled by O.E.M.
dmi.product.name: System Product Name
dmi.product.sku: SKU
dmi.product.
dmi.sys.vendor: System manufacturer
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.102-
version.
version.
version.
version.
version.
version.
version.
Thanks for the bug report. This sounds a power management problem.
1. If you have 'tlp' installed the please uninstall it. It's known to cause bugs like this.
2. Try installing 'powertop' and then look in its 'Tunables' section. By changing some of those to 'Bad' (which is actually better than 'Good' in this case) you can stop them suspending so much.
3. The kernel team should have some more ideas. I will move this bug there...