>Sleep and power buttons are logically part of the keyboard, >and it makes >for them to be exposed via an input device rather than an odd file in >/proc. This patch adds a keycode for lid switches (are we >running out of >keycodes?) and allows the button driver to register an input device. Do you plan to port the whole acpi event interface into input layer? If so, keycode is NOT a right way. --Luming - To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html