From: Fredrik Roubert Date: Mon, 26 Jun 2006 07:24:35 +0000 (-0700) Subject: [PATCH] fix magic sysrq on strange keyboards X-Git-Tag: v2.6.18-rc1~824 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2be8ee53856c3c510d4d38f534979747db65d96;p=pandora-kernel.git [PATCH] fix magic sysrq on strange keyboards Magic sysrq fails to work on many keyboards, particulary most of notebook keyboards. This patch fixes it. The idea is quite simple: Discard the SysRq break code if Alt is still being held down. This way the broken keyboard can send the break code (or the user with a normal keyboard can release the SysRq key) and the kernel waits until the next key is pressed or the Alt key is released. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed