From owner-freebsd-bugs Fri Jun 25 15:27:21 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from outmail.utsunomiya-u.ac.jp (outmail.utsunomiya-u.ac.jp [160.12.196.3]) by hub.freebsd.org (Postfix) with ESMTP id 5C9C3156EA for ; Fri, 25 Jun 1999 15:27:18 -0700 (PDT) (envelope-from yokota@zodiac.mech.utsunomiya-u.ac.jp) Received: from zodiac.mech.utsunomiya-u.ac.jp (IDENT:cuBYcLRnDwfJrA5hc/MOP6oy7V4DMv5r@zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by outmail.utsunomiya-u.ac.jp (8.9.3/3.7Wpl2) with ESMTP id HAA10150; Sat, 26 Jun 1999 07:26:56 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp (zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by zodiac.mech.utsunomiya-u.ac.jp (8.7.6+2.6Wbeta7/3.4W/zodiac-May96) with ESMTP id HAA01840; Sat, 26 Jun 1999 07:31:08 +0900 (JST) Message-Id: <199906252231.HAA01840@zodiac.mech.utsunomiya-u.ac.jp> To: "A.Yu.Isupov" Cc: freebsd-bugs@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: kern/12388 In-reply-to: Your message of "Fri, 25 Jun 1999 03:40:02 MST." <199906251040.DAA44788@freefall.freebsd.org> References: <199906251040.DAA44788@freefall.freebsd.org> Date: Sat, 26 Jun 1999 07:31:06 +0900 From: Kazutaka YOKOTA Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > >Are you sure you used ALT and not ALTGR ?? I just tried in here on a -stable > >machine and it worked nicely, it also does on -current... > > I use 'lalt' and obtain bell for second and third pressed keypad numeric key >s. > 'ralt' (and 'lshift', 'rshift', 'lctrl', 'rctrl' :) work as NumLock - produce > digits with keypad numeric keys. This don't depends on used login shell. All > syscons configs I preserve from 2.2.7, where all works very nice. The problem exists only in 3.2-RELEASE ;-< It was discovered and fixed right after 3.2-RELEASE. Please apply the following patch to /sys/dev/kbd/atkbd.c and rebuild the kernel. Kazu Index: atkbd.c =================================================================== RCS file: /src/CVS/src/sys/dev/kbd/atkbd.c,v retrieving revision 1.3.2.2 retrieving revision 1.3.2.3 diff -u -r1.3.2.2 -r1.3.2.3 --- atkbd.c 1999/05/09 11:02:11 1.3.2.2 +++ atkbd.c 1999/05/28 03:15:58 1.3.2.3 @@ -827,7 +827,7 @@ /* compose a character code */ if (state->ks_flags & COMPOSE) { - switch (keycode) { + switch (keycode | (scancode & 0x80)) { /* key pressed, process it */ case 0x47: case 0x48: case 0x49: /* keypad 7,8,9 */ state->ks_composed_char *= 10; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message