[PATCH]Enabling Auto poweron after power is restored.
Manish Ahuja
ahuja at austin.ibm.com
Sat Feb 3 15:16:23 EST 2007
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>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Auto-poweron-patch
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20070202/bf5f74b1/attachment.txt>
More information about the Linuxppc-dev
mailing list