> "Stop" doesn't have an ASCII code. It would be a keyboard scan code. But
> there may be some escape sequence equivalent to it. There's probably a
> reason Sun chose to use BREAK to drop to PROM instead of some code for "Stop"
>
> If they mapped "Stop" to SysRQ, it might be that "A" is different in that
> perhaps it causes an NMI or something. We'd need to get someone who knows
> Sparc hardware to explain what really happens. Charles?
This is the output I get from XFree86-4.0 version of xev. I don't
know if it's of any help. The first is for the key press and release
of Stop (on a Sun Type 6 keyboard):
KeyPress event, serial 15, synthetic NO, window 0x2c00001,
root 0x25, subw 0x0, time 2203456668, (139,179), root:(233,288),
state 0x0, keycode 8 (keysym 0xffc8, F11), same_screen YES,
XLookupString gives 0 characters: ""
KeyRelease event, serial 15, synthetic NO, window 0x2c00001,
root 0x25, subw 0x0, time 2203456669, (139,179), root:(233,288),
state 0x0, keycode 8 (keysym 0xffc8, F11), same_screen YES,
XLookupString gives 0 characters: ""
This is for the key press and release of Print Screen on the same Type
6 keyboard:
KeyPress event, serial 17, synthetic NO, window 0x2c00001,
root 0x25, subw 0x0, time 2203465606, (139,179), root:(233,288),
state 0x0, keycode 29 (keysym 0xffd3, F22), same_screen YES,
XLookupString gives 0 characters: ""
KeyRelease event, serial 17, synthetic NO, window 0x2c00001,
root 0x25, subw 0x0, time 2203465723, (139,179), root:(233,288),
state 0x0, keycode 29 (keysym 0xffd3, F22), same_screen YES,
XLookupString gives 0 characters: ""
This is for the key press and release of Pause on the same Type 6 keyboard:
KeyPress event, serial 17, synthetic NO, window 0x2c00001,
root 0x25, subw 0x0, time 2203471700, (139,179), root:(233,288),
state 0x0, keycode 28 (keysym 0xffd2, F21), same_screen YES,
XLookupString gives 0 characters: ""
KeyRelease event, serial 17, synthetic NO, window 0x2c00001,
root 0x25, subw 0x0, time 2203471768, (139,179), root:(233,288),
state 0x0, keycode 28 (keysym 0xffd2, F21), same_screen YES,
XLookupString gives 0 characters: ""
This is for the key press and release of Left-Shift+Stop:
KeyPress event, serial 17, synthetic NO, window 0x2c00001,
root 0x25, subw 0x0, time 2203726306, (175,174), root:(480,819),
state 0x0, keycode 106 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 characters: ""
KeyPress event, serial 17, synthetic NO, window 0x2c00001,
root 0x25, subw 0x0, time 2203726552, (175,174), root:(480,819),
state 0x1, keycode 8 (keysym 0xffc8, F11), same_screen YES,
XLookupString gives 0 characters: ""
KeyRelease event, serial 17, synthetic NO, window 0x2c00001,
root 0x25, subw 0x0, time 2203726552, (175,174), root:(480,819),
state 0x1, keycode 106 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 characters: ""
KeyRelease event, serial 17, synthetic NO, window 0x2c00001,
root 0x25, subw 0x0, time 2203726600, (175,174), root:(480,819),
state 0x0, keycode 8 (keysym 0xffc8, F11), same_screen YES,
XLookupString gives 0 characters: ""
This is for the key press and release of Left-Shift+Print Screen:
KeyPress event, serial 17, synthetic NO, window 0x2c00001,
root 0x25, subw 0x0, time 2203876605, (256,122), root:(561,767),
state 0x0, keycode 106 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 characters: ""
KeyPress event, serial 17, synthetic NO, window 0x2c00001,
root 0x25, subw 0x0, time 2203876742, (256,122), root:(561,767),
state 0x1, keycode 29 (keysym 0xffd3, F22), same_screen YES,
XLookupString gives 0 characters: ""
KeyRelease event, serial 17, synthetic NO, window 0x2c00001,
root 0x25, subw 0x0, time 2203876803, (256,122), root:(561,767),
state 0x1, keycode 29 (keysym 0xffd3, F22), same_screen YES,
XLookupString gives 0 characters: ""
KeyRelease event, serial 17, synthetic NO, window 0x2c00001,
root 0x25, subw 0x0, time 2203876865, (256,122), root:(561,767),
state 0x1, keycode 106 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 characters: ""
Like I said, I don't know if this helps any. If you desire any other
info, ask and ye shall receive... maybe.
> I'm all for having a setting to control the BREAK behaviour. That can be a
> boot parameter and/or a /proc entry. The /proc entry would make it easy to
> change on the fly.
All I'm saying is that regardless if I'm running Linux, Solaris, or
BSD on my Sparc, I want Stop+A to work with a head and BREAK to work
without a head. And what I mean by work is, that both will drop me to
the PROM.
Charles
This archive was generated by hypermail 2b30 : Thu Sep 19 2002 - 11:00:02 PDT