keyboard mapping error

Dwijadas Dey dwijad at gmail.com
Sun Oct 30 01:53:40 PDT 2011


Hi
    All
          I have downgraded xorg 1.7.99.2 to 1.7.7 and the first
warning about kbd driver has gone

       >> (WW) module ABI major version (7) doesn't match the server's
version (8)
and  xorg log is now

.....
.....
(**) Option "CoreKeyboard"
(**) Keyboard0: always reports core events
(**) Option "Protocol" "standard"
(**) Keyboard0: Protocol: standard
(**) Option "XkbRules" "base"
(**) Keyboard0: XkbRules: "base"
(**) Option "XkbModel" "pc105"
(**) Keyboard0: XkbModel: "pc105"
(**) Option "XkbLayout" "us"
(**) Keyboard0: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) Keyboard0: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(EE) Error loading keymap
/usr/local/xkeyboard-config-2.0/share/X11/xkb/compiled/server-0.xkm

........
........
so i manually created the file server-0.xkm

[root at localhost log] setxkbmap -rules base -model pc104 -layout us
-print > server-0

and then compiled it by
[root at localhost log] xkbcomp server-0

[root at localhost ~]# cat server-0
xkb_keymap {
        xkb_keycodes  { include "xfree86+aliases(qwerty)"       };
        xkb_types     { include "complete"      };
        xkb_compat    { include "complete"      };
        xkb_symbols   { include "pc+us" };
        xkb_geometry  { include "pc(pc104)"     };
};

and then copied the  file server-0.xkm
cp -f server-0.xkm /usr/local/xkeyboard-config-2.0/share/X11/xkb/compiled

Now when i start X  xorg log file says
(EE) Error loading keymap
/usr/local/xkeyboard-config-2.0/share/X11/xkb/compiled/server-0.xkm

if i do ls -l on the directory
/usr/local/xkeyboard-config-2.0/share/X11/xkb/compiled then i find
that server-0.xkm is not there.


Any valueable inputs will be appreciated
Thanks


On 10/29/11, Dwijadas Dey <dwijad at gmail.com> wrote:
> Hi i have compiled and installed xorg 1.7.7 with all the xkb options.
> Now the keyboard is detected but i have to press twice to get that
> character with some peculiar behaviour say typing 's' will give me an
> option for saving etc. I have checked with setxkboption with the
> command
>
> [root at localhost ~]# setxkbmap -print -verbose 10
> Setting verbose level to 10
> locale is C
> Applied rules from xorg:
> model:      pc105
> layout:     us
> Trying to build keymap using the following components:
> keycodes:   xfree86+aliases(qwerty)
> types:      complete
> compat:     complete
> symbols:    pc+us+inet(pc105)
> geometry:   pc(pc105)
> xkb_keymap {
>         xkb_keycodes  { include "xfree86+aliases(qwerty)"       };
>         xkb_types     { include "complete"      };
>         xkb_compat    { include "complete"      };
>         xkb_symbols   { include "pc+us+inet(pc105)"     };
>         xkb_geometry  { include "pc(pc105)"     };
> };
>
> and the xorg config section has following part in the keyboard section
>
> Section "InputDevice"
> 	Identifier          "Keyboard0"
> 	Driver             "kbd"
> 	Option	    "XkbModel" "pc105"
> 	Option	    "XkbLayout" "us"
> EndSection
>
>
> and the xorg log contains the following part for keyboard section
>
> (II) LoadModule: "kbd"
> (II) Loading
> /usr/local/xf86-input-keyboard-1.4.0/lib/xorg/modules/input/kbd_drv.so
> (II) Module kbd: vendor="X.Org Foundation"
> 	compiled for 1.7.7, module version = 1.4.0
> 	Module class: X.Org XInput Driver
> 	ABI class: X.Org XInput driver, version 7.0
> (WW) module ABI major version (7) doesn't match the server's version (8)
>
> ..............
> .............
> ..............
> (**) Option "CoreKeyboard"
> (**) Keyboard0: always reports core events
> (**) Option "Protocol" "standard"
> (**) Keyboard0: Protocol: standard
> (**) Option "XkbRules" "base"
> (**) Keyboard0: XkbRules: "base"
> (**) Option "XkbModel" "pc105"
> (**) Keyboard0: XkbModel: "pc105"
> (**) Option "XkbLayout" "us"
> (**) Keyboard0: XkbLayout: "us"
> (**) Option "CustomKeycodes" "off"
> (**) Keyboard0: CustomKeycodes disabled
> (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
>
> Am i missing something ?
> Dwdy
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xorg.0.log
Type: text/x-log
Size: 11008 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20111030/5c48b789/attachment.bin>


More information about the xorg mailing list