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

From: Matthew Garrett
Date: Thu Apr 20 2006 - 12:15:51 EST


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@xxxxxxxxxxxxx
-
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/