Re: Fw: Re: keyboard problem with 2.6.6

From: Vojtech Pavlik
Date: Sun May 30 2004 - 15:33:08 EST


On Sun, May 30, 2004 at 06:08:39PM +0200, Giuseppe Bilotta wrote:

> > The Linux kernel reports them as KEY_LEFTMETA, KEY_RIGHTMETA and
> > KEY_COMPOSE.
>
> In X standard keyboards Meta is mapped as the second symbol for
> Alt.
>
> // definition for the extra keys on 104-key "Windows95" keyboards
> xkb_symbols "pc104" {
> include "us(generic101)"
> key <LALT> { [ Alt_L, Meta_L ] };
> key <RALT> { [ Alt_R, Meta_R ] };
> key <LWIN> { [ Super_L ] };
> key <RWIN> { [ Super_R ] };
> key <MENU> { [ Menu ] };
>
> // modifier mappings
> modifier_map Mod1 { Alt_L, Alt_R, Meta_L, Meta_R };
> modifier_map Mod4 { Super_L, Super_R };
> };
>
> // definition of Euro-style, Right "logo" key == [Mode_switch, Multi_key]
> xkb_symbols "pc104euro" {
> include "us(pc104)"
> key <RALT> { [ Mode_switch ]
> };
> key <RWIN> { [ Multi_key ] };
> };

Interesting. Nevertheless it's just a naming difference, and thus
shouldn't be a problem.

> > I'm not very familiar with xkb configuration. Perhaps you'd be willing
> > to write that definition file? I'll certainly help you from the kernel
> > side - I can even generate a list of keycode - scancode - meaning
> > relations for you.
>
> If you do generate a list of keycode - scancode - meaning pairs
> it will surely make my life easier.
>
> I'm not particularly familiar with xkb configuration either. I
> can *probably* make it work (i.e. test it as functional) on my
> Dell Inspiron 8200 keyboard and on a standard pc104 keyboard
> only. You probably need somebody else to work out the details
> for other keyboards, though.

Ok, I'll try to produce something.

--
Vojtech Pavlik
SuSE Labs, SuSE CR
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/