Path: utzoo!attcan!uunet!lll-winken!csd4.milw.wisc.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!spider.co.UK!mark From: mark@spider.co.UK (Mark Valentine) Newsgroups: comp.windows.x Subject: F1 key on LK201 keyboard Message-ID: <24128.8903230102@brahma.cs.hw.ac.uk> Date: 23 Mar 89 00:46:36 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 62 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/\