Date: Wed, 12 Nov 2025 23:20:40 +0200 From: Andriy Gapon <avg@freebsd.org> To: Ed Maste <emaste@freebsd.org> Cc: FreeBSD Current <current@freebsd.org> Subject: Re: keyboard in wrong mode after VT switch from X Message-ID: <dda2b0c2-6f63-4131-bfbd-03f7d8bf049b@freebsd.org> In-Reply-To: <CAPyFy2DbQA0uZ1yQTC_E_6NsgGDOj_57wpe%2BTRJ0B7Vwb3%2B_vg@mail.gmail.com> References: <eaa55e8d-3dc0-4b27-ace8-7be43d8b93f6@FreeBSD.org> <CAPyFy2DbQA0uZ1yQTC_E_6NsgGDOj_57wpe%2BTRJ0B7Vwb3%2B_vg@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
On 12/11/2025 21:38, Ed Maste wrote: > On Wed, 12 Nov 2025 at 11:15, Andriy Gapon <avg@freebsd.org> wrote: >> >> I usually work in desktop (X11) environment all the time, but recently I had to >> troubleshoot a problem with Xorg configuration and had to switch between X and a >> text console quite a bit. And quite frequently (but not always) the keyboard >> seemed to be in wrong mode after a switch. At least, that's how it appeared: >> most key presses wouldn't get through, but some (I think Enter) would have an >> effect. Switching to another text console and back always fixed the input. > > I think I've seen this sort of thing being caused by incorrect > modifier key state - that is, it's acting as if ctrl and/or alt are > being pressed. If you get in this state again try pressing and > releasing modifier keys to see if that clears it up. If so, it's a bit > of an unfortunate workaround but at least will provide a hint for next > debugging steps. Yes, that was it. I've just repro-ed the issue and pressing Alt helped to restore the input. Thanks! -- Andriy Gaponhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dda2b0c2-6f63-4131-bfbd-03f7d8bf049b>
