[BUG] Stuck key syndrome (was: Re: [PATCH net-next v2] net: dsa: microchip: Add SGMII port support to KSZ9477 switch)
From: "Russell King (Oracle)" <linux@armlinux.org.uk>
Date: 2025-05-07 09:23:29
Also in:
lkml
[Sorry for going off topic here - changed the Cc list, added Linus, changed the subject.] On Wed, May 07, 2025 at 10:54:57AM +0200, Maxime Chevallier wrote:
On Wed, 7 May 2025 09:31:48 +0100 "Russell King (Oracle)" [off-list ref] wrote:quoted
[rest of the email got deleted because Linux / X11 / KDE got confused about the state the backspace key and decided it was going to be continuously pressed and doing nothing except shutting the laptop down would stop it.]Funny how I have the same exact issue on my laptop as well...
I've had the "stuck key" behaviour with the HP Pavilion 15-au185sa laptop I had previously (normally with ctrl-F keys). However, hitting ctrl/shift/alt would stop it. This is the first time I've seen the behaviour with the Carbon X1 laptop, but this was way more severe. No key would stop it. Trying to move the focus using the trackpad/nipple had any effect. Meanwhile the email was being deleted one character at a time. So I shut the laptop lid causing it to suspend, and wondered what to do... on re-opening the laptop, it didn't restart and is back to normal. This suggests that the entire input subsystem in the software stack collapsed just after the backspace key was pressed, and Xorg never saw the key-release event. So Xorg duitifully did its key-repeat processing, causing the email to be deleted one character at a time. The problem is, not only did this destroy the email reply, but it also destroyed my train of thought for the reply as well through the panic of trying to stop the entire email being deleted. I don't think this is a hardware issue - I think there's a problem in the input handling somewhere in the stack of kernel, Xorg, whatever multiple input libraries make up modern systems, and KDE. I did check the logs. Nothing in the kernel messages that suggests a problem. Nothing in Xorg's logs (which are difficult to tie up because it doesn't use real timestamps that one can relate to real time.) There's no longer any ~/.xsession-errors logfile for logging the stuff below Xorg. I'm running Debian Stable here - kernel 6.1.0-34-amd64, X.Org X Server 1.21.1.7, KDE Plasma (5.27.5, frameworks 5.103.0, QT 5.15.8). Anyone else seeing this kind of behaviour - if so, what are you using? -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!