Need help

Florian Festi ffesti at redhat.com
Mon Mar 12 10:13:33 PDT 2007


Hi!

I had a look into the problem some months ago.
> The Linux HID codes for KEY_FN_F1 and friends is above 255.
> xf86-input-keyboard simply doesn't handle this, xf86-input-evdev does
> not currently handle this.

Problem with the evdev driver is that it does not load xkb maps at all, but 
hard codes it to "us" 
(http://gitweb.freedesktop.org/?p=xorg/driver/x-input-evdev.git;a=blob;h=e257f04c7bc1323907d619f92cde241687b1c582;hb=9ee64a64fdf76478091c60c0d3c24dcc99a28b1b;f=src/evdev_key.c#l391)

Additionally it seems to crash/stop working with some keyboards (the fancy 
Logitech kind).

Even if it would load keymaps /usr/share/X11/xkb/keycodes/evdev only support 
very simply keys. Even if one would modify the xkb map there are simply no 
XKeysymbols to map these keys to.

>> Unfortunately, I'm not really sure what the best solution is here.
> 
> I'm not sure about best solutions, however I have a plan to kludge
> around it in xf86-input-evdev for the 1.3 X server release, however it
> is a solution that simply won't work, at all, for 1.2 or earlier, as it
> requires the ability for multiple keyboards to have different keymaps.
> 
> It is also sadly going to be at least somewhat in the future.

I asked about that topic on the list some months ago, but didn't got any 
answers. I put my thoughts and results on 
http://fedoraproject.org/wiki/Extras/SIGs/Laptop/HotKeys including xkb maps 
for evdev and a list of most of the needed Xkeysyms.

When you're looking into that I'd love to help.

	cu

		Florian



More information about the xorg mailing list