* 2.6.12-rc2: Compose key doesn't work
@ 2005-04-10 9:52 Rene Herman
2005-04-14 10:04 ` Domen Puncer
2005-04-14 11:18 ` Kees Bakker
0 siblings, 2 replies; 13+ messages in thread
From: Rene Herman @ 2005-04-10 9:52 UTC (permalink / raw)
To: Vojtech Pavlik; +Cc: Linux Kernel
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.
^ permalink raw reply [flat|nested] 13+ messages in thread* Re: 2.6.12-rc2: Compose key doesn't work 2005-04-10 9:52 2.6.12-rc2: Compose key doesn't work Rene Herman @ 2005-04-14 10:04 ` Domen Puncer 2005-05-26 12:23 ` Domen Puncer 2005-04-14 11:18 ` Kees Bakker 1 sibling, 1 reply; 13+ messages in thread From: Domen Puncer @ 2005-04-14 10:04 UTC (permalink / raw) To: Rene Herman; +Cc: Vojtech Pavlik, Linux Kernel On 10/04/05 11:52 +0200, Rene Herman wrote: > Hi Vojtech. > > I have mapped my right windows key to "Compose" in X: ... > > 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 :-) > > X is X.org 6.8.1, keyboard is regular PS/2 keyboard, directly connected. Same here. Domen ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: 2.6.12-rc2: Compose key doesn't work 2005-04-14 10:04 ` Domen Puncer @ 2005-05-26 12:23 ` Domen Puncer 2005-05-26 12:27 ` Vojtech Pavlik 2005-05-26 15:45 ` Wakko Warner 0 siblings, 2 replies; 13+ messages in thread From: Domen Puncer @ 2005-05-26 12:23 UTC (permalink / raw) To: Rene Herman; +Cc: Vojtech Pavlik, Linux Kernel, akpm Still true for 2.6.12-rc5. Should probably be fixed before final. On 14/04/05 12:04 +0200, Domen Puncer wrote: > On 10/04/05 11:52 +0200, Rene Herman wrote: > > Hi Vojtech. > > > > I have mapped my right windows key to "Compose" in X: > ... > > > > 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 :-) > > > > > X is X.org 6.8.1, keyboard is regular PS/2 keyboard, directly connected. > > Same here. ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: 2.6.12-rc2: Compose key doesn't work 2005-05-26 12:23 ` Domen Puncer @ 2005-05-26 12:27 ` Vojtech Pavlik 2005-06-03 21:16 ` Wakko Warner 2005-05-26 15:45 ` Wakko Warner 1 sibling, 1 reply; 13+ messages in thread From: Vojtech Pavlik @ 2005-05-26 12:27 UTC (permalink / raw) To: Domen Puncer; +Cc: Rene Herman, Linux Kernel, akpm [-- Attachment #1: Type: text/plain, Size: 1096 bytes --] On Thu, May 26, 2005 at 02:23:15PM +0200, Domen Puncer wrote: > 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. > On 14/04/05 12:04 +0200, Domen Puncer wrote: > > On 10/04/05 11:52 +0200, Rene Herman wrote: > > > Hi Vojtech. > > > > > > I have mapped my right windows key to "Compose" in X: > > ... > > > > > > 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 :-) > > > > > > > > X is X.org 6.8.1, keyboard is regular PS/2 keyboard, directly connected. > > > > Same here. > -- Vojtech Pavlik SuSE Labs, SuSE CR [-- Attachment #2: atkbd-fix-scroll --] [-- Type: text/plain, Size: 809 bytes --] ChangeSet@1.2229.1.9, 2005-04-04 15:37:45+02:00, vojtech@suse.cz input: Fix fast scrolling scancodes in atkbd.c Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> atkbd.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff -Nru a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c --- a/drivers/input/keyboard/atkbd.c 2005-05-03 15:23:34 +02:00 +++ b/drivers/input/keyboard/atkbd.c 2005-05-03 15:23:34 +02:00 @@ -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 }, ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: 2.6.12-rc2: Compose key doesn't work 2005-05-26 12:27 ` Vojtech Pavlik @ 2005-06-03 21:16 ` Wakko Warner 2005-06-03 21:37 ` Dmitry Torokhov 0 siblings, 1 reply; 13+ messages in thread From: Wakko Warner @ 2005-06-03 21:16 UTC (permalink / raw) To: Vojtech Pavlik; +Cc: Linux Kernel Vojtech Pavlik wrote: > On Thu, May 26, 2005 at 02:23:15PM +0200, Domen Puncer wrote: > > > 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? -- Lab tests show that use of micro$oft causes cancer in lab animals ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: 2.6.12-rc2: Compose key doesn't work 2005-06-03 21:16 ` Wakko Warner @ 2005-06-03 21:37 ` Dmitry Torokhov 0 siblings, 0 replies; 13+ messages in thread From: Dmitry Torokhov @ 2005-06-03 21:37 UTC (permalink / raw) To: Vojtech Pavlik, Linux Kernel On 6/3/05, Wakko Warner <wakko@animx.eu.org> wrote: > Vojtech Pavlik wrote: > > On Thu, May 26, 2005 at 02:23:15PM +0200, Domen Puncer wrote: > > > > > 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. -- Dmitry ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: 2.6.12-rc2: Compose key doesn't work 2005-05-26 12:23 ` Domen Puncer 2005-05-26 12:27 ` Vojtech Pavlik @ 2005-05-26 15:45 ` Wakko Warner 2005-05-26 15:53 ` Vojtech Pavlik 1 sibling, 1 reply; 13+ messages in thread From: Wakko Warner @ 2005-05-26 15:45 UTC (permalink / raw) To: Domen Puncer; +Cc: Rene Herman, Vojtech Pavlik, Linux Kernel, akpm Domen Puncer wrote: > 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) > > On 10/04/05 11:52 +0200, Rene Herman wrote: > > > Hi Vojtech. > > > > > > I have mapped my right windows key to "Compose" in X: > > ... > > > > > > 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 :-) > > > > > > > > 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 majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ -- Lab tests show that use of micro$oft causes cancer in lab animals ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: 2.6.12-rc2: Compose key doesn't work 2005-05-26 15:45 ` Wakko Warner @ 2005-05-26 15:53 ` Vojtech Pavlik 2005-05-26 16:09 ` Wakko Warner ` (2 more replies) 0 siblings, 3 replies; 13+ messages in thread From: Vojtech Pavlik @ 2005-05-26 15:53 UTC (permalink / raw) To: Domen Puncer, Rene Herman, Linux Kernel, akpm [-- Attachment #1: Type: text/plain, Size: 685 bytes --] On Thu, May 26, 2005 at 11:45:09AM -0400, Wakko Warner wrote: > Domen Puncer wrote: > > 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. -- Vojtech Pavlik SuSE Labs, SuSE CR [-- Attachment #2: atkbd-fix-scroll --] [-- Type: text/plain, Size: 809 bytes --] ChangeSet@1.2229.1.9, 2005-04-04 15:37:45+02:00, vojtech@suse.cz input: Fix fast scrolling scancodes in atkbd.c Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> atkbd.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff -Nru a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c --- a/drivers/input/keyboard/atkbd.c 2005-05-03 15:23:34 +02:00 +++ b/drivers/input/keyboard/atkbd.c 2005-05-03 15:23:34 +02:00 @@ -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 }, ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: 2.6.12-rc2: Compose key doesn't work 2005-05-26 15:53 ` Vojtech Pavlik @ 2005-05-26 16:09 ` Wakko Warner 2005-05-30 14:25 ` Wakko Warner 2005-05-30 23:03 ` Rene Herman 2 siblings, 0 replies; 13+ messages in thread From: Wakko Warner @ 2005-05-26 16:09 UTC (permalink / raw) To: Vojtech Pavlik; +Cc: Linux Kernel Vojtech Pavlik wrote: > On Thu, May 26, 2005 at 11:45:09AM -0400, Wakko Warner wrote: > > 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. -- Lab tests show that use of micro$oft causes cancer in lab animals ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: 2.6.12-rc2: Compose key doesn't work 2005-05-26 15:53 ` Vojtech Pavlik 2005-05-26 16:09 ` Wakko Warner @ 2005-05-30 14:25 ` Wakko Warner 2005-05-30 14:39 ` Vojtech Pavlik 2005-05-30 23:03 ` Rene Herman 2 siblings, 1 reply; 13+ messages in thread From: Wakko Warner @ 2005-05-30 14:25 UTC (permalink / raw) To: Vojtech Pavlik; +Cc: Linux Kernel Vojtech Pavlik wrote: > On Thu, May 26, 2005 at 11:45:09AM -0400, Wakko Warner wrote: > > 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) > atkbd.c | 6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > > > diff -Nru a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c > --- a/drivers/input/keyboard/atkbd.c 2005-05-03 15:23:34 +02:00 > +++ b/drivers/input/keyboard/atkbd.c 2005-05-03 15:23:34 +02:00 > @@ -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 }, -- Lab tests show that use of micro$oft causes cancer in lab animals ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: 2.6.12-rc2: Compose key doesn't work 2005-05-30 14:25 ` Wakko Warner @ 2005-05-30 14:39 ` Vojtech Pavlik 0 siblings, 0 replies; 13+ messages in thread From: Vojtech Pavlik @ 2005-05-30 14:39 UTC (permalink / raw) To: Linux Kernel On Mon, May 30, 2005 at 10:25:15AM -0400, Wakko Warner wrote: > Vojtech Pavlik wrote: > > On Thu, May 26, 2005 at 11:45:09AM -0400, Wakko Warner wrote: > > > 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. -- Vojtech Pavlik SuSE Labs, SuSE CR ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: 2.6.12-rc2: Compose key doesn't work 2005-05-26 15:53 ` Vojtech Pavlik 2005-05-26 16:09 ` Wakko Warner 2005-05-30 14:25 ` Wakko Warner @ 2005-05-30 23:03 ` Rene Herman 2 siblings, 0 replies; 13+ messages in thread From: Rene Herman @ 2005-05-30 23:03 UTC (permalink / raw) To: Vojtech Pavlik; +Cc: Domen Puncer, Linux Kernel, akpm Vojtech Pavlik wrote: > On Thu, May 26, 2005 at 11:45:09AM -0400, Wakko Warner wrote: >>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. > > > > ------------------------------------------------------------------------ > > ChangeSet@1.2229.1.9, 2005-04-04 15:37:45+02:00, vojtech@suse.cz > input: Fix fast scrolling scancodes in atkbd.c ACK, thanks. Rene. ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: 2.6.12-rc2: Compose key doesn't work 2005-04-10 9:52 2.6.12-rc2: Compose key doesn't work Rene Herman 2005-04-14 10:04 ` Domen Puncer @ 2005-04-14 11:18 ` Kees Bakker 1 sibling, 0 replies; 13+ messages in thread From: Kees Bakker @ 2005-04-14 11:18 UTC (permalink / raw) To: linux-kernel 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"); ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2005-06-03 21:37 UTC | newest] Thread overview: 13+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2005-04-10 9:52 2.6.12-rc2: Compose key doesn't work Rene Herman 2005-04-14 10:04 ` Domen Puncer 2005-05-26 12:23 ` Domen Puncer 2005-05-26 12:27 ` Vojtech Pavlik 2005-06-03 21:16 ` Wakko Warner 2005-06-03 21:37 ` Dmitry Torokhov 2005-05-26 15:45 ` Wakko Warner 2005-05-26 15:53 ` Vojtech Pavlik 2005-05-26 16:09 ` Wakko Warner 2005-05-30 14:25 ` Wakko Warner 2005-05-30 14:39 ` Vojtech Pavlik 2005-05-30 23:03 ` Rene Herman 2005-04-14 11:18 ` Kees Bakker
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox