Keycodes issues
Bela Markus
bmarkus at hasix.org
Mon Jan 28 06:45:05 PST 2013
Some progress. Now I can select/change keycodes definition file, so I
can define my own definitions and use. Looks faster than to find why it
is not working now.
Bela
2013.01.28. 13:46 keltezéssel, Bela Markus írta:
> Hi
>
> I'm building Xorg 7.6 for Raspberry Pi running piCore as OS using
> offical sources. Everything works fine, except certain keys, like
> <RALT>, editing keys and cursors. According to xev monitoring keycodes
> are different than expected by keysym tables etc. For example
>
> <RALT> is 191 instead of 108, <INS> is 206 instead of 118, <UP> is 198
> instead of 111, etc.
>
> I can change layout from "us" to "hu" but can't change keycodes.
> setxkbmap reports "xfree86+aliases(qwertz)" used as keycodes whicg is
> strange as 191 for <RALT> is not defined there. Looks like keycodes
> setting is not used at all.
>
> Keyboard driver is "kbd", X is started in startx.
>
> The only config file:
>
> ------------------------------------------------------------------------
> Section "InputDevice"
> Identifier "Keyboard0"
> Driver "kbd"
>
> Option "XkbLayout" "hu"
> Option "XkbModel" "105"
> EndSection
> ------------------------------------------------------------------------
>
> Xorg log:
>
> ------------------------------------------------------------------------
> [2166953.157]
> X.Org X Server 1.9.3
> Release Date: 2010-12-13
> [2166953.158] X Protocol Version 11, Revision 0
> [2166953.158] Build Operating System: Linux 3.2.27 armv6l
> [2166953.158] Current Operating System: Linux box 3.2.27 #4 PREEMPT
> Sun Sep 16 09:59:00 PDT 2012 armv6l
> [2166953.158] Kernel command line: dma.dmachans=0x7f35
> bcm2708_fb.fbwidth=1280 bcm2708_fb.fbheight=1024 bcm2708.boardrev=0x2
> bcm2708.serial=0x4a8e155e smsc95xx.macaddr=B8:27:EB:8E:15:5E
> sdhci-bcm2708.emmc_clock_freq=100000000 vc_mem.mem_base=0xf000000
> vc_mem.mem_size=0x10000000 dwc_otg.lpm_enable=0
> console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1
> initrd=0xa00000,0x379ca9 root=/dev/ram0 elevator=deadline rootwait
> nozswap nortc loglevel=3 multivt
> [2166953.159] Build Date: 16 November 2012 12:19:08PM
> [2166953.159]
> [2166953.159] Current version of pixman: 0.27.2
> [2166953.159] Before reporting problems, check http://wiki.x.org
> to make sure that you have the latest version.
> [2166953.159] Markers: (--) probed, (**) from config file, (==)
> default setting,
> (++) from command line, (!!) notice, (II) informational,
> (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> [2166953.160] (==) Log file: "/usr/local/var/log/Xorg.0.log", Time:
> Mon Jan 28 12:36:58 2013
> [2166953.162] (==) Using system config directory
> "/usr/local/share/X11/xorg.conf.d"
> [2166953.163] (==) No Layout section. Using the first Screen section.
> [2166953.163] (==) No screen section available. Using defaults.
> [2166953.163] (**) |-->Screen "Default Screen Section" (0)
> [2166953.163] (**) | |-->Monitor "<default monitor>"
> [2166953.165] (==) No monitor specified for screen "Default Screen
> Section".
> Using a default monitor configuration.
> [2166953.165] (==) Not automatically adding devices
> [2166953.165] (==) Not automatically enabling devices
> [2166953.165] (==) FontPath set to:
> ${prefix}/share/fonts/X11/misc/,
> ${prefix}/share/fonts/X11/TTF/,
> ${prefix}/share/fonts/X11/OTF/,
> ${prefix}/share/fonts/X11/Type1/,
> ${prefix}/share/fonts/X11/100dpi/,
> ${prefix}/share/fonts/X11/75dpi/
> [2166953.166] (==) ModulePath set to "/usr/local/lib/xorg/modules"
> [2166953.166] (==) |-->Input Device "<default pointer>"
> [2166953.166] (==) |-->Input Device "Keyboard0"
> [2166953.166] (==) No Layout section. Using the default mouse
> configuration.
> [2166953.166] (==) No Layout section. Using the first keyboard device.
> [2166953.166] (II) Loader magic: 0x1a17d4
> [2166953.166] (II) Module ABI versions:
> [2166953.167] X.Org ANSI C Emulation: 0.4
> [2166953.167] X.Org Video Driver: 8.0
> [2166953.167] X.Org XInput driver : 11.0
> [2166953.167] X.Org Server Extension : 4.0
> [2166953.167] (II) LoadModule: "extmod"
> [2166953.172] (II) Loading
> /usr/local/lib/xorg/modules/extensions/libextmod.so
> [2166953.174] (II) Module extmod: vendor="X.Org Foundation"
> [2166953.174] compiled for 1.9.3, module version = 1.0.0
> [2166953.174] Module class: X.Org Server Extension
> [2166953.174] ABI class: X.Org Server Extension, version 4.0
> [2166953.174] (II) Loading extension MIT-SCREEN-SAVER
> [2166953.174] (II) Loading extension XFree86-VidModeExtension
> [2166953.174] (II) Loading extension XFree86-DGA
> [2166953.174] (II) Loading extension DPMS
> [2166953.175] (II) Loading extension XVideo
> [2166953.175] (II) Loading extension XVideo-MotionCompensation
> [2166953.175] (II) Loading extension X-Resource
> [2166953.175] (II) LoadModule: "dbe"
> [2166953.178] (II) Loading
> /usr/local/lib/xorg/modules/extensions/libdbe.so
> [2166953.179] (II) Module dbe: vendor="X.Org Foundation"
> [2166953.179] compiled for 1.9.3, module version = 1.0.0
> [2166953.179] Module class: X.Org Server Extension
> [2166953.179] ABI class: X.Org Server Extension, version 4.0
> [2166953.179] (II) Loading extension DOUBLE-BUFFER
> [2166953.179] (II) LoadModule: "record"
> [2166953.182] (II) Loading
> /usr/local/lib/xorg/modules/extensions/librecord.so
> [2166953.183] (II) Module record: vendor="X.Org Foundation"
> [2166953.183] compiled for 1.9.3, module version = 1.13.0
> [2166953.183] Module class: X.Org Server Extension
> [2166953.183] ABI class: X.Org Server Extension, version 4.0
> [2166953.183] (II) Loading extension RECORD
> [2166953.184] Primary device is not PCI
> [2166953.184] (==) Matched fbdev as autoconfigured driver 0
> [2166953.184] (==) Assigned the driver to the xf86ConfigLayout
> [2166953.184] (II) LoadModule: "fbdev"
> [2166953.187] (II) Loading
> /usr/local/lib/xorg/modules/drivers/fbdev_drv.so
> [2166953.188] (II) Module fbdev: vendor="X.Org Foundation"
> [2166953.188] compiled for 1.9.3, module version = 0.4.2
> [2166953.189] ABI class: X.Org Video Driver, version 8.0
> [2166953.189] (II) LoadModule: "mouse"
> [2166953.191] (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so
> [2166953.192] (II) Module mouse: vendor="X.Org Foundation"
> [2166953.192] compiled for 1.9.3, module version = 1.6.0
> [2166953.192] Module class: X.Org XInput Driver
> [2166953.192] ABI class: X.Org XInput driver, version 11.0
> [2166953.192] (II) LoadModule: "kbd"
> [2166953.195] (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so
> [2166953.196] (II) Module kbd: vendor="X.Org Foundation"
> [2166953.196] compiled for 1.9.3, module version = 1.5.0
> [2166953.196] Module class: X.Org XInput Driver
> [2166953.196] ABI class: X.Org XInput driver, version 11.0
> [2166953.197] (II) FBDEV: driver for framebuffer: fbdev
> [2166953.197] (--) using VT number 7
>
> [2166953.219] (WW) Falling back to old probe method for fbdev
> [2166953.219] (II) Loading sub module "fbdevhw"
> [2166953.219] (II) LoadModule: "fbdevhw"
> [2166953.221] (II) Loading /usr/local/lib/xorg/modules/libfbdevhw.so
> [2166953.223] (II) Module fbdevhw: vendor="X.Org Foundation"
> [2166953.223] compiled for 1.9.3, module version = 0.0.2
> [2166953.223] ABI class: X.Org Video Driver, version 8.0
> [2166953.224] (II) FBDEV(0): using default device
> [2166953.224] (WW) VGA arbiter: cannot open kernel arbiter, no
> multi-card support
> [2166953.224] (II) FBDEV(0): Creating default Display subsection in
> Screen section
> "Default Screen Section" for depth/fbbpp 16/16
> [2166953.225] (==) FBDEV(0): Depth 16, (==) framebuffer bpp 16
> [2166953.225] (==) FBDEV(0): RGB weight 565
> [2166953.225] (==) FBDEV(0): Default visual is TrueColor
> [2166953.225] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
> [2166953.225] (II) FBDEV(0): hardware: BCM2708 FB (video memory: 2560kB)
> [2166953.226] (II) FBDEV(0): checking modes against framebuffer device...
> [2166953.226] (II) FBDEV(0): checking modes against monitor...
> [2166953.226] (--) FBDEV(0): Virtual size is 1280x1024 (pitch 1280)
> [2166953.226] (**) FBDEV(0): Built-in mode "current"
> [2166953.227] (==) FBDEV(0): DPI set to (96, 96)
> [2166953.227] (II) Loading sub module "fb"
> [2166953.227] (II) LoadModule: "fb"
> [2166953.229] (II) Loading /usr/local/lib/xorg/modules/libfb.so
> [2166953.233] (II) Module fb: vendor="X.Org Foundation"
> [2166953.234] compiled for 1.9.3, module version = 1.0.0
> [2166953.234] ABI class: X.Org ANSI C Emulation, version 0.4
> [2166953.234] (**) FBDEV(0): using shadow framebuffer
> [2166953.234] (II) Loading sub module "shadow"
> [2166953.234] (II) LoadModule: "shadow"
> [2166953.236] (II) Loading /usr/local/lib/xorg/modules/libshadow.so
> [2166953.237] (II) Module shadow: vendor="X.Org Foundation"
> [2166953.237] compiled for 1.9.3, module version = 1.1.0
> [2166953.238] ABI class: X.Org ANSI C Emulation, version 0.4
> [2166953.239] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
> [2166953.241] (==) FBDEV(0): Backing store disabled
> [2166953.242] (==) FBDEV(0): DPMS enabled
> [2166953.242] (==) RandR enabled
> [2166953.242] (II) Initializing built-in extension Generic Event Extension
> [2166953.243] (II) Initializing built-in extension SHAPE
> [2166953.243] (II) Initializing built-in extension MIT-SHM
> [2166953.243] (II) Initializing built-in extension XInputExtension
> [2166953.243] (II) Initializing built-in extension XTEST
> [2166953.243] (II) Initializing built-in extension BIG-REQUESTS
> [2166953.243] (II) Initializing built-in extension SYNC
> [2166953.243] (II) Initializing built-in extension XKEYBOARD
> [2166953.243] (II) Initializing built-in extension XC-MISC
> [2166953.243] (II) Initializing built-in extension XINERAMA
> [2166953.243] (II) Initializing built-in extension XFIXES
> [2166953.244] (II) Initializing built-in extension RENDER
> [2166953.244] (II) Initializing built-in extension RANDR
> [2166953.244] (II) Initializing built-in extension COMPOSITE
> [2166953.244] (II) Initializing built-in extension DAMAGE
> [2166953.338] [dix] Could not init font path element
> ${prefix}/share/fonts/X11/misc/, removing from list!
> [2166953.338] [dix] Could not init font path element
> ${prefix}/share/fonts/X11/TTF/, removing from list!
> [2166953.338] [dix] Could not init font path element
> ${prefix}/share/fonts/X11/OTF/, removing from list!
> [2166953.338] [dix] Could not init font path element
> ${prefix}/share/fonts/X11/Type1/, removing from list!
> [2166953.338] [dix] Could not init font path element
> ${prefix}/share/fonts/X11/100dpi/, removing from list!
> [2166953.339] [dix] Could not init font path element
> ${prefix}/share/fonts/X11/75dpi/, removing from list!
> [2166953.704] (WW) <default pointer>: No Device specified, looking for
> one...
> [2166953.704] (II) <default pointer>: Setting Device option to
> "/dev/input/mice"
> [2166953.705] (--) <default pointer>: Device: "/dev/input/mice"
> [2166953.705] (==) <default pointer>: Protocol: "Auto"
> [2166953.705] (**) Option "CorePointer"
> [2166953.705] (**) <default pointer>: always reports core events
> [2166953.705] (==) <default pointer>: Emulate3Buttons, Emulate3Timeout: 50
> [2166953.706] (**) <default pointer>: ZAxisMapping: buttons 4 and 5
> [2166953.706] (**) <default pointer>: Buttons: 9
> [2166953.706] (**) <default pointer>: Sensitivity: 1
> [2166953.707] (II) XINPUT: Adding extended input device "<default
> pointer>" (type: MOUSE)
> [2166953.707] (**) <default pointer>: (accel) keeping acceleration
> scheme 1
> [2166953.707] (**) <default pointer>: (accel) acceleration profile 0
> [2166953.708] (**) <default pointer>: (accel) acceleration factor: 2.000
> [2166953.708] (**) <default pointer>: (accel) acceleration threshold: 4
> [2166953.708] (II) <default pointer>: Setting mouse protocol to
> "ExplorerPS/2"
> [2166954.002] (II) <default pointer>: ps2EnableDataReporting: succeeded
> [2166954.003] (**) Option "CoreKeyboard"
> [2166954.003] (**) Keyboard0: always reports core events
> [2166954.003] (**) Option "Protocol" "standard"
> [2166954.003] (**) Keyboard0: Protocol: standard
> [2166954.003] (**) Option "XkbRules" "base"
> [2166954.004] (**) Keyboard0: XkbRules: "base"
> [2166954.004] (**) Option "XkbModel" "105"
> [2166954.004] (**) Keyboard0: XkbModel: "105"
> [2166954.004] (**) Option "XkbLayout" "hu"
> [2166954.004] (**) Keyboard0: XkbLayout: "hu"
> [2166954.004] (**) Option "CustomKeycodes" "off"
> [2166954.004] (**) Keyboard0: CustomKeycodes disabled
> [2166954.005] (II) XINPUT: Adding extended input device "Keyboard0"
> (type: KEYBOARD)
> [2166954.280] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
> [2166954.306] (II) UnloadModule: "mouse"
> [2166954.307] (II) UnloadModule: "kbd"
> [2166954.311] 1 XSELINUXs still allocated at reset
> [2166954.311] SCREEN: 0 objects of 108 bytes = 0 total bytes 0 private
> allocs
> [2166954.311] COLORMAP: 0 objects of 4 bytes = 0 total bytes 0 private
> allocs
> [2166954.311] DEVICE: 0 objects of 16 bytes = 0 total bytes 0 private
> allocs
> [2166954.311] CLIENT: 0 objects of 88 bytes = 0 total bytes 0 private
> allocs
> [2166954.311] WINDOW: 0 objects of 24 bytes = 0 total bytes 0 private
> allocs
> [2166954.311] PIXMAP: 1 objects of 12 bytes = 12 total bytes 0 private
> allocs
> [2166954.311] GC: 0 objects of 44 bytes = 0 total bytes 0 private allocs
> [2166954.311] CURSOR: 0 objects of 4 bytes = 0 total bytes 0 private
> allocs
> [2166954.312] CURSOR_BITS: 0 objects of 4 bytes = 0 total bytes 0
> private allocs
> [2166954.312] DBE_WINDOW: 0 objects of 12 bytes = 0 total bytes 0
> private allocs
> [2166954.312] TOTAL: 1 objects, 12 bytes, 0 allocs
> [2166954.312] 1 PIXMAPs still allocated at reset
> [2166954.312] PIXMAP: 1 objects of 12 bytes = 12 total bytes 0 private
> allocs
> [2166954.312] GC: 0 objects of 44 bytes = 0 total bytes 0 private allocs
> [2166954.312] CURSOR: 0 objects of 4 bytes = 0 total bytes 0 private
> allocs
> [2166954.312] CURSOR_BITS: 0 objects of 4 bytes = 0 total bytes 0
> private allocs
> [2166954.312] DBE_WINDOW: 0 objects of 12 bytes = 0 total bytes 0
> private allocs
> [2166954.312] TOTAL: 1 objects, 12 bytes, 0 allocs
> [2166954.335] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
> [2166954.336] (==) FBDEV(0): DPMS enabled
> [2166954.346] (==) RandR enabled
> [2166954.544] [dix] Could not init font path element
> ${prefix}/share/fonts/X11/misc/, removing from list!
> [2166954.544] [dix] Could not init font path element
> ${prefix}/share/fonts/X11/TTF/, removing from list!
> [2166954.544] [dix] Could not init font path element
> ${prefix}/share/fonts/X11/OTF/, removing from list!
> [2166954.544] [dix] Could not init font path element
> ${prefix}/share/fonts/X11/Type1/, removing from list!
> [2166954.545] [dix] Could not init font path element
> ${prefix}/share/fonts/X11/100dpi/, removing from list!
> [2166954.545] [dix] Could not init font path element
> ${prefix}/share/fonts/X11/75dpi/, removing from list!
> [2166955.290] (II) <default pointer>: Setting mouse protocol to
> "ExplorerPS/2"
> [2166955.290] (**) <default pointer>: Device: "/dev/input/mice"
> [2166955.290] (==) <default pointer>: Protocol: "Auto"
> [2166955.291] (**) Option "CorePointer"
> [2166955.291] (**) <default pointer>: always reports core events
> [2166955.291] (==) <default pointer>: Emulate3Buttons, Emulate3Timeout: 50
> [2166955.291] (**) <default pointer>: ZAxisMapping: buttons 4 and 5
> [2166955.291] (**) <default pointer>: Buttons: 9
> [2166955.292] (**) <default pointer>: Sensitivity: 1
> [2166955.292] (**) <default pointer>: (accel) keeping acceleration
> scheme 1
> [2166955.292] (**) <default pointer>: (accel) acceleration profile 0
> [2166955.292] (**) <default pointer>: (accel) acceleration factor: 2.000
> [2166955.293] (**) <default pointer>: (accel) acceleration threshold: 4
> [2166955.293] (II) <default pointer>: Setting mouse protocol to
> "ExplorerPS/2"
> [2166955.514] (II) <default pointer>: ps2EnableDataReporting: succeeded
> [2166955.515] (**) Option "CoreKeyboard"
> [2166955.515] (**) Keyboard0: always reports core events
> [2166955.515] (**) Option "Protocol" "standard"
> [2166955.515] (**) Keyboard0: Protocol: standard
> [2166955.515] (**) Option "XkbRules" "base"
> [2166955.515] (**) Keyboard0: XkbRules: "base"
> [2166955.515] (**) Option "XkbModel" "105"
> [2166955.516] (**) Keyboard0: XkbModel: "105"
> [2166955.516] (**) Option "XkbLayout" "hu"
> [2166955.516] (**) Keyboard0: XkbLayout: "hu"
> [2166955.516] (**) Option "CustomKeycodes" "off"
> [2166955.516] (**) Keyboard0: CustomKeycodes disabled
> [2166955.797] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
> ------------------------------------------------------------------------
>
> After spendig many hours I'm lost, no idea how to fix it.
>
> Your help highly appreciated.
>
> Bela
>
>
>
> _______________________________________________
> xorg at lists.x.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: http://lists.x.org/mailman/listinfo/xorg
> Your subscription address: bmarkus at hasix.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20130128/d79710fc/attachment-0001.html>
More information about the xorg
mailing list