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

From: Pavel Machek
Date: Sat Apr 22 2006 - 15:25:28 EST



On Thu 20-04-06 21:08:48, Alexey Starikovskiy wrote:
> Martin Mares wrote:
> >Hello!
> >
> >>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?
> >
> >Neither does a generic application need to know if the
> >NumLock key is just
> >pressed. This doesn't mean anything.
> >
> >I don't see any reason for treating some keys or buttons
> >differently.
> >A key is just a key.

> There is one special key anyway -- reset...

Your point is? There's also hardware power button on many machines.
They are not controllable by software => they are not relevant to this
discussion.
Pavel

--
Thanks, Sharp!
-
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/