PDA

View Full Version : Shutdown from atkbd.c



dvddrive
23rd November 2006, 07:39 AM
Hi all,
I have been trying to call shutdown from atkbd.c file but could not. The atkbd.c file is in ./drivers/input/keyboard/atkbd.c
In the function atkbd_interrupt(...) and in ATKBD_KEY_UNKNOWN switch label
i have been trying to call sys_reboot but without any result. Can anybody tell me what signal to send the Linux so that it starts to shutdown cleanly.

Regards