Le jeudi 20 avril 2006 à 15:30 -0400, Dmitry Torokhov a écrit :If there is no ACPI, you don't have ACPI buttons to remap. Remapping power/lid/sleep button is not wise at least, just because you boot once with acpi=off and get unclean shutdown instead of your intended remapped keystroke.On 4/20/06, Alexey Starikovskiy <alexey_y_starikovskiy@xxxxxxxxxxxxxxx> wrote:Xavier Bestel wrote:What if there is no ACPI? What if I want to remap the button to doThere are keyboards with power/sleep buttons. It makes sense they haveAgree, make them behave like ACPI buttons -- remove them from input stream, as they do not belong there...
the same behavior than ACPI buttons.
something else? Input layer is the proper place for them.
Err .. that's what I meant, sorry I was not clear. Matthew's solution
looks right.