Xavier Bestel wrote:
Le jeudi 20 avril 2006 à 15:30 -0400, Dmitry Torokhov a écrit :On 4/20/06, Alexey Starikovskiy <[email protected]> wrote:Xavier Bestel wrote:There are keyboards with power/sleep buttons. It makes sense they have the same behavior than ACPI buttons.Agree, make them behave like ACPI buttons -- remove them from input stream, as they do not belong there...What if there is no ACPI? What if I want to remap the button to do 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.
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. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [RFC] [PATCH] Make ACPI button driver an input device
- From: Pavel Machek <[email protected]>
- Re: [RFC] [PATCH] Make ACPI button driver an input device
- From: "Dmitry Torokhov" <[email protected]>
- Re: [RFC] [PATCH] Make ACPI button driver an input device
- References:
- RE: [RFC] [PATCH] Make ACPI button driver an input device
- From: "Yu, Luming" <[email protected]>
- Re: [RFC] [PATCH] Make ACPI button driver an input device
- From: Matthew Garrett <[email protected]>
- Re: [RFC] [PATCH] Make ACPI button driver an input device
- From: Alexey Starikovskiy <[email protected]>
- Re: [RFC] [PATCH] Make ACPI button driver an input device
- From: Matthew Garrett <[email protected]>
- Re: [RFC] [PATCH] Make ACPI button driver an input device
- From: Alexey Starikovskiy <[email protected]>
- Re: [RFC] [PATCH] Make ACPI button driver an input device
- From: Xavier Bestel <[email protected]>
- Re: [RFC] [PATCH] Make ACPI button driver an input device
- From: Alexey Starikovskiy <[email protected]>
- Re: [RFC] [PATCH] Make ACPI button driver an input device
- From: "Dmitry Torokhov" <[email protected]>
- Re: [RFC] [PATCH] Make ACPI button driver an input device
- From: Xavier Bestel <[email protected]>
- RE: [RFC] [PATCH] Make ACPI button driver an input device
- Prev by Date: [patch] mm: introduce remap_vmalloc_range (pls. drop previous patchset)
- Next by Date: Re: rtc: lost some interrupts at 256Hz
- Previous by thread: Re: [RFC] [PATCH] Make ACPI button driver an input device
- Next by thread: Re: [RFC] [PATCH] Make ACPI button driver an input device
- Index(es):