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

From: Dmitry Torokhov
Date: Mon Apr 24 2006 - 10:51:18 EST


On 4/20/06, Pavel Machek <pavel@xxxxxx> wrote:
> Having EV_ACPI might make sense for thermal/battery events, but not
> for normal keys.

No, I do not want EV_ACPI at all. If it does not map to standard
key/button/switch abstraction it really does not belong in input
layer. There could be a "battery" or "power" layers providing
abstraction for ACPI/APM/whateverfor that kind of stuff, but not input
layer.

But KEY_SLEEP, KEY_POWER, etc are more than welcome.

--
Dmitry
-
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/