make 2.4 shut up about "can't emulate rawmode for keycode 272" with logitech cordless mice
PATCH 1/1 make 2.4 shut up about "can't emulate rawmode for keycode 272" with logitech cordless mice
Hi
Could you please apply this patch to 2.4. It fixes a very annoying problem with logitech wireless keyboard/mouse combinations. Every time a mouse button is pressed the message
keyboard.c: can't emulate rawmode for keycode 272
appears on the console, which is somewhat annoying especially if you want to use gpm. For 2.5 this has been fixed by the patch in
http://www.cs.helsinki.fi/linux/linux-kernel/2003-06/0754.html,
Here's a similar patch for 2.4, which fixes the problem for me.
drivers/input/keybdev.c renamed from drivers/input/keybdev.c.orig +2 -1
@@ -172,7 +172,8 @@if (type !=EV_KEY )return ;if (emulate_raw (code, down)) -printk (KERN_WARNING "keyboard.c: can't emulate rawmode for keycode %d\n" , code); +if (code <BTN_MISC ) +printk (KERN_WARNING "keybdev.c: can't emulate rawmode for keycode %d\n" , code);tasklet_schedule (&keyboard_tasklet); }
Signature · 1 line
Pekka Pietikainen
Marcelo Tosatti
AppliedQuoted 6 lines · Pekka Pietikainen
Hi
Could you please apply this patch to 2.4. It fixes a very annoying problem with logitech wireless keyboard/mouse combinations. Every time a mouse button is pressed the message
Quoted 6 lines
keyboard.c: can't emulate rawmode for keycode 272appears on the console, which is somewhat annoying especially if you want to use gpm. For 2.5 this has been fixed by the patch in
http://www.cs.helsinki.fi/linux/linux-kernel/2003-06/0754.html,
Here's a similar patch for 2.4, which fixes the problem for me.
Applied,
Thanks pp.