Early keyboard initialization?

From: Samuel Thibault
Date: Fri Oct 06 2006 - 16:43:35 EST


Hi,

Is there any reason for initializing the input layer and keyboards so
late? Since prevents from being able to perform alt-sysrqs early, and
blind people who use speakup would like to get early control over the
speech. Here is the patch that they use.

Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>

--- /usr/src/linux-2.6.18/drivers/Makefile.orig 2006-10-06 11:34:15.000000000 -0400
+++ drivers/Makefile 2006-10-06 11:34:15.000000000 -0400
@@ -27,6 +27,9 @@

obj-y += serial/
obj-$(CONFIG_PARPORT) += parport/
+obj-$(CONFIG_SERIO) += input/serio/
+obj-$(CONFIG_GAMEPORT) += input/gameport/
+obj-$(CONFIG_INPUT) += input/
obj-y += base/ block/ misc/ mfd/ net/ media/
obj-$(CONFIG_NUBUS) += nubus/
obj-$(CONFIG_ATM) += atm/
@@ -50,9 +53,6 @@
obj-$(CONFIG_USB) += usb/
obj-$(CONFIG_PCI) += usb/
obj-$(CONFIG_USB_GADGET) += usb/gadget/
-obj-$(CONFIG_SERIO) += input/serio/
-obj-$(CONFIG_GAMEPORT) += input/gameport/
-obj-$(CONFIG_INPUT) += input/
obj-$(CONFIG_I2O) += message/
obj-$(CONFIG_RTC_LIB) += rtc/
obj-$(CONFIG_I2C) += i2c/
-
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/