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

From: Vojtech Pavlik
Date: Mon Feb 14 2005 - 14:35:49 EST


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