Failure in detecting keyboard

Dan Nicholson dbn.lists at gmail.com
Tue Feb 2 06:01:41 PST 2010


On Tue, Feb 2, 2010 at 12:26 AM, Amey <amey1288 at gmail.com> wrote:
>
> On Mon, Feb 1, 2010 at 9:02 AM, Dan Nicholson <dbn.lists at gmail.com> wrote:
>>
>> On Sun, Jan 31, 2010 at 4:58 PM, Peter Hutterer
>> <peter.hutterer at who-t.net> wrote:
>> > On Sat, Jan 30, 2010 at 09:17:12AM +0530, Amey wrote:
>> >> Hello all,
>> >>                I am a final year graduate student and I am trying to
>> >> configure X server.In that when I tried to run X server after all the
>> >> configuration done with following commands:
>> >>
>> >> *1) sudo /etc/init.d/gdm stop
>> >> 2) sudo startx -- /opt/mpx/bin/Xorg verbose :0   (P.S. I installed all
>> >> the
>> >> packages with prefix /opt/mpx )
>> >> *
>> >> then X server didn't run initialy  and I got the following log:
>> >>
>> >> (II) AIGLX: Loaded and initialized /opt/mpx/lib/dri/swrast_dri.so
>> >> (II) GLX: Initialized DRISWRAST GL provider for screen 0
>> >> (II) NV(0): Setting screen physical size to 338 x 211
>> >> (EE) Error compiling keymap (server-0)
>> >> (EE) XKB: Couldn't compile keymap
>> >> XKB: Failed to compile keymap
>> >> Keyboard initialization failed. This could be a missing or incorrect
>> >> setup
>> >> of xkeyboard-config.
>> >
>> > This is often the case if /opt/mpx/share/X11/xkb/compiled/ doesn't exist
>> > or
>> > isn't writable. Check for that too.
>> >
>> >> For above error  I configured xkeyboard-config package with prefix
>> >> /opt/mpx/
>> >> and again tried to run X server with above sequence of  commands.But
>> >> still
>> >> error was there. So checked for "xkbcomp" in /opt/mpx then found it
>> >> here:
>> >>
>> >> /opt/mpx/share/X11/xkb
>> >
>> > this is weird, xkbcomp should not be in this directory. Please
>> > reconfigure
>> > with the right prefix and reinstall instead of the symlink.
>> > that aside - is there any reason you disable hotplugging?
>>
>> This comes from some dubious behavior in xkeyboard-config. It creates
>> a symlink to xkbcomp in the xkb base directory unless you pass a
>> --disable-xkbcomp-symlink or something like that.
>>
>> Amey, just build xkbcomp with --prefix=/opt/mpx and make sure it uses
>> a base path of /opt/mpx/share/X11/xkb so it will pick up your config
>> files. There should be a configure option if it doesn't just follow
>> --prefix by default.
>>
>
>             Thanks Dan, It worked by configuring xkbcomp package by
> following the instructions you told.
> But still I have one more problem which is of reattaching the master pointer
> to plugged mouse i.e. slave device.
>             When I used 'list' option of xinput command it shows some 2
> virtual core pointers and one master ( that I created earlier by
> 'create-master' option ) .For that I had configured lib-hal-dev package from
> synaptics and also checked for dbus package so it ws already there so didn't
> install again.But still when I plug in an usb mouse its not getting
> recognised when I checked using 'list' option of xinput command.
>
> P.S. I have configured X server on ubuntu interpid-ibex.

Possibly the server was not built with hal support for hotplugging. If
you attach a Xorg.0.log, it should shed some light.

--
Dan


More information about the xorg-devel mailing list