On Thu, Jun 15, 2023 at 11:10:33PM -0400, George Koehler wrote:
> On Tue, 6 Jun 2023 03:52:57 +0000
> James Cook <falsif...@falsifian.org> wrote:
> 
> >     Example 1: I type some text in an editor and a few consecutive
> >     letters are left out.
> > 
> >     Example 2: I type a short piece of text like "openbsd", but
> >     instead I see "opennnnnnnnnnnnnnnnn" with the "n" repeating
> >     until I press some other key. (That was a made-up example but
> >     this sort of thing happens a lot.)
> > ...
> >     I *think* it only happens with an external USB keyboard, not the
> >     laptop's built-in keyboard. But it's hard to be sure. (I have
> >     observed it with more than one external keyboard.) Similarly,
> >     I've never seen it happen at a text virtual terminal, but that
> >     may be because I spend almost all my time in X11.
> 
> I had this problem, but only with one key (the spacebar) on one of
> my external USB keyboards.  I fixed it by switching to a different
> keyboard.  Your problem is different.
> 
> When your problem happens, I would try unplugging the keyboard, then
> reconnecting it, perhaps into a different USB port.  This trick
> sometimes fixed my old usb wi-fi rum(4).
> 
> A USB hub might help.  My old laptop's USB ports might be worn by the
> years, so some devices might fail to connect.  I got a hub to connect,
> then put 5 devices on the hub.  My wi-fi rum and keyboard are on this
> hub.  If the rum fails again, then I would test my keyboard; and if
> the keyboard works, then I wouldn't blame my laptop's USB port.
> 
> I have not observed a bug with keyboards in OpenBSD;
> my keyboards work well.
> 
> --George

Thanks for the ideas.

A new observation: as for as I can tell, the problem (almost) only
happens when Firefox is running. Note I'm not necessarily typing into
Firefox --- the problem occurs when typing into an xterm with all my
Firefox windows hidden. I say "almost" because I also see it when I type
my username into xenodm; of course, Firefox is not running then but
often a few letters are lost.

I've tried spending periods of time using Chrome instead of Firefox, (or
with no browser running) and as far as I can tell, the problem has never
happened during those periods.

Re particular suggestions:

I normally use a USB hub, but have also seen the problem without it.

I will try unplugging and re-plugging, but note the problem is already
very short-lived and intermittent; by the time I notice it's happened,
all I have to do is press a key and everything's back to normal until
who knows when.

-- 
James

Reply via email to