[PATCH] [2-LINER] Fix unknown scancode errors for Dell laptops

James H. Cloos Jr. (cloos@jhcloos.com)
10 Jul 2003 19:22:30 -0400


With stock 2.5, some of the Dell Inspiron laptops give unknown
scancode printk()s from two of their seven multimedia keys.

The patch below fixes that by assigning otherwise unused values to
those two scan codes.

I'm running w/ it now w/o problems.

-JimC

drivers/input/keyboard/atkbd.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff -Nru a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c
--- a/drivers/input/keyboard/atkbd.c Tue Jul 8 17:39:32 2003
+++ b/drivers/input/keyboard/atkbd.c Tue Jul 8 17:39:32 2003
@@ -55,13 +55,13 @@
252,253, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
254, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,255,
0, 0, 92, 90, 85, 0,137, 0, 0, 0, 0, 91, 89,144,115, 0,
- 217,100,255, 0, 97,165,164, 0,156, 0, 0,140,115, 0, 0,125,
+ 217,100,255, 0, 97,165,164, 0,156, 0, 0,140,115, 0,117,125,
173,114, 0,113,152,163,151,126,128,166, 0,140, 0,147, 0,127,
159,167,115,160,164, 0, 0,116,158, 0,150,166, 0, 0, 0,142,
157, 0,114,166,168, 0, 0, 0,155, 0, 98,113, 0,163, 0,138,
226, 0, 0, 0, 0, 0,153,140, 0,255, 96, 0, 0, 0,143, 0,
133, 0,116, 0,143, 0,174,133, 0,107, 0,105,102, 0, 0,112,
- 110,111,108,112,106,103, 0,119, 0,118,109, 0, 99,104,119
+ 110,111,108,112,106,103,124,119, 0,118,109, 0, 99,104,119
};

static unsigned char atkbd_set3_keycode[512] = {

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