[PATCH]Enabling Auto poweron after power is restored.
Linas Vepstas
linas at austin.ibm.com
Wed Feb 7 04:58:49 EST 2007
On Fri, Feb 02, 2007 at 10:16:23PM -0600, Manish Ahuja wrote:
> Resubmitting this patch with a sysfs interface instead of /proc.
> During some off line discussion, /sys/power was suggested as a possible
> candidate area for this functionality to reside.
>
> -------------------------------------------------------------------------------------------------------------------------
>
> During power outages, the ups notifies the system for a shutdown. In the
> current setup, it isn't possible to poweron when power is restored. This
> patch fixes the issue by calling the right ibm,power-off-ups token
> during such events. It also adds a sysfs interface so that rc.powerfail
> can parse the epow events and modify the power-off behavior accordingly
> to enable the right token to be called.
>
> Signed-off-by: Manish Ahuja <ahuja at austin.ibm.com>
Acked-by: Linas Vepstas <linas at austin.ibm.com>
--linas
More information about the Linuxppc-dev
mailing list