Additional NULL (??) layout group with evdev+hal

Thomas Fritzsche tf at
Tue Nov 25 03:44:12 PST 2008

Hello Peter,

output of "X -version":
X.Org X Server 1.5.2
Release Date: 10 October 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-19-server i686 Ubuntu
Current Operating System: Linux sakura 2.6.27-7-generic #1 SMP Tue Nov
4 19:33:20 UTC 2008 i686
Build Date: 24 October 2008  08:00:16AM

I double checked the source package contains the patches (as expected).
There are some other patches applied by Ubuntu, relevant for keyboard
seems to be only this one:
>From 638cab7e1dc3711f7fb04155bcdabf4b8895cc5e Mon Sep 17 00:00:00 2001
From: Peter Hutterer <peter.hutterer at>
Date: Mon, 4 Aug 2008 17:08:36 +0930
Subject: [PATCH] xfree86: force SwitchCoreKeyboard for evdev devices (updated).

If an evdev keyboard device is added through the HAL mechanism, force a
SwitchCoreKeyboard to load the evdev map into the VCK. This way, by the time a
client starts the evdev keymap is already there, leading to less pain lateron.

I attached another "xkbcomp -xkb :0 -" output. This run is just a pure
X session with xterm but nothing else.

There is one warning that comes up when executing "xkbcomp -xkb :0 -":
Warning:          Could not load keyboard geometry for :0
                  BadAlloc (insufficient resources for operation)
                  Resulting keymap file will not describe geometry
(as it's on stderr it didn't show in the files attached before)
This warning comes ONLY when I have this strange 3rd layout group.
After calling manually setxkbmap it doesn't show this warning any more.

Thanks for your help!

On Tue, Nov 25, 2008 at 1:35 PM, Peter Hutterer
<peter.hutterer at> wrote:
> On Tue, Nov 25, 2008 at 11:11:29AM +0900, Thomas Fritzsche wrote:
>> Hello Peter,
>> That's odd....I have installed latest Ubuntu package for xorg-server
>> and this is 1.5.2.
> 2:1.5.1-1ubuntu3 should have the patch and unless it disappeared since, it
> should still be in there.
>> Is there any more information I can provide you except of the earlier
>> attached output from "xkbcomp -xkb :0 -" ?
> Please try to find the simplest reproduceable test-case. Ideally, this would
> be a plain X server with nothing but xterm (or even just the X server itself).
> Other than that, it's pretty much down to looking at the code.
> Cheers,
>  Peter
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: X.txt
URL: <>

More information about the xorg mailing list