[ltp] ThinkPad X1E4 and P1G5 losing keystrokes under Linux

Marius Gedminas marius at gedmin.as
Mon Apr 17 08:31:34 CEST 2023


On Thu, Apr 13, 2023 at 12:07:39PM +0200, Thilo-Alexander Ginkel wrote:
> I have been using a ThinkPad X1 Extreme Edition Gen 4 and later a P1
> Gen 5 since late 2021. One issue that is driving me nuts is that under
> certain (yet unknown) conditions the ThinkPad seems to be sporadically
> losing keystrokes when running Linux. I reported the issue to Lenovo a
> long time ago, but no solution is in sight.
> 
> Has anyone also observed this behavior with a modern ThinkPad? To be
> able to measure the issue I crafted a little Python script that
> measures the interval between (monotonic) keystrokes and can thus
> pretty easily detect when keystrokes are lost:
> https://github.com/ginkel/thinkfail
> 
> I am also seeing the issue when booting my Laptop from a Kubuntu 22.04
> Live USB image, so I'd rule out any specifics related to my personal
> setup/configuration.
> 
> Any input is much appreciated!

I have seen something similar on my X220 (so, not a very modern
ThinkPad).  Once, back in 2013, the system became unusably stuttery on
resume, e.g. typing 'resumed, machine unusable', newline 'dmesg|tail'
produced

  # resu, machnusabldmesg|TAIL

Mouse cursor motion was also jerky, it's as if the entire system froze
for 1 second out of every 2.  That was very nicely visible in
gnome-systeme-monitor, where the graphs would flow smoothly for a bit,
then freeze, then jump, and the cycle would repeat.  dmesg showed
periodic repetition of these messages:

    [40644.125082] mmc0: Controller never released inhibit bit(s).
    [40644.224832] mmc0: Reset 0x2 never completed.
    [40644.324556] mmc0: Reset 0x4 never completed.
    [40644.335106] mmc0: Controller never released inhibit bit(s).
    [40646.133404] mmc0: Reset 0x2 never completed.
    [40646.233128] mmc0: Reset 0x4 never completed.
    [40648.032289] mmc0: Reset 0x1 never completed.
    [40692.460652] psmouse serio3: trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 3/3
    [40696.258914] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/serio3/input/input13
    [40698.116339] psmouse serio3: Failed to enable mouse on synaptics-pt/serio0

Rebooting didn't help.  Shutting down and powering on didn't help.
Shutting down, removing the battery, putting it back in, and powering on
fixed all the problems.

AFAIU a battery pull is necessary to reboot the embedded controller,
about which I know absolutely nothing.  I have no idea how one's
supposed to do that with a modern ThinkPad without a removable battery.

This never happened again, and the X220 is still in constant usage (as a
combination mail server / home media laptop).

This is probably not related to your issue, but you did say "any input".

Regards,
Marius Gedminas
-- 
I will never argue with someone who says that Linux sucks, but claiming that
one of the alternatives is -good- is just silly.
                -- "Fizz"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/attachments/20230417/e5010bbf/attachment.sig>


More information about the Linux-Thinkpad mailing list