Maciej Suminski

MXC keypad and X server

Discussion created by Maciej Suminski on May 20, 2012
Latest reply on May 21, 2012 by Maciej Suminski

Hello,

I'm trying to use the MXC keypad driver with X server - I've selected MXC Keypad Driver in kernel configuration, I've compiled xorg-server, then I tried to run:

Xfbdev :0 -keybd evdev,,device=/dev/input/keyboard0

and

Xfbdev :0 -keybd keyboard

and the result is:

_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/orson:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed (2)
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed (2)
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed (2)

and I've also tried Xorg with the following xorg.conf:

Section "InputDevice"
    Identifier    "Generic Keyboard"
#    Driver        "kbd"
    Driver        "evdev"
    Option        "Device"    "/dev/input/event0"
    Option        "XkbRules"    "xorg"
    Option        "XkbModel"    "pc105"
    Option        "XkbLayout"    "us"
    Option        "AllowEmptyInput" "yes"
    Option      "CoreKeyboard"
EndSection

(...)


Section "ServerLayout"
    Identifier    "Default Layout"
    Screen        "Default Screen"
    InputDevice    "Touchscreen"
    InputDevice    "Mouse"
    InputDevice    "Generic Keyboard"
EndSection

and that gave me following output:

_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/orson:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X.Org X Server 1.6.1
Release Date: 2009-4-14
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.38-13-generic-pae i686
Current Operating System: Linux orson 2.6.35.3-433-g0fae922icom-g9d69cd4-dirty #210 PREEMPT l
Build Date: 07 May 2012  12:31:41PM
 
        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: "/usr/var/log/Xorg.0.log", Time: Thu Jan  1 01:37:34 1970
(==) Using config file: "/etc/X11/xorg.conf"
(EE) Failed to load module "glx" (module does not exist, 0)
(EE) Failed to load module "dri" (module does not exist, 0)
mxc_ipu mxc_ipu: Channel already disabled 9
mxc_ipu mxc_ipu: Channel already uninitialized 9
(EE) PreInit returned NULL for "mxckpd"
(EE) config/hal: NewInputDeviceRequest failed (8)

But none of them allow me to input characters into xterm. I am sure that keypad is working, as I've already tested it with evtest. It seems for me that there might be some problems with hal, but I cannot figure out what is wrong.

Thanks in advance for any suggestions.

Outcomes