Re: uk keyboard broken by input updates?

From: Bastien Nocera
Date: Mon Jan 12 2004 - 16:19:38 EST


On Mon, 2004-01-12 at 10:32, Vojtech Pavlik wrote:
> On Mon, Jan 12, 2004 at 10:21:04AM +0000, Kieran wrote:
> > I have exactly the same problem using 2.6.1 and an IBM USB keyboard, not
> > really had a chance to look into it yet though.
>
> Can you check if this fixes it for you?
>
> 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,

Tested it, works great.

Thanks a lot for that patch.

---
Bastien Nocera <hadess@xxxxxxxxxx>
If your boss is getting you down, look at him through the prongs of a
fork and imagine him in jail.

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