[PATCH 2.5.66-ac1] Update PC-9800 support (1/3) keyboard driver

Osamu Tomita (tomita@cinet.co.jp)
Tue, 1 Apr 2003 01:16:04 +0900


This is the update patch for NEC PC-9800 subarchitecture
against 2.5.66-ac1. (1/3)
Please apply.

Update keyboard driver for PC-98.
Bug fix, CAPS key send scancode like mechanical lock keyboard.

diff -Nru linux-2.5.66-ac1/drivers/input/keyboard/98kbd.c linux98-2.5.66-ac1/drivers/input/keyboard/98kbd.c
--- linux-2.5.66-ac1/drivers/input/keyboard/98kbd.c 2003-03-25 07:00:18.000000000 +0900
+++ linux98-2.5.66-ac1/drivers/input/keyboard/98kbd.c 2003-03-31 16:04:48.000000000 +0900
@@ -189,6 +189,13 @@
input_sync(&kbd98->dev);
return;

+ case KEY_CAPSLOCK:
+ input_report_key(&kbd98->dev, keycode, 1);
+ input_sync(&kbd98->dev);
+ input_report_key(&kbd98->dev, keycode, 0);
+ input_sync(&kbd98->dev);
+ return;
+
case KBD98_KEY_NULL:
return;

Regards,
Osamu Tomita

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