[PATCH 2/5] Celleb: Support for Power/Reset buttons

Arnd Bergmann arnd at arndb.de
Tue Oct 2 21:25:57 EST 2007


On Tuesday 02 October 2007, Ishizaki Kou wrote:
> This is a patch to support Power/Reset buttons on Beat on Celleb.
> 
> On Beat, we have an event from Beat if Power button or Reset button
> is pressed. This patch catches the event and convert it to a signal
> to INIT process by calling ctrl_alt_del() function.
> 
> /sbin/inittab have no entry to turn the machine power off so we have
> to detect if power button is pressed or not internally in our driver.
> This idea is taken from PS3's event handling subsystem.
> 
> Signed-off-by: Kou Ishizaki <Kou.Ishizaki at toshiba.co.jp>

Acked-by: Arnd Bergmann <arnd at arndb.de>



More information about the Linuxppc-dev mailing list