LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Keyboard map for RH9 on Dell Latitude C800 (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/keyboard-map-for-rh9-on-dell-latitude-c800-111159/)

Jefficus 11-01-2003 01:20 PM

Keyboard map for RH9 on Dell Latitude C800
 
I've had Redhat 9 running on my C800 for about 3 months. I've got all my software running. I'm a happy camper.

But yesterday I noticed that suddenly, my down arrow and delete keys don't work. (They used to work, but not sure what changes I've made lately that might have knocked them out.)

And that gets me thinking about dealing with the fact that Linux has never recognized my page-up and page-down keys.

So, my question is - how do I deal with these issues? From the reading I've done, I should be able to handle this with xmodmap, rather than patching the kernel.

In a perfect world, maybe somebody who has a C800 with all the keys working could send me a "xmodmap -pk" output. Or am I looking in the wrong place?

Jefficus

Guru3 11-02-2003 11:03 AM

Ever noticed that your volume up/down bios keys don't work? And that your Dell Buttons don't work either? Have you tried looking into the I8KUTILS which deal with these special Dell Laptop keys. If you look for that in google, you should come accross other helpful information from other laptops, but which 98% of the time apply to all Dell laptops. Happy Hunting...

Jefficus 11-02-2003 11:51 AM

Actually, my C800 doesn't have any volume keys. And when it comes to rebuilding the kernel, I'm certainly willing to tackle that, but I'm not sure it's neccessary in this case. The DEL and DOWN-ARROW keys worked a week ago. Something I've done recently has screwed them up. And since I haven't changed my kernel in that time, I should be able to recover those keys without having to tackle the kernel.

The real problem is, I don't know what keycodes are generated by what keys. That's why I was hoping somebody with a C800 could send me their xmodmap details.

As for the PG-UP and PG-DOWN keys, I'm hoping that they can be recovered via xmodmap as well, even though I've never had them working. As for the (i) info button and the Windows button, I don't currently have a use for them, but if they could be recovered as well, then I suppose I could find a use for them.

In the meantime, I guess I'll poke around with kernel tweaks, although that makes me nervous.

Jefficus

Guru3 11-02-2003 12:10 PM

I'm just guessing, but if your dell is like my dells, the up, down, backspace and anykeys are standard, like a regualr PS/2 keyboard, and I just realized I could send you my map! (Duh!) So, here it is:
Quote:

There are 4 KeySyms per KeyCode; KeyCodes range from 8 to 255.

KeyCode Keysym (Keysym) ...
Value Value (Name) ...

8
9 0xff1b (Escape)
10 0x0031 (1) 0x0021 (exclam)
11 0x0032 (2) 0x0040 (at)
12 0x0033 (3) 0x0023 (numbersign)
13 0x0034 (4) 0x0024 (dollar)
14 0x0035 (5) 0x0025 (percent)
15 0x0036 (6) 0x005e (asciicircum)
16 0x0037 (7) 0x0026 (ampersand)
17 0x0038 (8) 0x002a (asterisk)
18 0x0039 (9) 0x0028 (parenleft)
19 0x0030 (0) 0x0029 (parenright)
20 0x002d (minus) 0x005f (underscore)
21 0x003d (equal) 0x002b (plus)
22 0xff08 (BackSpace) 0xfed5 (Terminate_Server)
23 0xff09 (Tab) 0xfe20 (ISO_Left_Tab)
24 0x0071 (q) 0x0051 (Q)
25 0x0077 (w) 0x0057 (W)
26 0x0065 (e) 0x0045 (E)
27 0x0072 (r) 0x0052 (R)
28 0x0074 (t) 0x0054 (T)
29 0x0079 (y) 0x0059 (Y)
30 0x0075 (u) 0x0055 (U)
31 0x0069 (i) 0x0049 (I)
32 0x006f (o) 0x004f (O)
33 0x0070 (p) 0x0050 (P)
34 0x005b (bracketleft) 0x007b (braceleft)
35 0x005d (bracketright) 0x007d (braceright)
36 0xff0d (Return)
37 0xffe3 (Control_L)
38 0x0061 (a) 0x0041 (A)
39 0x0073 (s) 0x0053 (S)
40 0x0064 (d) 0x0044 (D)
41 0x0066 (f) 0x0046 (F)
42 0x0067 (g) 0x0047 (G)
43 0x0068 (h) 0x0048 (H)
44 0x006a (j) 0x004a (J)
45 0x006b (k) 0x004b (K)
46 0x006c (l) 0x004c (L)
47 0x003b (semicolon) 0x003a (colon)
48 0x0027 (apostrophe) 0x0022 (quotedbl)
49 0x0060 (grave) 0x007e (asciitilde)
50 0xffe1 (Shift_L)
51 0x005c (backslash) 0x007c (bar)
52 0x007a (z) 0x005a (Z)
53 0x0078 (x) 0x0058 (X)
54 0x0063 (c) 0x0043 (C)
55 0x0076 (v) 0x0056 (V)
56 0x0062 (b) 0x0042 (B)
57 0x006e (n) 0x004e (N)
58 0x006d (m) 0x004d (M)
59 0x002c (comma) 0x003c (less)
60 0x002e (period) 0x003e (greater)
61 0x002f (slash) 0x003f (question)
62 0xffe2 (Shift_R)
63 0xffaa (KP_Multiply) 0x1008fe21 (XF86_ClearGrab)
64 0xffe9 (Alt_L) 0xffe7 (Meta_L)
65 0x0020 (space)
66 0xffe5 (Caps_Lock)
67 0xffbe (F1) 0x1008fe01 (XF86_Switch_VT_1)
68 0xffbf (F2) 0x1008fe02 (XF86_Switch_VT_2)
69 0xffc0 (F3) 0x1008fe03 (XF86_Switch_VT_3)
70 0xffc1 (F4) 0x1008fe04 (XF86_Switch_VT_4)
71 0xffc2 (F5) 0x1008fe05 (XF86_Switch_VT_5)
72 0xffc3 (F6) 0x1008fe06 (XF86_Switch_VT_6)
73 0xffc4 (F7) 0x1008fe07 (XF86_Switch_VT_7)
74 0xffc5 (F8) 0x1008fe08 (XF86_Switch_VT_8)
75 0xffc6 (F9) 0x1008fe09 (XF86_Switch_VT_9)
76 0xffc7 (F10) 0x1008fe0a (XF86_Switch_VT_10)
77 0xff7f (Num_Lock) 0xfef9 (Pointer_EnableKeys)
78 0xff14 (Scroll_Lock)
79 0xff95 (KP_Home) 0xffb7 (KP_7)
80 0xff97 (KP_Up) 0xffb8 (KP_8)
81 0xff9a (KP_Prior) 0xffb9 (KP_9)
82 0xffad (KP_Subtract) 0x1008fe23 (XF86_Prev_VMode)
83 0xff96 (KP_Left) 0xffb4 (KP_4)
84 0xff9d (KP_Begin) 0xffb5 (KP_5)
85 0xff98 (KP_Right) 0xffb6 (KP_6)
86 0xffab (KP_Add) 0x1008fe22 (XF86_Next_VMode)
87 0xff9c (KP_End) 0xffb1 (KP_1)
88 0xff99 (KP_Down) 0xffb2 (KP_2)
89 0xff9b (KP_Next) 0xffb3 (KP_3)
90 0xff9e (KP_Insert) 0xffb0 (KP_0)
91 0xff9f (KP_Delete) 0xffae (KP_Decimal)
92
93
94 0x003c (less) 0x003e (greater)
95 0xffc8 (F11) 0x1008fe0b (XF86_Switch_VT_11)
96 0xffc9 (F12) 0x1008fe0c (XF86_Switch_VT_12)
97 0xff50 (Home)
98 0xff52 (Up)
99 0xff55 (Prior)
100 0xff51 (Left)
101
102 0xff53 (Right)
103 0xff57 (End)
104 0xff54 (Down)
105 0xff56 (Next)
106 0xff63 (Insert)
107 0xffff (Delete)
108 0xff8d (KP_Enter)
109 0xffe4 (Control_R)
110 0xff13 (Pause) 0xff6b (Break)
111 0xff61 (Print) 0xff15 (Sys_Req)
112 0xffaf (KP_Divide) 0x1008fe20 (XF86_Ungrab)
113 0xffea (Alt_R) 0xffe8 (Meta_R)
114
115 0xffeb (Super_L)
116 0xffec (Super_R)
117 0xff67 (Menu)
118
...(the numbers in between)...
255
Hope it helps...

Jefficus 02-03-2004 12:07 AM

Okay. So maybe a year has gone by since I first tackled this issue. I've been busy. Sue me. :-)

I've been "living" with the dead page up/down keys and I'm getting increasing tired of doing so.

So today I poured some more time down this hole.

Good new: the Info button (tiny little Dell-special function button) generates a scancode, so I was able to grab it and put it to good use. (It now launches my music program.)

But the Page Up and Down buttons are still DEAD. Nothing. No scancodes of any kind. It ain't just that they're not mapped to a useful keycode. They generate bupkis.

But if I boot in Windows, they work just fine. So there can't be something wrong with the hardware.

Are there any keyboard/keycode/mapping gods around who can point me at something new to try?

(This message would be longer, but then I'd be unable to page up to re-read before posting. :-)

Jefficus

Guru3 02-04-2004 12:34 AM

You know the keys work, yes? Well, they work on my Latitude C400, so maybe something just went wrong with your installiation... Selected the wrong keyboard layout at install time maybe?
Code:

[fcs@fcsc400 fcs]$ xmodmap -pk
There are 4 KeySyms per KeyCode; KeyCodes range from 8 to 255.
 
    KeyCode    Keysym (Keysym) ...
    Value      Value  (Name)  ...
 
      8
      9        0xff1b (Escape)
    10        0x0031 (1)      0x0021 (exclam)
    11        0x0032 (2)      0x0040 (at)
    12        0x0033 (3)      0x0023 (numbersign)
    13        0x0034 (4)      0x0024 (dollar)
    14        0x0035 (5)      0x0025 (percent)
    15        0x0036 (6)      0x005e (asciicircum)
    16        0x0037 (7)      0x0026 (ampersand)
    17        0x0038 (8)      0x002a (asterisk)
    18        0x0039 (9)      0x0028 (parenleft)
    19        0x0030 (0)      0x0029 (parenright)
    20        0x002d (minus)  0x005f (underscore)
    21        0x003d (equal)  0x002b (plus)
    22        0xff08 (BackSpace)      0xfed5 (Terminate_Server)
    23        0xff09 (Tab)    0xfe20 (ISO_Left_Tab)
    24        0x0071 (q)      0x0051 (Q)
    25        0x0077 (w)      0x0057 (W)
    26        0x0065 (e)      0x0045 (E)
    27        0x0072 (r)      0x0052 (R)
    28        0x0074 (t)      0x0054 (T)
    29        0x0079 (y)      0x0059 (Y)
    30        0x0075 (u)      0x0055 (U)
    31        0x0069 (i)      0x0049 (I)
    32        0x006f (o)      0x004f (O)
    33        0x0070 (p)      0x0050 (P)
    34        0x005b (bracketleft)    0x007b (braceleft)
    35        0x005d (bracketright)  0x007d (braceright)
    36        0xff0d (Return)
    37        0xffe3 (Control_L)
    38        0x0061 (a)      0x0041 (A)
    39        0x0073 (s)      0x0053 (S)
    40        0x0064 (d)      0x0044 (D)
    41        0x0066 (f)      0x0046 (F)
    42        0x0067 (g)      0x0047 (G)
    43        0x0068 (h)      0x0048 (H)
    44        0x006a (j)      0x004a (J)
    45        0x006b (k)      0x004b (K)
    46        0x006c (l)      0x004c (L)
    47        0x003b (semicolon)      0x003a (colon)
    48        0x0027 (apostrophe)    0x0022 (quotedbl)
    49        0x0060 (grave)  0x007e (asciitilde)
    50        0xffe1 (Shift_L)
    51        0x005c (backslash)      0x007c (bar)
    52        0x007a (z)      0x005a (Z)
    53        0x0078 (x)      0x0058 (X)
    54        0x0063 (c)      0x0043 (C)
    55        0x0076 (v)      0x0056 (V)
    56        0x0062 (b)      0x0042 (B)
    57        0x006e (n)      0x004e (N)
    58        0x006d (m)      0x004d (M)
    59        0x002c (comma)  0x003c (less)
    60        0x002e (period) 0x003e (greater)
    61        0x002f (slash)  0x003f (question)
    62        0xffe2 (Shift_R)
    63        0xffaa (KP_Multiply)    0x1008fe21 (XF86_ClearGrab)
    64        0xffe9 (Alt_L)  0xffe7 (Meta_L)
    65        0x0020 (space)
    66        0xffe5 (Caps_Lock)
    67        0xffbe (F1)    0x1008fe01 (XF86_Switch_VT_1)
    68        0xffbf (F2)    0x1008fe02 (XF86_Switch_VT_2)
    69        0xffc0 (F3)    0x1008fe03 (XF86_Switch_VT_3)
    70        0xffc1 (F4)    0x1008fe04 (XF86_Switch_VT_4)
    71        0xffc2 (F5)    0x1008fe05 (XF86_Switch_VT_5)
    72        0xffc3 (F6)    0x1008fe06 (XF86_Switch_VT_6)
    73        0xffc4 (F7)    0x1008fe07 (XF86_Switch_VT_7)
    74        0xffc5 (F8)    0x1008fe08 (XF86_Switch_VT_8)
    75        0xffc6 (F9)    0x1008fe09 (XF86_Switch_VT_9)
    76        0xffc7 (F10)    0x1008fe0a (XF86_Switch_VT_10)
    77        0xff7f (Num_Lock)      0xfef9 (Pointer_EnableKeys)
    78        0xff14 (Scroll_Lock)
    79        0xff95 (KP_Home)        0xffb7 (KP_7)
    80        0xff97 (KP_Up)  0xffb8 (KP_8)
    81        0xff9a (KP_Prior)      0xffb9 (KP_9)
    82        0xffad (KP_Subtract)    0x1008fe23 (XF86_Prev_VMode)
    83        0xff96 (KP_Left)        0xffb4 (KP_4)
    84        0xff9d (KP_Begin)      0xffb5 (KP_5)
    85        0xff98 (KP_Right)      0xffb6 (KP_6)
    86        0xffab (KP_Add) 0x1008fe22 (XF86_Next_VMode)
    87        0xff9c (KP_End) 0xffb1 (KP_1)
    88        0xff99 (KP_Down)        0xffb2 (KP_2)
    89        0xff9b (KP_Next)        0xffb3 (KP_3)
    90        0xff9e (KP_Insert)      0xffb0 (KP_0)
    91        0xff9f (KP_Delete)      0xffae (KP_Decimal)
    92
    93
    94        0x003c (less)  0x003e (greater)
    95        0xffc8 (F11)    0x1008fe0b (XF86_Switch_VT_11)
    96        0xffc9 (F12)    0x1008fe0c (XF86_Switch_VT_12)
    97        0xff50 (Home)
    98        0xff52 (Up)
    99        0xff55 (Prior)
    100        0xff51 (Left)
    101
    102        0xff53 (Right)
    103        0xff57 (End)
    104        0xff54 (Down)
    105        0xff56 (Next)
    106        0xff63 (Insert)
    107        0xffff (Delete)
    108        0xff8d (KP_Enter)
    109        0xffe4 (Control_R)
    110        0xff13 (Pause)  0xff6b (Break)
    111        0xff61 (Print)  0xff15 (Sys_Req)
    112        0xffaf (KP_Divide)      0x1008fe20 (XF86_Ungrab)
    113        0xffea (Alt_R)  0xffe8 (Meta_R)
    114
    115        0xffeb (Super_L)
    116        0xffec (Super_R)
    117        0xff67 (Menu)
    118-255 Blank

I think the ones in red are the ones you need to look for. (That is from my C400.)

Jefficus 02-04-2004 03:20 PM

Yup. My xmodmap has exactly the same entries. But the keys are not generating any symbols.

showkey shows nothing

showkey -s shows nothing

But yet, when I run Windows, the keys work fine.

The only thing I can imagine is that the kernel does not have support for these specific keys.

I'm stumped.

Jefficus

Guru3 02-05-2004 12:40 PM

have you tried a new kernel?

Jefficus 02-05-2004 10:17 PM

Yes. I've tried about 8 newer kernels over the last year. None of them made anything better.

I'm at the point now where I'll probably just map a few other keys to UP and DOWN so I have the functionality and call it a fix.

Jefficus


All times are GMT -5. The time now is 05:14 AM.