Re: 2.6.12-rc2: Compose key doesn't work

From: Kees Bakker
Date: Thu Apr 14 2005 - 06:21:01 EST


Rene Herman wrote:

> Hi Vojtech.
>
> I have mapped my right windows key to "Compose" in X:
>
> Section "InputDevice"
> Identifier "Keyboard0"
> Driver "kbd"
> Option "XkbModel" "pc104"
> Option "XkbLayout" "us"
> Option "XkbOptions" "compose:rwin"
> EndSection
>
> This worked fine upto 2.6.11.7, but doesn't under 2.6.12-rc2. The key
> doesn't seem to be doing anything anymore: "Compose-'-e" just gets me
> "'e" and so on.

This is caused by the change in drivers/input/keyboard/atkbd.c
By default atkbd_scroll is now set 1. This can be switched off on the
commandline if you want to try: atkbd.scroll=0

I'd vote for undoing the change. Here is a tiny patch.
diff -Nru a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c
--- a/drivers/input/keyboard/atkbd.c    2005-04-04 09:40:48 -07:00
+++ b/drivers/input/keyboard/atkbd.c    2005-04-04 09:40:48 -07:00
@@ -54,7 +54,7 @@
 module_param_named(softraw, atkbd_softraw, bool, 0);
 MODULE_PARM_DESC(softraw, "Use software generated rawmode");

-static int atkbd_scroll = 1;
+static int atkbd_scroll;
 module_param_named(scroll, atkbd_scroll, bool, 0);
 MODULE_PARM_DESC(scroll, "Enable scroll-wheel on MS Office and similar keyboards");




-
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/