Re: BUG: The key "/ ?" on my abtn2 keyboard is dead with kernel2.6.1

From: Frédéric L. W. Meunier
Date: Sun Jan 11 2004 - 21:18:37 EST


Vojtech, he reported the same problem I have. The "/ ?" key not
working anymore with ABNT2 keyboards.

I tested with the patch and it didn't fix it on the console.
I'm using kbd 1.10.

showkey under 2.4:

keycode 89

showkey under 2.6.1:

keycode 0 press
keycode 1 release
keycode 53 release
keycode 0 release
keycode 1 release
keycode 53 release

It works with XFree86.

Since 2.6.0 worked, I assume something broke it.

Mon, 12 Jan 2004, Vojtech Pavlik wrote:

> On Sun, Jan 11, 2004 at 03:45:59PM +0000, Murilo Pontes wrote:
>
> > 15:34:36 [root@murilo:/MRX/drivers]#diff -urN linux-2.6.0/drivers/input/keyboard/atkbd.c linux-2.6.1/drivers/input/keyboard/atkbd.c > test.diff
> > 15:35:12 [root@murilo:/MRX/drivers]#wc -l test.diff
> > 387 test.diff
> > -------------> May be wrong?!
>
> Yes, there was a mistake by me in a related patch.
>
> This should fix it.
>
> diff -Nru a/drivers/char/keyboard.c b/drivers/char/keyboard.c
> --- a/drivers/char/keyboard.c Sun Jan 11 19:42:55 2004
> +++ b/drivers/char/keyboard.c Sun Jan 11 19:42:55 2004
> @@ -941,8 +941,8 @@
> 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
> 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63,
> 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,
> - 80, 81, 82, 83, 84, 93, 86, 87, 88, 94, 95, 85,259,375,260, 90,
> - 284,285,309,311,312, 91,327,328,329,331,333,335,336,337,338,339,
> + 80, 81, 82, 83, 43, 93, 86, 87, 88, 94, 95, 85,259,375,260, 90,
> + 284,285,309,298,312, 91,327,328,329,331,333,335,336,337,338,339,
> 367,288,302,304,350, 89,334,326,116,377,109,111,126,347,348,349,
> 360,261,262,263,298,376,100,101,321,316,373,286,289,102,351,355,
> 103,104,105,275,287,279,306,106,274,107,294,364,358,363,362,361,

--
http://www.pervalidus.net/contact.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/