debugging XKB?

Tilman Sauerbeck tilman at code-monkey.de
Wed Jun 7 23:17:54 PDT 2006


Rune Petersen [2006-06-08 00:55]:
> Daniel Stone wrote:
> >On Sun, Jun 04, 2006 at 10:47:53PM +0200, Rune Petersen wrote:
> >>I can seam to figure out out why it doesn't work since I compiled the Xorg 
> >>again.
> >>
> >>I get the warning:
> >>(WW) Couldn't load XKB keymap, falling back to pre-XKB keymap
> >>
> >>Then later the error:
> >>(EE) Error loading keymap /xorg7/share/X11/xkb/compiled/server-0.xkm
> >>
> >>I know that one reason it fails is that in XkbDDXLoadKeymapByNames():
> >>	keybd->key is NULL
> >>	names->keycodes is NULL
> >>	names->types is NULL
> >>	names->compat is NULL
> >>	names->symbols is NULL
> >>	names->geometry is NULL
> >>	names->keymap is NULL
> >>
> >>I don't know why these are NULL.
> >>Is there any easy way to debug this or do I have to crawl through it all?
> >The short answer is 'no'.  Your server's probably looking in
> >/xorg7/share/X11/xkb for data files, so if they're not installed there,
> >symlink that to either /usr/share/X11/xkb (Fedora/RHEL/SUSE) or
> >/etc/X11/xkb (Debian, Ubuntu).
> >The functions you want to hook into are mostly in xkbInit.c,
> >particularly XkbInitKeyboardDeviceStruct, though.
> 
> turned out it was a build problem, did a clean rebuild and i ran into another 
> problem:
> 
> [...]
>
> But when I press a key (with the exception of the number-pad (Num lock)) I get 
> this message and nothing else:
> RADEONHandleMessage(0, "KeyEventMessage", "-VMode", retmsg)

It seems mode switching is broken, at least for the ATI driver.
When I hit ctrl-alt-+/-, I'm seeing these RADEONHandleMessage() log
entries too. It's -VMode when I hit -, and +VMode for + ;)

I think my XKB setup is working fine, so this seems to be a separate
problem.

Regards,
Tilman

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20060608/5771d0a2/attachment.pgp>


More information about the xorg mailing list