Linux kernel -stable discussions
 help / color / mirror / Atom feed
* Regression with Lenovo ThinkPad Compact USB Keyboard
@ 2024-02-16 11:51 Raphaël Halimi
  2024-02-20 11:35 ` Thorsten Leemhuis
  0 siblings, 1 reply; 16+ messages in thread
From: Raphaël Halimi @ 2024-02-16 11:51 UTC (permalink / raw)
  To: Linux Stable Mailing List
  Cc: Linux Regressions Mailing List, Linux Input Mailing List,
	Dmitry Torokhov, Jiri Kosina, Benjamin Tissoires,
	Mikhail Khvainitski

Dear developers,

(sorry for the long CC list, it looks quite long to me, but I tried to 
follow the issue reporting guide as closely as possible)

Since patches [1], [2] and [3] were applied to the kernel, there is a 
regression with Lenovo ThinkPad Compact USB Keyboard (old model, not II).

[1] 
https://github.com/torvalds/linux/commit/46a0a2c96f0f47628190f122c2e3d879e590bcbe
[2] 
https://github.com/torvalds/linux/commit/2f2bd7cbd1d1548137b351040dc4e037d18cdfdc
[3] 
https://github.com/torvalds/linux/commit/43527a0094c10dfbf0d5a2e7979395a38de3ff65

The regression is that a middle click is performed when releasing middle 
button after wheel emulation.

The bug appears randomly, it can be after 5 minutes or 1 hour of 
keyboard usage, and can only be worked around by unplugging/re-plugging 
the keyboard. (I ended up resorting to simulate an unplug/replug, with a 
script which echoes 0 then 1 to /sys/bus/usb/devices/<id>/authorized, 
since I was afraid to damage the Micro-USB outlet by physically 
unplugging/re-plugging too much).

Those spurious clicks are very annoying, since they can open links in
new tabs when scrolling in Firefox, or pasting text when scrolling in
terminals, or other unwanted stuff.

I witnessed it with latest kernels (Debian unstable) as well as stable 
kernels (Debian 12 Bookworm, stable).

On Debian Stable, the last working kernel was 5.10.127, the regression 
appeared in 5.10.136 (i read all changelogs on kernel.org between those 
two releases but couldn't find anything about hid-lenovo, so I can't 
tell exactly in which release the regression appeared, Debian upgraded 
directly from .127 to .136).

I reported it in Debian [4], and apparently I'm not the only person 
suffering from it [5].

[4] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058758#32
[5] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058758#42

I would understand that such bugs would end up in a development kernel 
like the ones provided by Debian Unstable, but not with stable kernels 
like the ones provided by Debian Stable.

Regards,

-- 
Raphaël Halimi

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2024-03-12 13:12 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-16 11:51 Regression with Lenovo ThinkPad Compact USB Keyboard Raphaël Halimi
2024-02-20 11:35 ` Thorsten Leemhuis
2024-02-20 18:12   ` Raphaël Halimi
2024-02-20 19:05     ` Raphaël Halimi
2024-02-24 10:52     ` Raphaël Halimi
2024-02-24 13:08       ` Linux regression tracking (Thorsten Leemhuis)
2024-02-24 13:51         ` Raphaël Halimi
2024-02-24 16:15           ` Raphaël Halimi
2024-03-04 14:33             ` Linux regression tracking (Thorsten Leemhuis)
2024-03-04 14:52               ` Mikhail Khvoinitsky
2024-03-04 15:07                 ` Raphaël Halimi
2024-03-04 15:12                   ` Mikhail Khvoinitsky
2024-03-04 16:09                     ` Raphaël Halimi
2024-03-12 11:56                       ` Raphaël Halimi
2024-03-12 13:05                         ` Mikhail Khvoinitsky
2024-03-12 13:12                           ` Raphaël Halimi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox