[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: keyboard mapping error
From:       Dwijadas Dey <dwijad () gmail ! com>
Date:       2011-10-30 8:55:36
Message-ID: CAHGodihiJHoxaEeOEv6R_p8_bp8KKkuxXfgQnP1gw3g2ZbrZ-g () mail ! gmail ! com
[Download RAW message or body]

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@localhost log] setxkbmap -rules base -model pc104 -layout us
-print > server-0

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

[root@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@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@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
>

["Xorg.0.log" (text/x-log)]


X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.18-274.3.1.el5 i686 
Current Operating System: Linux localhost.localdomain 2.6.39 #9 SMP Tue Oct 25 \
19:41:13 IST 2011 i686 Kernel command line: ro root=/dev/VolGroup00/LogVol00
Build Date: 30 October 2011  09:25:28AM
 
Current version of pixman: 0.22.2
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/opt/xorg/var/log/Xorg.0.log", Time: Sun Oct 30 13:45:45 2011
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "single head configuration"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Videocard0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(**) Option "DontZap" "off"
(**) Option "AllowMouseOpenFail" "on"
(**) Option "AIGLX" "off"
(**) Option "AllowEmptyInput" "false"
(**) Option "IgnoreABI" "on"
(**) Option "AutoAddDevices" "False"
(**) Ignoring ABI Version
(**) Not automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/opt/xorg/lib/X11/fonts/misc/" does not exist.
	Entry deleted from font path.
(WW) The directory "/opt/xorg/lib/X11/fonts/OTF" does not exist.
	Entry deleted from font path.
(==) FontPath set to:
	/opt/xorg/lib/X11/fonts/TTF/,
	/opt/xorg/lib/X11/fonts/Type1/,
	/opt/xorg/lib/X11/fonts/100dpi/,
	/opt/xorg/lib/X11/fonts/75dpi/
(**) ModulePath set to \
"/usr/local/xf86-video-intel/lib/xorg/modules/drivers,/usr/local/xf86-input-mouse-1.5. \
0/lib/xorg/modules/input,/usr/local/xf86-input-keyboard-1.4.0/lib/xorg/modules/input,/ \
usr/local/xf86-input-synaptics-1.2.0/lib/xorg/modules/input,/opt/xorg/lib/xorg/modules \
/extensions,/opt/xorg/lib/xorg/modules,/opt/xorg/lib/xorg/modules/linux,/opt/xorg/lib/xorg/modules/multimedia,/usr/lib/xorg/modules"
 (II) Loader magic: 0x824df00
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.4
	X.Org Video Driver: 6.0
	X.Org XInput driver : 7.0
	X.Org Server Extension : 2.0
(--) using VT number 7

(--) PCI:*(0:0:2:0) 8086:0106:103c:3672 Intel Corporation 2nd Generation Core \
Processor Family Integrated Graphics Controller rev 9, Mem @ 0x90000000/4194304, \
0x80000000/268435456, I/O @ 0x00004000/64 (II) Open ACPI successful \
(/var/run/acpid.socket) (II) "extmod" will be loaded. This was enabled by default and \
also specified in the config file. (II) "dbe" will be loaded. This was enabled by \
default and also specified in the config file. (II) "glx" will be loaded. This was \
enabled by default and also specified in the config file. (II) "dri" will be loaded. \
This was enabled by default and also specified in the config file. (II) "dri2" will \
be loaded by default. (II) LoadModule: "glx"
(II) Loading /opt/xorg/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(**) AIGLX disabled
(II) Loading extension GLX
(II) LoadModule: "dbe"
(II) Loading /opt/xorg/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "extmod"
(II) Loading /opt/xorg/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dri"
(II) Loading /opt/xorg/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "intel"
(II) Loading /usr/local/xf86-video-intel/lib/xorg/modules/drivers/intel_drv.so
(II) Module intel: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 2.13.903
	Module class: X.Org Video Driver
	ABI class: X.Org Video Driver, version 6.0
(II) LoadModule: "dri2"
(II) Loading /opt/xorg/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.1.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "intel"
(II) Reloading /usr/local/xf86-video-intel/lib/xorg/modules/drivers/intel_drv.so
(II) UnloadModule: "intel"
(II) Failed to load module "intel" (already loaded, 136596172)
(II) LoadModule: "mouse"
(II) Loading /usr/local/xf86-input-mouse-1.5.0/lib/xorg/modules/input/mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
	compiled for 1.7.99.2, module version = 1.5.0
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 8.0
(WW) module ABI major version (8) doesn't match the server's version (7)
(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
(II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
	i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
	E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
	965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
	4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
	Sandybridge, Sandybridge, Sandybridge, Sandybridge, Sandybridge,
	Sandybridge, Sandybridge
(II) Primary Device is: PCI 00@00:02:0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 11, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 11, (OK)
drmOpenByBusid: drmOpenMinor returns 11
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(==) intel(0): Depth 24, (--) framebuffer bpp 32
(==) intel(0): RGB weight 888
(==) intel(0): Default visual is TrueColor
(II) intel(0): Integrated Graphics Chipset: Intel(R) Sandybridge
(--) intel(0): Chipset: "Sandybridge"
(**) intel(0): Tiling enabled
(**) intel(0): SwapBuffers wait disabled
(==) intel(0): video overlay key set to 0x101fe
(II) intel(0): Output LVDS1 using monitor section Monitor0
(II) intel(0): found backlight control interface /sys/class/backlight/acpi_video0
(II) intel(0): Output VGA1 has no monitor section
(II) intel(0): Output HDMI1 has no monitor section
(II) intel(0): Output DP1 has no monitor section
(II) intel(0): EDID vendor "SEC", prod id 16977
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1366x768"x0.0   69.30  1366 1414 1446 1480  768 770 775 780 \
-hsync -vsync (46.8 kHz) (II) intel(0): Output LVDS1 connected
(II) intel(0): Output VGA1 disconnected
(II) intel(0): Output HDMI1 disconnected
(II) intel(0): Output DP1 disconnected
(II) intel(0): Using exact sizes for initial modes
(II) intel(0): Output LVDS1 using initial mode 1366x768
(II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
(II) intel(0): Kernel page flipping support detected, enabling
(**) intel(0): Display dimensions: (340, 190) mm
(**) intel(0): DPI set to (102, 102)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /opt/xorg/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.4
(==) Depth 24 pixmap format is 32 bpp
(==) intel(0): VideoRam: 262144 KB
(II) intel(0): [DRI2] Setup complete
(II) intel(0): Allocated new frame buffer 1408x768 stride 5632, tiled
(II) UXA(0): Driver registered support for the following operations:
(II)         solid
(II)         copy
(II)         composite (RENDER acceleration)
(II)         put_image
(II)         get_image
(==) intel(0): Backing store disabled
(==) intel(0): Silken mouse enabled
(II) intel(0): Initializing HW Cursor
(II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
(**) intel(0): DPMS enabled
(==) intel(0): Intel XvMC decoder enabled
(II) intel(0): Set up textured video
(II) intel(0): [XvMC] xvmc_vld driver initialized.
(II) intel(0): direct rendering: DRI2 Enabled
(WW) intel(0): Option "NoLogo" is not used
(WW) intel(0): Option "ddc" is not used
(--) RandR disabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) AIGLX: Loaded and initialized /opt/xorg/lib/dri/swrast_dri.so
(II) GLX: Initialized DRISWRAST GL provider for screen 0
(II) intel(0): Setting screen physical size to 361 x 203
(**) Option "Protocol" "auto"
(**) Option "Device" "/dev/input/mice"
(II) Mouse0: Setting mouse protocol to "ExplorerPS/2"
(**) Mouse0: Device: "/dev/input/mice"
(**) Mouse0: Protocol: "auto"
(**) Option "CorePointer"
(**) Mouse0: always reports core events
(**) Option "Device" "/dev/input/mice"
(==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(**) Mouse0: Buttons: 9
(**) Mouse0: Sensitivity: 1
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(**) Mouse0: (accel) keeping acceleration scheme 1
(**) Mouse0: (accel) acceleration profile 0
(II) Mouse0: Setting mouse protocol to "ExplorerPS/2"
(II) Mouse0: ps2EnableDataReporting: succeeded
(**) 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 (II) \
UnloadModule: "mouse" (II) UnloadModule: "kbd"



_______________________________________________
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: freedesktop-xorg@progressive-comp.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic