2.6.12-rc2: Compose key doesn't work
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.
X is X.org 6.8.1, keyboard is regular PS/2 keyboard, directly connected.
Rene.
Quoted 3 lines · Rene Herman
Hi Vojtech.
I have mapped my right windows key to "Compose" in X:
...
Quoted 4 lines
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.
I can confirm this, right windows key works as scroll up, so it might be related to recent scroll patches.
A quick workaround is to:
echo -n "0" > /sys/bus/serio/devices/serio1/scroll
serio1 being the keyboard here.
Btw. is that "-n" really necessary? Had too look at the code to figure out why it's not working :-)
Quoted 2 lines
X is X.org 6.8.1, keyboard is regular PS/2 keyboard, directly connected.
Same here.
Domen
Still true for 2.6.12-rc5. Should probably be fixed before final.
Quoted 25 lines · Domen Puncer
Quoted 3 lines · Rene Herman
Hi Vojtech.
I have mapped my right windows key to "Compose" in X:
...
Quoted 4 lines
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.
I can confirm this, right windows key works as scroll up, so it might be related to recent scroll patches.
A quick workaround is to:
echo -n "0" >/sys/bus/serio/devices/serio1/scrollserio1 being the keyboard here.
Btw. is that "-n" really necessary? Had too look at the code to figure out why it's not working :-)
Quoted 2 lines
X is X.org 6.8.1, keyboard is regular PS/2 keyboard, directly connected.
Same here.
Quoted 1 line · Domen Puncer
Still true for 2.6.12-rc5. Should probably be fixed before final.
Caused by a bug in the atkbd-scroll feature. The attached patch fixes it.
Quoted 27 lines · Domen Puncer
Quoted 25 lines · Rene Herman
Quoted 3 lines
Hi Vojtech.
I have mapped my right windows key to "Compose" in X:
...
Quoted 4 lines
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.
I can confirm this, right windows key works as scroll up, so it might be related to recent scroll patches.
A quick workaround is to:
echo -n "0" >/sys/bus/serio/devices/serio1/scrollserio1 being the keyboard here.
Btw. is that "-n" really necessary? Had too look at the code to figure out why it's not working :-)
Quoted 2 lines
X is X.org 6.8.1, keyboard is regular PS/2 keyboard, directly connected.
Same here.
Signature · 2 lines
Vojtech Pavlik SuSE Labs, SuSE CR
[email protected], 2005-04-04 15:37:45+02:00, [email protected]
input: Fix fast scrolling scancodes in atkbd.c
atkbd.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
drivers/input/keyboard/atkbd.c +3 -3
@@ -171,9 +171,9 @@unsigned char set2; } atkbd_scroll_keys[] = { { ATKBD_SCR_1, 0xc5 }, - { ATKBD_SCR_2, 0xa9 }, - { ATKBD_SCR_4, 0xb6 }, - { ATKBD_SCR_8, 0xa7 }, + { ATKBD_SCR_2, 0x9d }, + { ATKBD_SCR_4, 0xa4 }, + { ATKBD_SCR_8, 0x9b }, { ATKBD_SCR_CLICK, 0xe0 }, { ATKBD_SCR_LEFT, 0xcb }, { ATKBD_SCR_RIGHT, 0xd2 },
Quoted 6 lines · Vojtech Pavlik
Quoted 1 line · Domen Puncer
Still true for 2.6.12-rc5. Should probably be fixed before final.
Caused by a bug in the atkbd-scroll feature. The attached patch fixes it.
Yes it does, thanks. What's the "scroll" feature?
Signature · 1 line
Lab tests show that use of micro$oft causes cancer in lab animals
Dmitry Torokhov
maintainerQuoted 10 lines · Wakko Warner
Quoted 6 lines · Vojtech Pavlik
Quoted 1 line · Domen Puncer
Still true for 2.6.12-rc5. Should probably be fixed before final.
Caused by a bug in the atkbd-scroll feature. The attached patch fixes it.
Yes it does, thanks. What's the "scroll" feature?
Some keyboards have scroll-wheel, unfortunately there is no way to detect whether is is present or not. Recently support for such wheels was activated in atkbd by default.
Signature · 1 line
Dmitry
Quoted 1 line · Domen Puncer
Still true for 2.6.12-rc5. Should probably be fixed before final.
I also have a problem with 2.6.12-rcX and ps/2 keyboard. I would say it's the same key we're talking about. It does not work at the console nor in X (showkey at the console does not see it). It works with a USB keyboard. My "compose" is mapped to the menu key beside the right windows key.
I do wish they'd fix it, because I use this key (kinda like another ALT key) more than my compose key (again, the menu key, not the right win logo key)
Quoted 30 lines
Quoted 18 lines · Rene Herman
Quoted 3 lines
Hi Vojtech.
I have mapped my right windows key to "Compose" in X:
...
Quoted 4 lines
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.
I can confirm this, right windows key works as scroll up, so it might be related to recent scroll patches.
A quick workaround is to:
echo -n "0" >/sys/bus/serio/devices/serio1/scrollserio1 being the keyboard here.
Quoted 7 lines
Btw. is that "-n" really necessary? Had too look at the code to figure out why it's not working :-)
Quoted 2 lines
X is X.org 6.8.1, keyboard is regular PS/2 keyboard, directly connected.
Same here.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Signature · 1 line
Lab tests show that use of micro$oft causes cancer in lab animals
Quoted 10 lines · Wakko Warner
Quoted 1 line · Domen Puncer
Still true for 2.6.12-rc5. Should probably be fixed before final.
I also have a problem with 2.6.12-rcX and ps/2 keyboard. I would say it's the same key we're talking about. It does not work at the console nor in X (showkey at the console does not see it). It works with a USB keyboard. My "compose" is mapped to the menu key beside the right windows key.
I do wish they'd fix it, because I use this key (kinda like another ALT key) more than my compose key (again, the menu key, not the right win logo key)
This patch should fix it.
Signature · 2 lines
Vojtech Pavlik SuSE Labs, SuSE CR
[email protected], 2005-04-04 15:37:45+02:00, [email protected]
input: Fix fast scrolling scancodes in atkbd.c
atkbd.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
drivers/input/keyboard/atkbd.c +3 -3
@@ -171,9 +171,9 @@unsigned char set2; } atkbd_scroll_keys[] = { { ATKBD_SCR_1, 0xc5 }, - { ATKBD_SCR_2, 0xa9 }, - { ATKBD_SCR_4, 0xb6 }, - { ATKBD_SCR_8, 0xa7 }, + { ATKBD_SCR_2, 0x9d }, + { ATKBD_SCR_4, 0xa4 }, + { ATKBD_SCR_8, 0x9b }, { ATKBD_SCR_CLICK, 0xe0 }, { ATKBD_SCR_LEFT, 0xcb }, { ATKBD_SCR_RIGHT, 0xd2 },
Quoted 10 lines · Vojtech Pavlik
Quoted 7 lines · Wakko Warner
I also have a problem with 2.6.12-rcX and ps/2 keyboard. I would say it's the same key we're talking about. It does not work at the console nor in X (showkey at the console does not see it). It works with a USB keyboard. My "compose" is mapped to the menu key beside the right windows key.
I do wish they'd fix it, because I use this key (kinda like another ALT key) more than my compose key (again, the menu key, not the right win logo key)
This patch should fix it.
Thanks, I'll try it out and let you know.
Signature · 1 line
Lab tests show that use of micro$oft causes cancer in lab animals
Quoted 5 lines · Vojtech Pavlik
Quoted 2 lines · Wakko Warner
I do wish they'd fix it, because I use this key (kinda like another ALT key) more than my compose key (again, the menu key, not the right win logo key)
This patch should fix it.
At work, I have a USB keyboard with 8 extra keys. Could something like this be the cause of about 5 of those keys not working? (They worked under 2.4 perfectly)
Quoted 20 lines
atkbd.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)diff -Nru
a/drivers/input/keyboard/atkbd.cb/drivers/input/keyboard/atkbd.cdrivers/input/keyboard/atkbd.c +3
-3@@ -171,9 +171,9 @@unsigned char set2; } atkbd_scroll_keys[] = { { ATKBD_SCR_1, 0xc5 }, - { ATKBD_SCR_2, 0xa9 }, - { ATKBD_SCR_4, 0xb6 }, - { ATKBD_SCR_8, 0xa7 }, + { ATKBD_SCR_2, 0x9d }, + { ATKBD_SCR_4, 0xa4 }, + { ATKBD_SCR_8, 0x9b }, { ATKBD_SCR_CLICK, 0xe0 }, { ATKBD_SCR_LEFT, 0xcb }, { ATKBD_SCR_RIGHT, 0xd2 },
Signature · 1 line
Lab tests show that use of micro$oft causes cancer in lab animals
Quoted 10 lines · Wakko Warner
Quoted 5 lines · Vojtech Pavlik
Quoted 2 lines · Wakko Warner
I do wish they'd fix it, because I use this key (kinda like another ALT key) more than my compose key (again, the menu key, not the right win logo key)
This patch should fix it.
At work, I have a USB keyboard with 8 extra keys. Could something like this be the cause of about 5 of those keys not working? (They worked under 2.4 perfectly)
No. This bug affects PS/2 (AT) keyboards only.
You can try 'evtest' to see if the keys are at least picked up by the input subsystem. If not, then adding DEBUG to hid-input.h will tell more. If yes, then they get lost between kernel and X.
Signature · 2 lines
Vojtech Pavlik SuSE Labs, SuSE CR
Quoted 11 lines · Vojtech Pavlik
Quoted 7 lines · Wakko Warner
I also have a problem with 2.6.12-rcX and ps/2 keyboard. I would say it's the same key we're talking about. It does not work at the console nor in X (showkey at the console does not see it). It works with a USB keyboard. My "compose" is mapped to the menu key beside the right windows key.
I do wish they'd fix it, because I use this key (kinda like another ALT key) more than my compose key (again, the menu key, not the right win logo key)
Quoted 8 lines
This patch should fix it.
------------------------------------------------------------------------
[email protected], 2005-04-04 15:37:45+02:00, [email protected]
input: Fix fast scrolling scancodes inatkbd.c
ACK, thanks.
Rene.
Quoted 10 lines · Rene Herman
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"
Quoted 5 lines
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.
drivers/input/keyboard/atkbd.c 2005-04-04 09:40:48 -07:00 +0 -0
@@ -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");