diff options
author | Fredrik Roubert <roubert@df.lth.se> | 2006-06-26 00:24:35 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 09:58:17 -0700 |
commit | d2be8ee53856c3c510d4d38f534979747db65d96 (patch) | |
tree | 41ee3ded18d9b9f24a287c865e4ff66966dce907 /drivers/char/ds1302.c | |
parent | 0c6856f702732d3cfc33eb59303e998ad6961de8 (diff) |
[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 <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/ds1302.c')
0 files changed, 0 insertions, 0 deletions