2024-06-06T11:17:32Z "Johannes Thyssen Tishman" <johan...@thyssentishman.com>:
> >Synopsis:    Repeated character insertion on keyboard keypress
> >Category:    system
> >Environment:
>       System      : OpenBSD 7.5
>       Details     : OpenBSD 7.5-current (GENERIC.MP) #114: Wed Jun  5 
> 18:33:08 MDT 2024
>                        
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
>
>       Architecture: OpenBSD.amd64
>       Machine     : amd64
> >Description:
>         On my Thinkpad E14 Gen 6 (AMD), for every keyboard keypress,
>         multiple characters are inserted. The first character is
>         inserted after a short delay and then 17 more after another
>         delay:
>
>       <a-keypress><delay>a<delay>aaaaaaaaaaaaaaaaa
>
>         I've tested this with multiple keys and it seems to be always a
>         total of 18 characters when under X and 7 on the console. The
>         keyboard works properly in the boot prompt though. I've tried
>         the following workarounds suggested on other bug reports[1][2]:
>
>       1. xset r off: fixes repeated characters, but the delays remain
>       2. sysctl kern.timecounter.hardware
>       =tsc: the problem seems to also happen with external keyboard
>       =acpitimer0: couldn't notice a difference from using acpihpet0
>       =acpihpet0: default
>       3. Booting with 'bsd.sp': the problem persists
>
>         Also, 'pckbc: command timeout' appears multiple times on
>         /var/log/messages. I'm not sure if this is related.
>
>       [1] https://marc.info/?l=openbsd-bugs&m=154340900815220&w=2
>       [2] https://marc.info/?l=openbsd-bugs&m=156561334405282&w=2
> >How-To-Repeat:
>       Type any key on the console or in an X session
> >Fix:
>       Workaround: Use external keyboard

Any ideas on how I could debug this? I'm happy to work on a solution
myself or to test patches, I just don't know where to start with
something like this. Any guidance would be very appreciated. Thank you.

Reply via email to