Skip to contentSkip to conversation

Issue with Xfbdev and keyboard

Buildroot Thomas Petazzoni 3 participants 3 messages Jul 20, 2010

lore
Share & tools
lore
#0 lore raw

Hello,

I'm trying to use our Xfbdev X.org server, but it unfortunately complains on startup with:

===================================================================
(EE) XKB: Couldn't open rules file /usr/share/X11/xkb/rules/base
XKB: Failed to compile keymap
Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config
===================================================================

And indeed, I haven't compiled xkeyboard-config. However, it seems to me that in the past, all the keymap mess wasn't necessary by default. Is this a behaviour change in X.org server ? If xkeyboard-config is really mandatory, then it should become a dependency of xserver_xorg. Any hints on this ?

To solve this, I enabled the compilation of xkeyboard-config, which needs xkbcomp on the host, so I added a dependency on host-xapp_xkbcomp. But unfortunately, host-xapp_xkbcomp would depend on host-xlib_libX11, which we until now managed to avoid building. And in turn host-xlib_libX11 would depend on quite a few things, which would give the following dependency chain:

xkeyboard-config
|
|-> host-xapp_xkbcomp

         |
         |-> host_xlib_libX11
              |
              |-> host-libxcb
              |-> host-xutil_util-macros
              |-> host-xlib_xtrans (already built)
              |-> host-xlib_libXau
              |-> host-xlib_libXdmcp
              |-> host-xproto_kbproto
              |-> host-xproto_xproto (already built)
              |-> host-xproto_xextproto
              |-> host-xproto_inputproto
              |-> host-xproto_xf86bigfontproto
              |-> host-xproto_bigreqsproto
              |-> host-xproto_xcmiscproto

Do we want to go down this road ?

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#1 lore raw
Quoted 10 lines

-----Original Message-----
From: buildroot-bounces at busybox.net [mailto:buildroot- bounces at busybox.net] On Behalf Of Thomas Petazzoni
Sent: Tuesday, 20 July 2010 4:55 PM
To: buildroot at uclibc.org
Subject: [Buildroot] Issue with Xfbdev and keyboard

Hello,

I'm trying to use our Xfbdev X.org server, but it unfortunately complains

on

Quoted 7 lines

startup with:

==========================================================
=========
(EE) XKB: Couldn't open rules file /usr/share/X11/xkb/rules/base
XKB: Failed to compile keymap
Keyboard initialization failed. This could be a missing or incorrect setup

of

Quoted 3 lines

xkeyboard-config
==========================================================
=========

From memory I had the same trouble when building for ARM. X86 seemed to work without it though.

Paul.

#2 lore raw

Le mardi 20 juillet 2010 ? 17:19 +1000, Paul Jones a ?crit :

Quoted 18 lines
Quoted 10 lines

-----Original Message-----
From: buildroot-bounces at busybox.net [mailto:buildroot- bounces at busybox.net] On Behalf Of Thomas Petazzoni
Sent: Tuesday, 20 July 2010 4:55 PM
To: buildroot at uclibc.org
Subject: [Buildroot] Issue with Xfbdev and keyboard

Hello,

I'm trying to use our Xfbdev X.org server, but it unfortunately complains

on

Quoted 7 lines

startup with:

==========================================================
=========
(EE) XKB: Couldn't open rules file /usr/share/X11/xkb/rules/base
XKB: Failed to compile keymap
Keyboard initialization failed. This could be a missing or incorrect setup

Quoted 9 lines

of

Quoted 6 lines

xkeyboard-config
==========================================================
=========

From memory I had the same trouble when building for ARM. X86 seemed to work

without it though.

Same requirement with xephyr using the lastest xorg release.

Signature · 1 line
Lionel Landwerlin