You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Key-up reports lost when Linux USB autosuspend is enabled (stuck/repeating keys) #58
Random keys (Backspace, Enter, letters) get stuck after being released and auto-repeat
indefinitely. The repeat stops only when any other key is pressed. Frequency: every
few minutes during normal typing.
/sys/bus/usb/devices/<keyboard>/power/control was auto (USB autosuspend enabled).
The key-up report is lost when the device suspends after a key is released. The next
keypress wakes the device and sends a full-state report, which implicitly releases the
stuck key.
libinput trace (libinput debug-events), Enter release arriving with the next keypress:
+337.528s KEY_ENTER (28) pressed
[~5.5s, no keyboard events; touchpad in use]
+343.026s KEY_LEFTMETA (125) pressed
+343.026s KEY_ENTER (28) released <- same timestamp
The touchpad (i2c) kept reporting throughout; only the USB keyboard went silent.
Expected: the keyboard should survive USB suspend/resume without losing a key-up:
either resend the current key state after wakeup, or not allow suspend while a report
is pending or a key is held.
Activity
conlanpatrek commentedon Oct 4, 2026
It looks like upstream no longer has this bug, so this is probably resolved by #49