Re: keyboard.c: Stop flooding dmesg with useless warnings

2007-03-25 Thread Parag Warudkar
On 3/25/07, Jiri Kosina <[EMAIL PROTECTED]> wrote: First, is there any specific kernel version where this started to happen to you, or is this long-standing bug you have been experiencing with older kernels too? I am not sure about specific kernel version but I think this (2.6.20) is the first

Re: keyboard.c: Stop flooding dmesg with useless warnings

2007-03-25 Thread Jiri Kosina
On Sun, 25 Mar 2007, Parag Warudkar wrote: > > > Yes this is a USB keyboard. Any hint as to where I should start > > > looking to make the driver not emit input event for keycode==0? > > Was it always doing that? I'll add Jiri Kosina to the CC list as he's > > involved with HID now. > Something

Re: keyboard.c: Stop flooding dmesg with useless warnings

2007-03-25 Thread Jiri Kosina
On Sun, 25 Mar 2007, Parag Warudkar wrote: Yes this is a USB keyboard. Any hint as to where I should start looking to make the driver not emit input event for keycode==0? Was it always doing that? I'll add Jiri Kosina to the CC list as he's involved with HID now. Something (some

Re: keyboard.c: Stop flooding dmesg with useless warnings

2007-03-25 Thread Parag Warudkar
On 3/25/07, Jiri Kosina [EMAIL PROTECTED] wrote: First, is there any specific kernel version where this started to happen to you, or is this long-standing bug you have been experiencing with older kernels too? I am not sure about specific kernel version but I think this (2.6.20) is the first

Re: keyboard.c: Stop flooding dmesg with useless warnings

2007-03-24 Thread Parag Warudkar
On 3/25/07, Dmitry Torokhov <[EMAIL PROTECTED]> wrote: On Sunday 25 March 2007 01:27, Parag Warudkar wrote: > > > > Actually the keyboard driver should not emit input events for that key code. > > Is this a USB keyboard? > > > > -- > > Dmitry > > > > Yes this is a USB keyboard. > > Any hint as

Re: keyboard.c: Stop flooding dmesg with useless warnings

2007-03-24 Thread Dmitry Torokhov
On Sunday 25 March 2007 01:27, Parag Warudkar wrote: > > > > Actually the keyboard driver should not emit input events for that key code. > > Is this a USB keyboard? > > > > -- > > Dmitry > > > > Yes this is a USB keyboard. > > Any hint as to where I should start looking to make the driver not >

Re: keyboard.c: Stop flooding dmesg with useless warnings

2007-03-24 Thread Parag Warudkar
Actually the keyboard driver should not emit input events for that key code. Is this a USB keyboard? -- Dmitry Yes this is a USB keyboard. Any hint as to where I should start looking to make the driver not emit input event for keycode==0? Parag - To unsubscribe from this list: send the

Re: keyboard.c: Stop flooding dmesg with useless warnings

2007-03-24 Thread Dmitry Torokhov
On Saturday 24 March 2007 23:38, Parag Warudkar wrote: > > > > > Signed-off-by: Parag Warudkar <[EMAIL PROTECTED]> > > > > --- linux-2.6-wk/drivers/char/keyboard.c2007-03-24 23:01:19.0 > > -0400 > > +++ linux-2.6/drivers/char/keyboard.c 2007-03-24 21:43:58.0 > > -0400

Re: keyboard.c: Stop flooding dmesg with useless warnings

2007-03-24 Thread Parag Warudkar
Signed-off-by: Parag Warudkar <[EMAIL PROTECTED]> --- linux-2.6-wk/drivers/char/keyboard.c 2007-03-24 23:01:19.0 -0400 +++ linux-2.6/drivers/char/keyboard.c 2007-03-24 21:43:58.0 -0400 @@ -1161,7 +1161,7 @@ if ((raw_mode = (kbd->kbdmode == VC_RAW)) && !hw_raw)

keyboard.c: Stop flooding dmesg with useless warnings

2007-03-24 Thread Parag Warudkar
I use Apple keyboard and mouse which seem to generate events with keycode==0. keyboard.c floods dmesg endlessly with below messages. This happens at a very fast rate and never stops, leaving the dmesg unusable. [46591.96] keyboard.c: can't emulate rawmode for keycode 0 [46591.996000]

keyboard.c: Stop flooding dmesg with useless warnings

2007-03-24 Thread Parag Warudkar
I use Apple keyboard and mouse which seem to generate events with keycode==0. keyboard.c floods dmesg endlessly with below messages. This happens at a very fast rate and never stops, leaving the dmesg unusable. [46591.96] keyboard.c: can't emulate rawmode for keycode 0 [46591.996000]

Re: keyboard.c: Stop flooding dmesg with useless warnings

2007-03-24 Thread Parag Warudkar
Signed-off-by: Parag Warudkar [EMAIL PROTECTED] --- linux-2.6-wk/drivers/char/keyboard.c 2007-03-24 23:01:19.0 -0400 +++ linux-2.6/drivers/char/keyboard.c 2007-03-24 21:43:58.0 -0400 @@ -1161,7 +1161,7 @@ if ((raw_mode = (kbd-kbdmode == VC_RAW)) !hw_raw)

Re: keyboard.c: Stop flooding dmesg with useless warnings

2007-03-24 Thread Dmitry Torokhov
On Saturday 24 March 2007 23:38, Parag Warudkar wrote: Signed-off-by: Parag Warudkar [EMAIL PROTECTED] --- linux-2.6-wk/drivers/char/keyboard.c2007-03-24 23:01:19.0 -0400 +++ linux-2.6/drivers/char/keyboard.c 2007-03-24 21:43:58.0 -0400 @@ -1161,7

Re: keyboard.c: Stop flooding dmesg with useless warnings

2007-03-24 Thread Parag Warudkar
Actually the keyboard driver should not emit input events for that key code. Is this a USB keyboard? -- Dmitry Yes this is a USB keyboard. Any hint as to where I should start looking to make the driver not emit input event for keycode==0? Parag - To unsubscribe from this list: send the

Re: keyboard.c: Stop flooding dmesg with useless warnings

2007-03-24 Thread Dmitry Torokhov
On Sunday 25 March 2007 01:27, Parag Warudkar wrote: Actually the keyboard driver should not emit input events for that key code. Is this a USB keyboard? -- Dmitry Yes this is a USB keyboard. Any hint as to where I should start looking to make the driver not emit input event

Re: keyboard.c: Stop flooding dmesg with useless warnings

2007-03-24 Thread Parag Warudkar
On 3/25/07, Dmitry Torokhov [EMAIL PROTECTED] wrote: On Sunday 25 March 2007 01:27, Parag Warudkar wrote: Actually the keyboard driver should not emit input events for that key code. Is this a USB keyboard? -- Dmitry Yes this is a USB keyboard. Any hint as to where I should