XF4, SysRq, VT, mouse buttons, Keymaps and all that
iain at sandoe.co.uk
Wed Apr 18 22:03:28 EST 2001
On Wed, Apr 18, 2001, Martin Costabel wrote:
>> The SysRq situation is more difficult to understand - but the code is very
>> readable (nice stuff from Franz) - I just need to draw myself a picture
>> (gave up at 3am this morning).
>> How about a revolution ;-?
>> Could we come to a consensus about a key to use that will work for both
>> Laptops & desktops?
>> How about <Power> ? It seems to send keycode 0x7f (or 0x7e on 3400)...
> Very good idea. Except that it is already hijacked by xmon, IIUC. Maybe
> one could make the use of SysRq and of xmon mutually exclusive :-)
xmon uses <CMD aka pretzel>-power which causes an NMI - this is a hardware
thing AFAIK and can't be altered.
What I'm suggesting is <power> as a modifier (which is basically what SysRq
is) so SysRq sequences would be like:
<power>-k (SAK) ; <power>-s (emergency sync). etc. etc.
<power> has the right "feel" to it (i.e. "don't touch unless you know what
I don't think it should interfere with the use of <CMD>-power for xmon
interrupt - MacOS manages to use it for NMI for MacsBug and <power> for
triggering a shutdown dialogue...
Although, I suppose from a User's POV - we might want (one day) to trigger a
shutdown dialogue as well ... ho hum... although a well-designed dialogue
could include the SysRq actions (which are emergency stuff) as options.
I guess we could use <CNTL>-power as the SysRq modifier - but it starts to
become a little unwieldy - because you need to hold down three keys to get
the SysRq action (well, you do now as it happens)...
so, perhaps, <CNTL>-<Power>-k etc.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev