Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jun 1999 07:31:06 +0900
From:      Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
To:        "A.Yu.Isupov" <isupov@moonhe.jinr.ru>
Cc:        freebsd-bugs@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp
Subject:   Re: kern/12388 
Message-ID:  <199906252231.HAA01840@zodiac.mech.utsunomiya-u.ac.jp>
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> 

next in thread | previous in thread | raw e-mail | index | archive | help

> >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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906252231.HAA01840>