[comp.windows.x] F1 key on LK201 keyboard

mark@spider.co.UK (Mark Valentine) (03/23/89)

I have an annoying problem in that I can't seem to get the F1 key on my LK201
keyboard to do anything except generate ^Q/^S and toggle the "Hold Screen" LED.
(I can remap all the other keys I've tried OK.)

I'm running X11R3 on a VAXstation 2000 under Ultrix 2.2.

As far as my understanding goes, I need to get F1 to produce a unique Keycode
(i.e. 86) before I can use xmodmap on it.  However, as the following trace from
xev shows (obtained by pressing and releasing F1), the key is toggling between
the keycode pairs for Control_L+s and Control_L+q.

KeyPress event, serial 16, synthetic NO, window 0x600001,
    root 0x8006b, subw 0x0, time 1043942134, (49,104), root:(804,218),
    state 0x0, keycode 175 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 characters:  ""

KeyPress event, serial 16, synthetic NO, window 0x600001,
    root 0x8006b, subw 0x0, time 1043942134, (49,104), root:(804,218),
    state 0x4, keycode 199 (keysym 0x73, s), same_screen YES,
    XLookupString gives 1 characters:  ""

KeyRelease event, serial 16, synthetic NO, window 0x600001,
    root 0x8006b, subw 0x0, time 1043942134, (49,104), root:(804,218),
    state 0x4, keycode 199 (keysym 0x73, s), same_screen YES,
    XLookupString gives 1 characters:  ""

KeyRelease event, serial 16, synthetic NO, window 0x600001,
    root 0x8006b, subw 0x0, time 1043942134, (49,104), root:(804,218),
    state 0x4, keycode 175 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 characters:  ""

KeyPress event, serial 16, synthetic NO, window 0x600001,
    root 0x8006b, subw 0x0, time 1043945614, (49,104), root:(804,218),
    state 0x0, keycode 175 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 characters:  ""

KeyPress event, serial 16, synthetic NO, window 0x600001,
    root 0x8006b, subw 0x0, time 1043945614, (49,104), root:(804,218),
    state 0x4, keycode 193 (keysym 0x71, q), same_screen YES,
    XLookupString gives 1 characters:  ""

KeyRelease event, serial 16, synthetic NO, window 0x600001,
    root 0x8006b, subw 0x0, time 1043945614, (49,104), root:(804,218),
    state 0x4, keycode 193 (keysym 0x71, q), same_screen YES,
    XLookupString gives 1 characters:  ""

KeyRelease event, serial 16, synthetic NO, window 0x600001,
    root 0x8006b, subw 0x0, time 1043945614, (49,104), root:(804,218),
    state 0x4, keycode 175 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 characters:  ""

I tried grubbing around for a suitable ioctl without success, and a once-over
of the server source didn't uncover anything obvious.

Can anyone point out the obvious thing I must be missing?

		Thanks in advance,

		Mark.
__
Mark Valentine, Spider Systems Limited, Edinburgh, UK.		/\oo/\
<mark@spider.co.uk, mark%spider.co.uk@uunet.uu.net, uunet!mcvax!ukc!spider!mark>

envbvs@epb2.lbl.gov (Brian V. Smith) (03/24/89)

> keyboard to do anything except generate ^Q/^S and toggle the "Hold Screen" LED.
> (I can remap all the other keys I've tried OK.)
> 
> I'm running X11R3 on a VAXstation 2000 under Ultrix 2.2.
> 

It seems that DEC has changed the firmware from the Vaxstation II to the Vaxstation 2000's so that the F1 key is the 'hold screen' function 
(i.e. controlQ/controlS).

I don't even know if it can be remapped from X.

Brian Smith
Lawrence Berkeley Laboratory

_____________________________________
We don't need no stinking signatures!