Re: 2.6: drivers/input/power.c is never built

Vojtech Pavlik
2005-02-14T19:34:10Z

On Mon, Feb 14, 2005 at 06:04:03PM +0000, James Simmons wrote:
>
> > In 2.6, drivers/input/power.c would only have been built if
> > CONFIG_INPUT_POWER was enabled - but it is nowhere possible to enable
> > this option.
>
> That was written a long time ago before the new power management went in.
> On PDA's there is a power button and suspend button. So this was a hook
> so that the input layer could detect the power/suspend button being
> presses and then power down or turn off the device. Now that the new power
> management is in what should we do?

Change power.c to generate power events like ACPI does, most likely.

--
Vojtech Pavlik
SuSE Labs, SuSE CR