From owner-freebsd-bugs Wed Jul 9 16:40:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA19852 for bugs-outgoing; Wed, 9 Jul 1997 16:40:07 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA19845; Wed, 9 Jul 1997 16:40:04 -0700 (PDT) Date: Wed, 9 Jul 1997 16:40:04 -0700 (PDT) Message-Id: <199707092340.QAA19845@hub.freebsd.org> To: freebsd-bugs Cc: From: Kazutaka YOKOTA Subject: Re: i386/4030: syscons thinks CTRL is always pressed Reply-To: Kazutaka YOKOTA Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR i386/4030; it has been noted by GNATS. From: Kazutaka YOKOTA To: hoek@hwcn.org Cc: FreeBSD-gnats-submit@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: i386/4030: syscons thinks CTRL is always pressed Date: Thu, 10 Jul 1997 08:43:34 +0900 >> >>Number: 4030 >> >>Category: i386 >> >>Synopsis: syscons thinks CTRL pressed, must reboot [repeatable] [...] >Okay, the patch works. However, I can still reproduce the >problem if I use a slight variation on the first keymap. > scan cntrl alt alt cntrl lock code base shift cntrl shift alt shift cntrl shift state > 090 cr rctrl nl nl rctrl rctrl nl nl O > >Press and hold Alt, then press rctrl. Release all keys. Then >press `d' or whatever and you'll log out. Well, it depends on which key you release first!! If you press Alt then right Ctrl, syscons picks up the fifth field, thinks `rctrl' is down and set the internal ctrl bit . Then, if you release Ctrl first, then Alt, syscons correctly picks up the fifth field again, thinks `rctrl' is released, and clears the internal ctrl bit. But, if you release Alt first, then Ctrl, syscons picks up the first field, and thinks `cr' is released. The internal ctrl bit remains set.... A tricky bug. But, at the same time I wonder this bug should be attributed to this rather strange keymap entry... >The patch, as shown, is good enough for me, since the keymap one >would have to use to reproduce the bug now is not very useful >(for me, anyways). Kazu