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/
This archive was generated by hypermail 2b29 : Mon Mar 31 2003 - 22:00:36 EST