Re: [RFC] [PATCH] Make ACPI button driver an input device

Matthew Garrett
2006-04-20T16:15:54Z

On Thu, Apr 20, 2006 at 07:57:01PM +0400, Alexey Starikovskiy wrote:

> I think you will agree that ACPI buttons are special and will need special
> handling even in input stream...
> Generic application does not need to know if power, sleep, or lid button is
> pressed, so you will need to intercept them from input stream... I cannot
> find any reason to mix these buttons into input, do you?

On many machines, they're /already/ in the input stream. Applications
that misbehave if they receive unknown keycodes are broken and need
fixing in any case.

--
Matthew Garrett | mjg59@srcf.ucam.org