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

Pavel Machek
2006-04-22T19:25:27Z

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!