[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: query about non-functional keys



Hi Dean,
> 
> Hello again:
> 
> I managed to get the first of several 715/75's booted and operational.
> However, one key does not work correctly, Control-X seems
> non-functional, and I'm unsure about getting "gpm" running properly.
The default parameters should be good. For my 715/80, it was but I know
that the 2 series can have some differences.
> 
> The upper left key which the keycap displays as: ~ ` (i.e. shift and
> unshifted characters respectively) prints as > < (going from memory, as
> I am remotely loged in and it seems to display the characters correctly)
> when in console mode.
> 
> If any readers know how to get the keys working properly (the keyboard
> is type HIL), or how to correctly configure "gpm", I would be
> grateful.
We used to run the attached script for HIL keyb. Perhaps, it will work
for you. Please could you send me a complete dmesg of your box.

Thanks and good luck, Thomas.
ESIEE Team
#!/bin/bash
# HIL keyboard mapping
# by Helge Deller <deller@gmx.de>

loadkeys - << EOF
keycode   2 = AltGr		# Right-alt
keycode   3 = Alt		# Left-alt
keycode   4 = Shift		# Right-shift
keycode   5 = Shift		# Left-shift
keycode   6 = Control

keycode  15 = KP_Multiply
	shift   keycode  15 = Num_Lock	# Shift - "*" Taste
keycode  16 = KP_1
        altgr   keycode  16 = Hex_1
        alt     keycode  16 = Ascii_1
keycode  22 = KP_0
        altgr   keycode  22 = Hex_0
        alt     keycode  22 = Ascii_0
keycode  31 = Escape
	shift keycode 31 = Meta_Delete
keycode  47 = Caps_Lock Caps_Lock Caps_Lock Caps_Lock Caps_Lock Caps_Lock
keycode  55 = Tab              Tab
        alt     keycode  55 = Meta_Tab
        shift   alt     keycode  55 = Meta_Tab
keycode 76 = F1
alt keycode 76 = Console_1
keycode 75 = F2
alt keycode 75 = Console_2
keycode 74 = F3
alt keycode 74 = Console_3
keycode 73 = F4
alt keycode 73 = Console_4
keycode 81 = F5
alt keycode 81 = Console_5
keycode 82 = F6
alt keycode 82 = Console_6
keycode 83 = F7
alt keycode 83 = Console_7
keycode 84 = F8
alt keycode 84 = Console_8

keycode 37 = F9
alt keycode 37 = Console_9
keycode 33 = F10
alt keycode 33 = Console_10
keycode 35 = F11
alt keycode 35 = Console_11
keycode 39 = F12
alt keycode 39 = Console_12

keycode 124 = Left	Left
        alt keycode 124 = Decr_Console	# Alt links
keycode 127 = Right Right
	alt keycode 127  = Incr_Console # Alt rechts
keycode 109 = Return
        altgr   keycode 109 = Return
        shift   control keycode 109 = Return
	alt     keycode 109 = Meta_Control_m
        control alt     keycode 109 = Return

keycode 119 = Prior 			# PageUp
	alt keycode 119 = Scroll_Backward
keycode 111 = Next  			# PageDown
	alt keycode 111 = Scroll_Forward

string F1 = "\033[[A"
string F2 = "\033[[B"
string F3 = "\033[[C"
string F4 = "\033[[D"
string F5 = "\033[[E"
string F6 = "\033[17~"
string F7 = "\033[18~"
string F8 = "\033[19~"
string F9 = "\033[20~"
string F10 = "\033[21~"
string F11 = "\033[23~"
string F12 = "\033[24~"
string F13 = "\033[25~"
string F14 = "\033[26~"
string F15 = "\033[28~"
string F16 = "\033[29~"
string F17 = "\033[31~"
string F18 = "\033[32~"
string F19 = "\033[33~"
string F20 = "\033[34~"
string Find = "\033[1~"
string Insert = "\033[2~"
string Remove = "\033[3~"
string Select = "\033[4~"
string Prior = "\033[5~"
string Next = "\033[6~"
string Macro = "\033[M"
string Pause = "\033[P"
string PageUp = "\033[5~"
string PageDown = "\033[6~"
EOF


Reply to: