|
i have done a recompile of my 2.6.7 kernel for a kernel module of the i8kutil which should allow for mediacontrol via the keyboard. this afforded that i modified the xkexmap using xmodmap (the fn keys on a dell laptop are not by default mapped). thats what i did. after reboot i found myself unable to type in X in the sense that there wouldnt appear any character on the screen on the hit of a key. only ctrl and other metakeys would at all show effects. i have now found out that i am able to type while holding down shift button. i even have to hold sh for enter or space or backspace. for minor letters i have to activate capslock and hold sh. i m unable to use special char as hypens or comma or other inpunctuation or hash or any special key combinations (i use the ch_sg keymap) _ that s why i dont seem to care about correct interpunctuation here. numbers and periods i manage to write via the special fn key that allows to use the integrated num_field of the laptop keyboard.
this is my xorg.conf
| CODE | # ********************************************************************** # Refer to the xorg.conf(5x) man page for details about the format of # this file. # **********************************************************************
# ********************************************************************** # Module section -- this section is used to specify # which dynamically loadable modules to load. # ********************************************************************** # Section "Module"
# This loads the DBE extension module.
Load "dbe" # Double buffer extension
# This loads the miscellaneous extensions module, and disables # initialisation of the XFree86-DGA extension within that module. SubSection "extmod" Option "omit xfree86-dga" # don't initialise the DGA extension EndSubSection
# This loads the Type1 and FreeType font modules Load "type1" Load "speedo" Load "freetype" # Load "xtt"
# This loads the GLX module # Load "glx" # This loads the DRI module # Load "dri"
# This loads the Synaptics Touchpad driver module
Load "synaptics"
EndSection
# ********************************************************************** # Files section. This allows default font and rgb paths to be set # **********************************************************************
Section "Files"
# The location of the RGB database. Note, this is the name of the # file minus the extension (like ".txt" or ".db"). There is normally # no need to change the default.
RgbPath "/usr/X11R6/lib/X11/rgb"
# Multiple FontPath entries are allowed (which are concatenated together), # as well as specifying multiple comma-separated entries in one FontPath # command (or a combination of both methods) # #
FontPath "/usr/share/fonts/misc/" FontPath "/usr/share/fonts/TTF/" FontPath "/usr/share/fonts/Speedo/" FontPath "/usr/share/fonts/Type1/" FontPath "/usr/share/fonts/CID/" FontPath "/usr/share/fonts/75dpi/" FontPath "/usr/share/fonts/100dpi/" FontPath "/usr/share/fonts/local/" # FontPath "/usr/share/fonts/TrueType/" # FontPath "/usr/share/fonts/freefont/"
# The module search path. The default path is shown here.
# ModulePath "/usr/X11R6/lib/modules"
EndSection
# ********************************************************************** # Server flags section. # **********************************************************************
Section "ServerFlags"
# Uncomment this to cause a core dump at the spot where a signal is # received. This may leave the console in an unusable state, but may # provide a better stack trace in the core dump to aid in debugging
# Option "NoTrapSignals"
# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence # (where n is 1 through 12). This allows clients to receive these key # events.
# Option "DontVTSwitch"
# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence # This allows clients to receive this key event.
# Option "DontZap"
# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching # sequences. This allows clients to receive these key events.
# Option "Dont Zoom"
# Uncomment this to disable tuning with the xvidtune client. With # it the client can still run and fetch card and monitor attributes, # but it will not be allowed to change them. If it tries it will # receive a protocol error.
# Option "DisableVidModeExtension"
# Uncomment this to enable the use of a non-local xvidtune client.
# Option "AllowNonLocalXvidtune"
# Uncomment this to disable dynamically modifying the input device # (mouse and keyboard) settings.
# Option "DisableModInDev"
# Uncomment this to enable the use of a non-local client to # change the keyboard or mouse settings (currently only xset).
# Option "AllowNonLocalModInDev"
EndSection
# ********************************************************************** # Input devices # **********************************************************************
# ********************************************************************** # Core keyboard's InputDevice section # **********************************************************************
Section "InputDevice"
Identifier "Keyboard1" Driver "Keyboard" Option "CoreKeyboard"
Option "AutoRepeat" "500 30"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1)) Option "Xleds" "1 2 3"
# Option "LeftAlt" "Meta" # Option "RightAlt" "ModeShift"
Option "XkbRules" "xorg" Option "XkbModel" "dell101" Option "XkbLayout" "de_CH"
EndSection
# ********************************************************************** # Core Pointer's InputDevice section # **********************************************************************
Section "InputDevice" Driver "synaptics" Identifier "Mouse1" Option "Device" "/dev/psaux" Option "Protocol" "auto-dev" Option "LeftEdge" "1700" Option "RightEdge" "5300" Option "TopEdge" "1700" Option "BottomEdge" "4200" Option "FingerLow" "25" Option "FingerHigh" "30" Option "MaxTapTime" "180" Option "MaxTapMove" "220" Option "VertScrollDelta" "100" Option "MinSpeed" "0.06" Option "MaxSpeed" "0.12" Option "AccelFactor" "0.0010" Option "SHMConfig" "on" EndSection
Section "InputDevice"
Identifier "Mouse2" Driver "mouse" Option "Protocoll" "IMPS/2" Option "Device" "/dev/usbmouse" Option "ZAxisMapping" "4 5" Option "ChordMiddle"
EndSection
# ********************************************************************** # Monitor section # **********************************************************************
# Any number of monitor sections may be present
Section "Monitor"
Identifier "monitor"
# HorizSync is in kHz unless units are specified. # HorizSync may be a comma separated list of discrete values, or a # comma separated list of ranges of values. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S # USER MANUAL FOR THE CORRECT NUMBERS.
HorizSync 28 - 90
# HorizSync 30-64 # multisync # HorizSync 31.5, 35.2 # multiple fixed sync frequencies # HorizSync 15-25, 30-50 # multiple ranges of sync frequencies
# VertRefresh is in Hz unless units are specified. # VertRefresh may be a comma separated list of discrete values, or a # comma separated list of ranges of values. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S # USER MANUAL FOR THE CORRECT NUMBERS.
VertRefresh 40-110
EndSection
# ********************************************************************** # Graphics device section # **********************************************************************
# Any number of graphics device sections may be present
# Standard VGA Device:
Section "Device" Identifier "card1" VendorName "ATI" BoardName "Radeon Mobility M6"
# The Driver line must be present. When using run-time loadable driver # modules, this line instructs the server to load the specified driver # module. Even when not using loadable driver modules, this line # indicates which driver should interpret the information in this section.
Driver "ati" # The BusID line is used to specify which of possibly multiple devices # this section is intended for. When this line isn't present, a device # section can only match up with the primary video device. For PCI # devices a line like the following could be used. This line should not # normally be included unless there is more than one video device # intalled.
# BusID "PCI:1:0:0"
# VideoRam 16
# Clocks 25.2 28.3
EndSection
# ********************************************************************** # Screen sections # **********************************************************************
# Any number of screen sections may be present. Each describes # the configuration of a single screen. A single specific screen section # may be specified from the X server command line with the "-screen" # option. Section "Screen" Identifier "Screen 1" Device "card1" Monitor "monitor" DefaultDepth 24
Subsection "Display" Depth 8 Modes "1280x1024" "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection Subsection "Display" Depth 16 Modes "1280x1024" "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection Subsection "Display" Depth 24 Modes "1280x1024" "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection EndSection
# ********************************************************************** # ServerLayout sections. # **********************************************************************
# Any number of ServerLayout sections may be present. Each describes # the way multiple screens are organised. A specific ServerLayout # section may be specified from the X server command line with the # "-layout" option. In the absence of this, the first section is used. # When now ServerLayout section is present, the first Screen section # is used alone.
Section "ServerLayout"
# The Identifier line must be present Identifier "Simple Layout"
# Each Screen line specifies a Screen section name, and optionally # the relative position of other screens. The four names after # primary screen name are the screens to the top, bottom, left and right # of the primary screen. In this example, screen 2 is located to the # right of screen 1.
Screen "Screen 1"
# Each InputDevice line specifies an InputDevice section name and # optionally some options to specify the way the device is to be # used. Those options include "CorePointer", "CoreKeyboard" and # "SendCoreEvents".
InputDevice "Mouse1" "CorePointer" InputDevice "Mouse2" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard"
EndSection
# Section "DRI" # Mode 0666 # EndSection
|
this is what xmodmap produces:
| CODE | xmodmap: up to 2 keys per modifier, (keycodes in parentheses):
shift Shift_L (0x32), Shift_R (0x3e) lock Caps_Lock (0x42) control Control_L (0x25), Control_R (0x6d) mod1 Alt_L (0x40) mod2 Num_Lock (0x4d) mod3 Mode_switch (0x71) mod4 Super_L (0x73) mod5 Scroll_Lock (0x4e)
|
xmodmap -pk prints the following:
| CODE | 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) 0x002b (plus) 0x007c (bar) 0x00a1 (exclamdown) 11 0x0032 (2) 0x0022 (quotedbl) 0x0040 (at) 0x0ac3 (oneeighth) 12 0x0033 (3) 0x002a (asterisk) 0x0023 (numbersign) 0x00a3 (sterling) 13 0x0034 (4) 0x00e7 (ccedilla) 0x00bc (onequarter) 0x0024 (dollar) 14 0x0035 (5) 0x0025 (percent) 0x00bd (onehalf) 0x0ac4 (threeeighths) 15 0x0036 (6) 0x0026 (ampersand) 0x00ac (notsign) 0x0ac5 (fiveeighths) 16 0x0037 (7) 0x002f (slash) 0x00a6 (brokenbar) 0x0ac6 (seveneighths) 17 0x0038 (8) 0x0028 (parenleft) 0x00a2 (cent) 0x0ac9 (trademark) 18 0x0039 (9) 0x0029 (parenright) 0x005d (bracketright) 0x00b1 (plusminus) 19 0x0030 (0) 0x003d (equal) 0x007d (braceright) 0x00b0 (degree) 20 0x0027 (apostrophe) 0x003f (question) 0xfe51 (dead_acute) 0x00bf (questiondown) 21 0xfe52 (dead_circumflex) 0xfe50 (dead_grave) 0xfe53 (dead_tilde) 0xfe5c (dead_ogonek) 22 0xff08 (BackSpace) 0xfed5 (Terminate_Server) 23 0xff09 (Tab) 0xfe20 (ISO_Left_Tab) 24 0x0071 (q) 0x0051 (Q) 0x0040 (at) 0x07d9 (Greek_OMEGA) 25 0x0077 (w) 0x0057 (W) 0x01b3 (lstroke) 0x01a3 (Lstroke) 26 0x0065 (e) 0x0045 (E) 0x20ac (EuroSign) 27 0x0072 (r) 0x0052 (R) 0x00b6 (paragraph) 0x00ae (registered) 28 0x0074 (t) 0x0054 (T) 0x03bc (tslash) 0x03ac (Tslash) 29 0x007a (z) 0x005a (Z) 0x08fb (leftarrow) 0x00a5 (yen) 30 0x0075 (u) 0x0055 (U) 0x08fe (downarrow) 0x08fc (uparrow) 31 0x0069 (i) 0x0049 (I) 0x08fd (rightarrow) 0x02b9 (idotless) 32 0x006f (o) 0x004f (O) 0x00f8 (oslash) 0x00d8 (Ooblique) 33 0x0070 (p) 0x0050 (P) 0x00fe (thorn) 0x00de (THORN) 34 0x00fc (udiaeresis) 0x00e8 (egrave) 0x005b (bracketleft) 0xfe58 (dead_abovering) 35 0xfe57 (dead_diaeresis) 0x0021 (exclam) 0x005d (bracketright) 0xfe54 (dead_macron) 36 0xff0d (Return) 37 0xffe3 (Control_L) 38 0x0061 (a) 0x0041 (A) 0x00e6 (ae) 0x00c6 (AE) 39 0x0073 (s) 0x0053 (S) 0x00df (ssharp) 0x00a7 (section) 40 0x0064 (d) 0x0044 (D) 0x00f0 (eth) 0x00d0 (ETH) 41 0x0066 (f) 0x0046 (F) 0x01f0 (dstroke) 0x00aa (ordfeminine) 42 0x0067 (g) 0x0047 (G) 0x03bf (eng) 0x03bd (ENG) 43 0x0068 (h) 0x0048 (H) 0x02b1 (hstroke) 0x02a1 (Hstroke) 44 0x006a (j) 0x004a (J) 45 0x006b (k) 0x004b (K) 0x03a2 (kra) 0x0026 (ampersand) 46 0x006c (l) 0x004c (L) 0x01b3 (lstroke) 0x01a3 (Lstroke) 47 0x00f6 (odiaeresis) 0x00e9 (eacute) 0xfe51 (dead_acute) 0xfe59 (dead_doubleacute) 48 0x00e4 (adiaeresis) 0x00e0 (agrave) 0x007b (braceleft) 0xfe5a (dead_caron) 49 0x00a7 (section) 0x00b0 (degree) 0x00ac (notsign) 50 0xffe1 (Shift_L) 51 0x0024 (dollar) 0x00a3 (sterling) 0x007d (braceright) 0xfe55 (dead_breve) 52 0x0079 (y) 0x0059 (Y) 0x00ab (guillemotleft) 0x003c (less) 53 0x0078 (x) 0x0058 (X) 0x00bb (guillemotright) 0x003e (greater) 54 0x0063 (c) 0x0043 (C) 0x00a2 (cent) 0x00a9 (copyright) 55 0x0076 (v) 0x0056 (V) 0x0ad2 (leftdoublequotemark) 0x0060 (grave) 56 0x0062 (b) 0x0042 (B) 0x0ad3 (rightdoublequotemark) 0x0027 (apostrophe) 57 0x006e (n) 0x004e (N) 58 0x006d (m) 0x004d (M) 0x00b5 (mu) 0x00ba (masculine) 59 0x002c (comma) 0x003b (semicolon) 0x08a3 (horizconnector) 0x00d7 (multiply) 60 0x002e (period) 0x003a (colon) 0x00b7 (periodcentered) 0x00f7 (division) 61 0x002d (minus) 0x005f (underscore) 0xfe60 (dead_belowdot) 0xfe56 (dead_abovedot) 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) 0x005c (backslash) 0x00a6 (brokenbar) 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 0xff7e (Mode_switch) 114 115 0xffeb (Super_L) 116 0xff20 (Multi_key) 117 0xff67 (Menu)
### there's no mapping for keycodes 118-255
|
thanks for any help_ i m really exhausted from the really tiring use of my keyboard (i have to enter command options with copy_paste; tab and arrows doesnt work so my frequently used commands are stored in a text file...)
help!
|