Re: SYSRQ...(part2)

From: Riley Williams (rhw@MemAlpha.CX)
Date: Tue Jan 25 2000 - 06:38:34 EST


Hi Mike.

> No, I've finally isolated the problem. My SYSRQ key generates
> the make and break codes one after the other without waiting for
> the release. In other words, when I press SYSRQ, it sends:

> 0x54 0xd4

> It does NOT wait for me to release the key, therefore there is
> no way I can press another key in the middle. The kernel sees a
> press of SYSRQ as a press and release, even if it is held down,
> therefore SYSRQ is not possible.

One solution to this would be to make SYSRQ a sequencing key rather
than a shift key as it currently appears to be. This would require
special precautions to be taken to ensure that it couldn't happen
accidentally.

One solution would be to define the sequence SYSRQ ESC as being the
leadin sequence required to get into this mode, with SYSRQ preceding
any other character just being quietly discarded. On every keyboard
I've seen, SYSRQ is towards the right hand side of the keyboard and
ESC towards the LEFT hand side, so it is very unlikely that they would
be pressed in sequence accidentally.

Given this solution, the keyboard would treat the sequence SYSRQ ESC
(including the release codes) as moving the keyboard into SYSRQ state,
and the first key following that as moving back into NORMAL state.

Best wishes from Riley.

 * Copyright (C) 1999, Memory Alpha Systems.
 * All rights and wrongs reserved.

+----------------------------------------------------------------------+
| There is something frustrating about the quality and speed of Linux |
| development, ie., the quality is too high and the speed is too high, |
| in other words, I can implement this XXXX feature, but I bet someone |
| else has already done so and is just about to release their patch. |
+----------------------------------------------------------------------+
 * http://www.memalpha.cx/Linux/Kernel/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:14 EST