public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* broken auto-repeat on PS/2 keyboard
@ 2006-06-27 14:27 Paolo Ornati
  2006-06-27 17:34 ` Dmitry Torokhov
  0 siblings, 1 reply; 7+ messages in thread
From: Paolo Ornati @ 2006-06-27 14:27 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: Linux Kernel Mailing List

Hello,

with current git kernel keyboard repeat for my plain PS/2 keyboard
stopped working.

Reverting
	0ae051a19092d36112b5ba60ff8b5df7a5d5d23b

fixes the problem...

-- 
	Paolo Ornati
	Linux 2.6.17-gd2581eb4 on x86_64

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: broken auto-repeat on PS/2 keyboard
  2006-06-27 14:27 broken auto-repeat on PS/2 keyboard Paolo Ornati
@ 2006-06-27 17:34 ` Dmitry Torokhov
  2006-06-28  7:29   ` Paolo Ornati
  2006-06-28 11:36   ` Jean Delvare
  0 siblings, 2 replies; 7+ messages in thread
From: Dmitry Torokhov @ 2006-06-27 17:34 UTC (permalink / raw)
  To: Paolo Ornati; +Cc: Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 370 bytes --]

On 6/27/06, Paolo Ornati <ornati@fastwebnet.it> wrote:
> Hello,
>
> with current git kernel keyboard repeat for my plain PS/2 keyboard
> stopped working.
>
> Reverting
>        0ae051a19092d36112b5ba60ff8b5df7a5d5d23b
>
> fixes the problem...
>

Paolo,

Thank you for identifying the problem commit. Please try the attached
patch, it should fix the problem.

-- 
Dmitry

[-- Attachment #2: atkbd-fix-hardware-autorepeat.patch --]
[-- Type: text/plain, Size: 625 bytes --]

Input: atkbd - fix hardware autorepeat

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
---
 drivers/input/keyboard/atkbd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux/drivers/input/keyboard/atkbd.c
===================================================================
--- linux.orig/drivers/input/keyboard/atkbd.c
+++ linux/drivers/input/keyboard/atkbd.c
@@ -459,7 +459,7 @@ static irqreturn_t atkbd_interrupt(struc
 			}
 
 			input_regs(dev, regs);
-			input_report_key(dev, keycode, value);
+			input_event(dev, EV_KEY, keycode, value);
 			input_sync(dev);
 
 			if (value && add_release_event) {

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: broken auto-repeat on PS/2 keyboard
@ 2006-06-27 21:37 Daniel Ritz
  0 siblings, 0 replies; 7+ messages in thread
From: Daniel Ritz @ 2006-06-27 21:37 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: linux-kernel, Paolo Ornati, Andrew Vasquez

i noticed the problem as well here...and i can confirm that your patch
fixes the problem...

andrew, have a look at:
	http://marc.theaimsgroup.com/?l=linux-kernel&m=115142991330291&w=4

thanks
-daniel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: broken auto-repeat on PS/2 keyboard
  2006-06-27 17:34 ` Dmitry Torokhov
@ 2006-06-28  7:29   ` Paolo Ornati
  2006-06-28 11:36   ` Jean Delvare
  1 sibling, 0 replies; 7+ messages in thread
From: Paolo Ornati @ 2006-06-28  7:29 UTC (permalink / raw)
  To: dtor_core; +Cc: dmitry.torokhov, Linux Kernel Mailing List

On Tue, 27 Jun 2006 13:34:26 -0400
"Dmitry Torokhov" <dmitry.torokhov@gmail.com> wrote:

> Paolo,
> 
> Thank you for identifying the problem commit. Please try the attached
> patch, it should fix the problem.

It works :)

-- 
	Paolo Ornati
	Linux 2.6.17-ga39727f2-dirty on x86_64

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: broken auto-repeat on PS/2 keyboard
  2006-06-27 17:34 ` Dmitry Torokhov
  2006-06-28  7:29   ` Paolo Ornati
@ 2006-06-28 11:36   ` Jean Delvare
  2006-06-28 11:48     ` Paolo Ornati
  2006-06-28 11:50     ` Dmitry Torokhov
  1 sibling, 2 replies; 7+ messages in thread
From: Jean Delvare @ 2006-06-28 11:36 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: LKML, Paolo Ornati

Hi Dmitry,

> > with current git kernel keyboard repeat for my plain PS/2 keyboard
> > stopped working.
> >
> > Reverting
> >        0ae051a19092d36112b5ba60ff8b5df7a5d5d23b
> >
> > fixes the problem...
> 
> Thank you for identifying the problem commit. Please try the attached
> patch, it should fix the problem.

Fixed it for me as well, thanks! Can this fix be pushed upstream now?
The lack of repeat was a real pain.

-- 
Jean Delvare

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: broken auto-repeat on PS/2 keyboard
  2006-06-28 11:36   ` Jean Delvare
@ 2006-06-28 11:48     ` Paolo Ornati
  2006-06-28 11:50     ` Dmitry Torokhov
  1 sibling, 0 replies; 7+ messages in thread
From: Paolo Ornati @ 2006-06-28 11:48 UTC (permalink / raw)
  To: Jean Delvare; +Cc: Dmitry Torokhov, LKML

On Wed, 28 Jun 2006 13:36:30 +0200
Jean Delvare <khali@linux-fr.org> wrote:

> Hi Dmitry,
> 
> > > with current git kernel keyboard repeat for my plain PS/2 keyboard
> > > stopped working.
> > >
> > > Reverting
> > >        0ae051a19092d36112b5ba60ff8b5df7a5d5d23b
> > >
> > > fixes the problem...
> > 
> > Thank you for identifying the problem commit. Please try the attached
> > patch, it should fix the problem.
> 
> Fixed it for me as well, thanks! Can this fix be pushed upstream now?

http://groups.google.it/group/linux.kernel/browse_frm/thread/17700355fcda1923/05f38a40a23d0ef1?lnk=st&q=group%3Alinux.kernel+author%3ADmitry&rnum=1&hl=en#05f38a40a23d0ef1

-- 
	Paolo Ornati
	Linux 2.6.17-ga39727f2-dirty on x86_64

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: broken auto-repeat on PS/2 keyboard
  2006-06-28 11:36   ` Jean Delvare
  2006-06-28 11:48     ` Paolo Ornati
@ 2006-06-28 11:50     ` Dmitry Torokhov
  1 sibling, 0 replies; 7+ messages in thread
From: Dmitry Torokhov @ 2006-06-28 11:50 UTC (permalink / raw)
  To: Jean Delvare; +Cc: Dmitry Torokhov, LKML, Paolo Ornati

On Wednesday 28 June 2006 07:36, Jean Delvare wrote:
> Hi Dmitry,
> 
> > > with current git kernel keyboard repeat for my plain PS/2 keyboard
> > > stopped working.
> > >
> > > Reverting
> > >        0ae051a19092d36112b5ba60ff8b5df7a5d5d23b
> > >
> > > fixes the problem...
> > 
> > Thank you for identifying the problem commit. Please try the attached
> > patch, it should fix the problem.
> 
> Fixed it for me as well, thanks! Can this fix be pushed upstream now?
> The lack of repeat was a real pain.
> 

Heh, that means noone but me uses softrepeat option, I didn't even notice
it was broken. ;)

I already sent pull request to Linus so you should see it soon.
 
-- 
Dmitry

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-06-28 11:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-27 14:27 broken auto-repeat on PS/2 keyboard Paolo Ornati
2006-06-27 17:34 ` Dmitry Torokhov
2006-06-28  7:29   ` Paolo Ornati
2006-06-28 11:36   ` Jean Delvare
2006-06-28 11:48     ` Paolo Ornati
2006-06-28 11:50     ` Dmitry Torokhov
  -- strict thread matches above, loose matches on Subject: below --
2006-06-27 21:37 Daniel Ritz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox